Operating Systems: i5/OS
             Personalize the table of contents and search results

 

Initial parameters for servlets settings

 

Use this page to specify initial parameters that are passed to the init method of Web module servlet filters. You can specify initial parameter values for servlets in Web modules during or after installation of an application onto a WebSphere Application Server deployment target. The <param-value> values specified in <init-param> statements in the web.xml file of Web modules are used by default.

To view this administrative console page, click Applications > Enterprise Applications > application_name > Init parameters for servlets. This page is the same as the Init parameters for servlets in each Web module panel on the application installation and update wizards.

Module

Specifies the name of a module in the application that you are installing or that you are viewing after installation.

URI

Location of the module relative to the root of the application (EAR file).

Servlet

Specifies a unique name for the servlet within the application.

A servlet is a Java program that uses the Java Servlet Application Programming Interface (API). You must package servlets in a WAR file or Web module for deployment to an application server. Servlets run on a Java-enabled Web server and extend the capabilities of a Web server, similar to the way applets run on a browser and extend the capabilities of a browser.

Name

Specifies the name of the initial parameter passed to the init method of the Web module servlet filter.

The following example servlet filter statement in a web.xml file specifies an initial parameter name of attribute:

<init-param>
   <param-name>attribute</param-name>
   <param-value>tests.Filter.DoFilter_Filter.SERVLET_MAPPED</param-value>
</init-param>

Value

Specifies the value assigned to an initial parameter passed to the init method of the Web module servlet filter.

The following example servlet filter statement in a web.xml file specifies an initial parameter value of tests.Filter.DoFilter_Filter.SERVLET_MAPPED for the init parameter attribute:

<init-param>
   <param-name>attribute</param-name>
   <param-value>tests.Filter.DoFilter_Filter.SERVLET_MAPPED</param-value>
</init-param>

Description

Specifies information on the initial parameter.




 

Related concepts


Servlets
Web modules

 

Related tasks


Installing application files with the console
Configuring J2EE applications

 

Related Reference

Enterprise application settings
web.xml file

 

Reference topic