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:

  1. In the Explorer window right-click the JSP file or servlet file and choose properties from the contextual menu.
  2. Click the ellipsis button (...) in the Request Parameters property to open the property editor.
  3. In the property editor, type the parameters as parameter-value pairs (that is, parameter1=value1 & parameter2=value2).
  4. Click OK.

The parameters are passed automatically to that JSP or servlet the next time it is executed.

See also
Creating a JSP or Servlet Source File
Editing a JSP or Servlet Source File
Executing JSP and Servlet Files

Legal Notices