サーブレット属性ファイルとDeployment Descriptorの対応を次に示します。
サーブレット属性ファイル | Deployment Descriptor | |||||||
---|---|---|---|---|---|---|---|---|
タグ名 | 出現パターン | タグ名 | 出現パターン | |||||
<hitachi-servlet-property> | 1回 | <web-app> | 1回 | |||||
┃ | - | - | ┃ | (省略) | - | |||
┃ | - | - | ┣ | <servlet> | 0回以上 | |||
┣ | <description> | 0回以上 | ┃ | ┣ | <description> | 0回以上 | ||
┣ | <display-name> | 1回以上 | ┃ | ┣ | <display-name> | 0回以上 | ||
┃ | - | - | ┃ | ┣ | <servlet-name> | 1回 | ||
┣ | <icon> | 0回以上 | ┃ | ┣ | <icon> | 0回以上 | ||
┃ | ┣ | <small-icon> | 0または1回 | ┃ | ┃ | ┣ | <small-icon> | 0または1回 |
┃ | ┗ | <large-icon> | 0または1回 | ┃ | ┃ | ┗ | <large-icon> | 0または1回 |
┃ | - | - | ┃ | ┣ | <servlet-class>※ | 1回 | ||
┃ | - | - | ┃ | ┣ | <jsp-file>※ | 1回 | ||
┣ | <init-param> | 0回以上 | ┃ | ┣ | <init-param> | 0回以上 | ||
┃ | ┣ | <description> | 0回以上 | ┃ | ┃ | ┣ | <description> | 0回以上 |
┃ | ┣ | <param-name> | 1回 | ┃ | ┃ | ┣ | <param-name> | 1回 |
┃ | ┗ | <param-value> | 1回 | ┃ | ┃ | ┗ | <param-value> | 1回 |
┣ | <load-on-startup> | 0または1回 | ┃ | ┣ | <load-on-startup> | 0または1回 | ||
┣ | <run-as> | 0または1回 | ┃ | ┣ | <run-as> | 0または1回 | ||
┃ | ┣ | <description> | 0回以上 | ┃ | ┃ | ┣ | <description> | 0回以上 |
┃ | ┗ | <role-name> | 1回 | ┃ | ┃ | ┗ | <role-name> | 1回 |
┣ | <security-role-ref> | 0回以上 | ┃ | ┗ | <security-role-ref> | 0回以上 | ||
┃ | ┣ | <description> | 0回以上 | ┃ | ┃ | ┣ | <description> | 0回以上 |
┃ | ┣ | <role-name> | 1回 | ┃ | ┃ | ┣ | <role-name> | 1回 |
┃ | ┗ | <role-link> | 0または1回 | ┃ | ┃ | ┗ | <role-link> | 0または1回 |
┃ | - | - | ┗ | <servlet-mapping> | 0回以上 | |||
┃ | - | - | ┣ | <servlet-name> | 1回 | |||
┗ | <url-pattern> | 0回以上 | ┗ | <url-pattern> | 1回以上 | |||
- | - | (省略) | - | |||||
- | - | - | - | - | - | - | - | - |