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:

  1. In the IDE Explorer, click the Filesystems tab and locate your JSP file.

  2. From the IDE main menubar, select View Properties to open the Properties Window.

  3. Click the Execution tab of the Properties Window, then the Request Parameters value field to make it editable.

  4. Click the ellipsis (...) button to open a text box where request parameters can be entered.

  5. In the textbox, type in the request parameters as parameter-value pairs (that is, parameter1=value1 & parameter2=value2).

  6. When you have completed the entry of request parameters, click OK to save the entries and close the textbox.

  7. The request parameters will be passed automatically to that JSP the next time it is run.
See also
Creating a JSP Source File
Editing a JSP Source File
Compiling a JSP Source File
Running a JSP Page

Legal Notices