Specifying JSP Query Parameters
You can create request parameters to be passed to a compiled
JSP page when it is run. Specifying input data in this fashion
provides a useful aid in testing for expected JSP output.
To specify query parameters for a JSP page:
- In the IDE Explorer, click the Filesystems tab and locate your
JSP file.
- From the IDE main menubar, select View
Properties to open the Properties Window.
- Click the Execution tab of the Properties Window, then the
Request Parameters value field to make it editable.
- Click the
ellipsis (...) button to open a text box where request parameters can
be entered.
- In the textbox, type in the request parameters as parameter-value
pairs (that is, parameter1=value1 &
parameter2=value2).
- When you have completed the entry of request parameters, click OK
to save the entries and close the textbox.
The request parameters will be passed
automatically to that JSP the next time it is run.
Legal Notices