Passing Parameters to a Web Module
You can pass request parameters (HTTP query string) to JSP pages and servlets
from the IDE. Specifying input data in this fashion provides a useful aid in testing
for expected JSP or servlet output.
To specify parameters for a JSP page or servlet:
- In the Explorer window right-click the JSP file or servlet file and choose
properties from the contextual menu.
- Click the ellipsis button (...) in the Request Parameters property to open
the property editor.
- In the property editor, type the parameters as parameter-value pairs (that
is, parameter1=value1 & parameter2=value2).
- Click OK.
The parameters are passed automatically to that JSP or servlet the next time
it is executed.
Legal Notices