3.9.2 Mapping with DD
The following table describes the correspondence between the HITACHI Servlet Property file and the Deployment Descriptor:
|
HITACHI Servlet Property File |
Deployment Descriptor |
|||||||
|---|---|---|---|---|---|---|---|---|
|
Tag name |
Occurrence pattern |
Tag name |
Occurrence pattern |
|||||
|
<hitachi-servlet-property> |
Once |
<web-app> |
Once |
|||||
|
-- |
-- |
(Omitted) |
-- |
|||||
|
-- |
-- |
<servlet> |
Zero or more times |
|||||
|
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||
|
<display-name> |
One or more times |
<display-name> |
Zero or more times |
|||||
|
-- |
-- |
<servlet-name> |
Once |
|||||
|
<icon> |
Zero or more times |
<icon> |
Zero or more times |
|||||
|
<small-icon> |
Zero or once |
<small-icon> |
Zero or once |
|||||
|
<large-icon> |
Zero or once |
<large-icon> |
Zero or once |
|||||
|
-- |
-- |
<servlet-class># |
Once |
|||||
|
-- |
-- |
<jsp-file># |
Once |
|||||
|
<init-param> |
Zero or more times |
<init-param> |
Zero or more times |
|||||
|
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||
|
<param-name> |
Once |
<param-name> |
Once |
|||||
|
<param-value> |
Once |
<param-value> |
Once |
|||||
|
<load-on-startup> |
Zero or once |
<load-on-startup> |
Zero or once |
|||||
|
<run-as> |
Zero or once |
<run-as> |
Zero or once |
|||||
|
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||
|
<role-name> |
Once |
<role-name> |
Once |
|||||
|
<security-role-ref> |
Zero or more times |
<security-role-ref> |
Zero or more times |
|||||
|
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||
|
<role-name> |
Once |
<role-name> |
Once |
|||||
|
<role-link> |
Zero or once |
<role-link> |
Zero or once |
|||||
|
-- |
-- |
<servlet-mapping> |
Zero or more times |
|||||
|
-- |
-- |
<servlet-name> |
Once |
|||||
|
<url-pattern> |
Zero or more times |
<url-pattern> |
One or more times |
|||||
|
-- |
-- |
(Omitted) |
-- |
|||||
|
-- |
-- |
-- |
-- |
|||||
- Legend:
-
--: No corresponding tag. Alternatively, the description of the occurrence pattern is omitted because the corresponding tag does not exist or the tag is omitted.
(Omitted): The tag is omitted.
- #
-
Specify either <servlet-class> or <jsp-file>.