Specifying JSP or Servlet Query Parameters

You can specify or enter request parameters to be passed to a compiled JSP page or servet when it is run. 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:

  1. In the Explorer, click the Filesystems tab and select your JSP or servlet file.
  2. From the main menu bar, choose View and choose Properties to open the Properties window.
  3. Click the Execution tab of the Properties window, and click the Request Parameters value field to make it editable.
  4. Click the ellipsis (...) button to open the Request Parameters Property Editor.
  5. In the property editor, 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 property editor.
  7. The request parameters are passed automatically to that JSP or servlet the next time it is run.
See also
Creating a JSP or Servlet Source File
Editing a JSP or Servlet Source File
Compiling a JSP Source File
Running a JSP or Servlet File

Legal Notices