Specifying JSP or Servlet Query Parameters
You can specify or enter request parameters to be passed to a compiled JSP page
or servlet when it is executed. Specifying input data in this fashion provides
a useful aid in testing for expected JSP or servlet output.
To specify query parameters for a JSP page or servlet:
- In the Explorer, click the Filesystems tab and select your JSP or servlet
file.
- From the main menu bar, choose View
Properties to open the Properties window.
- Click the Execution tab of the Properties window, and click the Request
Parameters value field to make it editable.
- Click the ellipsis (...) button to open the Request Parameters property editor.
- In the property editor, 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 property editor.
The request parameters are passed automatically to that JSP or servlet the next
time it is executed.
Legal Notices