+

Search Tips   |   Advanced Search

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 WAS 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 console page, click Applications > Enterprise Applications > application > 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 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

Specify 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 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

Specify 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

Specify information on the initial parameter.




 

Related concepts


Servlets
Web modules

 

Related tasks


Installing application files with the console
Configure J2EE applications

 

Related Reference

Enterprise application settings
web.xml file

 

Reference topic