iAS Params (Servlets)

You use the iAS Params tab to validate servlet parameters (for example fields on a HTML form) and is used when the Validation Required box is checked on the iAS tab. A typical request-reponse cycle goes through several phases, the first of which is the checking required to ensure that the user has supplied all the correct input, and that the user is properly authenticated for the requested access. Note that this validation is not for complex validation such as credit checks.

The validation scheme needs a URL to call when errors have been accumulated. This is done on the Error Handler fields on the iAS tab.

Field/Column

Explanation

Name

The name of the parameter to be validated.

Required

Set to true to specify that is parameter is to be validated.

Input Validation

Enter the class and method to call in that class to determine the validity of the parameter. Exposing the class:method pairs for validation gives you the ability to add reusable validation components.

Format

Enter the format for validation (for example String).

Scope

Set the scope of validation to Session or Servlet.

Error Handler

Defines how error should be handled as follows:

Java Server Page URL

Servlet

Log and continue setting (store failure but continue validation). In this case, the error handler specified on the iAS tab will be used.

New Parameter button

Click to add a new row to the iAS Parameters table.

Delete Parameter button

Click to remove the selected from the iAS Parameters table.

See also
  Using the iPlanet Application Server Customizer


Legal Notices