+

Search Tips   |   Advanced Search

Initial parameters for servlets settings


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

To view this admin console page, click Applications > Application Types > WebSphere enterprise apps > 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

Name of a module in the application that we are installing or that we are viewing after installation.

URI

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

Servlet

Unique name for the servlet within the application.

A servlet is a Java™ program that uses the Java Servlet API. You must package servlets in a Web archive (WAR) file or Web module for deployment to an appserver. 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

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

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


Install enterprise application files with the console
Set enterprise application files

 

Related


Enterprise application settings
web.xml file