Home > Ask the AS/400 Experts > Questions & Answers > Passing runtime/dynamic parms
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Passing runtime/dynamic parms

Jim Mason EXPERT RESPONSE FROM: Jim Mason

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
>
QUESTION POSED ON: 12 May 2004
Are there any recommended ways to pass runtime/dynamic parms to either the initial display of a WebFaced applications or to the program itself?

We are working with iSeries WDSC 5.1 to WebFace some simple inquiry applications. We do not have the portal product, but still want some simple integration between our existing Web-based PC application and the WebFaced inquiries. For example, one inquiry has two screens only; a prompt for a product ID, and a subfile screen to display the results. In test, I tried setting the initial value of the prompt field to:

<%= request.getParameter("prodname") %> and extending the URL request (e.g.):
  http://localhost:7080/ATSINQUIRY/WFLogon?inv=INV1&turnCacheOff=1083593749814?prodname=L9999999 

This just stuck "null" into the product field on the prompt screen (as though it tried to get the parm, but it wasn't available.) Also, I didn't see any way to change the CL command on the fly either.


>
It sounds like you had the right idea on setting the initial value of a field on a WebFaced screen. You're problem might have been the input form method (GET or POST) used for the "pre-WebFacing" form didn't match how the data was passed in originally.

A clean way is to have the first Web application set a session variable that is accessed by the WebFaced JSP page.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Check out these Best Web Links on Web development.

Ask the Experts yourself: Our Web development gurus are waiting to answer your questions.

Ask your Web development & WebSphere questions -- or help out your peers by answering them--in our WebSphere & Web Development Forum.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts