+

Search Tips   |   Advanced Search

Initial parameters for servlets settings

Specify initial parameters 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 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.

From the admin console, click...

        Applications > Application Types > WebSphere 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

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 Application Programming Interface (API). We must package servlets in a Web archive (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

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:

  • Servlets
  • Web modules
  • Install enterprise application files with the console
  • Configure enterprise application files
  • Enterprise application settings
  • web.xml file