Hitachi

uCosminexus Application Server Application and Resource Definition Reference Guide


2.2.8 Details of the Servlet property

This subsection describes the details of the Servlet property of cosminexus.xml with reference to each tag.

Note that the tag details are described in the order mentioned in 2.1 Specifications of the Cosminexus application property file (cosminexus.xml).

Organization of this subsection

(1) <servlet>

Description

This tag defines the Servlet.

You cannot specify this tag when web.xml is not included.

Specifiable value

None.

Dependency on other tags

None.

Tag omission

You can omit this tag.

Value omission

You cannot omit the value of this tag.

(2) <servlet-name>

Description

This is a key for identifying the Servlet.

This tag specifies the set value of <web-app>-<servlet>-<servlet-name> in the web.xml file.

Specifiable value

There are no limitations for the input value.

Dependency on other tags

None.

Tag omission

You cannot omit this tag.

Value omission

You cannot omit the value of this tag.

(3) <run-as>

Description

This tag defines the runtime identity.

Specifiable value

None.

Dependency on other tags

None.

Tag omission

You can omit this tag.

Value omission

You cannot omit the value of this tag.

(4) <user-name>

Description

This tag specifies the user name.

Specifiable value

There are no limitations for the input value.

Dependency on other tags

None.

Tag omission

You cannot omit this tag.

Value omission

You cannot omit the value of this tag.

(5) <method-observation-timeout>

Description

This tag specifies the timeout value (seconds) for monitoring the service method of a servlet or the _jspService method of the JSP invoked by extending a request.

When you specify 0, a timeout does not occur.

Specifiable value

Specify an integer value from 0 to 86400.

Dependency on other tags

None.

Tag omission

You can omit this tag.

Value omission

You cannot omit the value of this tag.