Cosminexus リファレンス 定義編

[目次][索引][前へ][次へ]

5.8.2 DDとの対応

WAR属性ファイルとDeployment Descriptorの対応を次に示します。

WAR属性ファイル Deployment Descriptor
タグ名 出現パターン タグ名 出現パターン
<hitachi-war-property> 1回 <web-app> 1回

<description> 0回以上
<description> 0回以上

<display-name> 1回以上
<display-name> 0回以上

<icon> 0回以上
<icon> 0回以上


<small-icon> 0または1回

<small-icon> 0または1回

<large-icon> 0または1回
<large-icon> 0または1回

<distributable> 0または1回
<distributable> 0回以上

<context-param> 0回以上
<context-param> 0回以上


<description> 0回以上

<description> 0回以上


<param-name> 1回

<param-name> 1回

<param-value> 1回
<param-value> 1回

<filter-mapping> 0回以上
<filter-mapping> 0回以上


<filter-name> 1回

<filter-name> 1回


<url-pattern>※1 1回

<url-pattern>※1 1回


<servlet-name>※1 1回

<servlet-name>※1 1回

<dispatcher> 0または4回以下
<dispatcher> 0または4回以下

<listener> 0回以上
<listener> 0回以上


<description> 0回以上

<description> 0回以上


<display-name> 0回以上

<display-name> 0回以上


<icon> 0回以上

<icon> 0回以上



<small-icon> 0または1回


<small-icon> 0または1回


<large-icon> 0または1回

<large-icon> 0または1回

<listener-class> 1回
<listener-class> 1回




(省略)

<session-config> 0回以上
<session-config> 0回以上

<session-timeout> 0または1回
<session-timeout> 0または1回

<mime-mapping> 0回以上
<mime-mapping> 0回以上


<extension> 1回

<extension> 1回

<mime-type> 1回
<mime-type> 1回

<welcome-file-list> 0回以上
<welcome-file-list> 0回以上

<welcome-file> 1回以上
<welcome-file> 1回以上

<error-page> 0回以上
<error-page> 0回以上


<error-code> 1回※2

<error-code> 1回※2


<exception-type> 1回※2

<exception-type> 1回※2

<location> 1回
<location> 1回

<jsp-config> 0回以上
<jsp-config> 0回以上


<taglib> 0回以上

<taglib> 0回以上



<taglib-uri> 1回


<taglib-uri> 1回


<taglib-location> 1回

<taglib-location> 1回

<jsp-property-group> 0回以上
<jsp-property-group> 0回以上

 
<description> 0回以上
 
<description> 0回以上

 
<display-name> 0回以上
 
<display-name> 0回以上

 
<icon> 0回以上
 
<icon> 0回以上

 

<small-icon> 0または1回
 

<small-icon> 0または1回

 
<large-icon> 0または1回
 
<large-icon> 0または1回

 
<url-pattern> 1回以上
 
<url-pattern> 1回以上

 
<el-ignored> 0または1回
 
<el-ignored> 0または1回

 
<page-encoding> 0または1回
 
<page-encoding> 0または1回

 
<scripting-invalid> 0または1回
 
<scripting-invalid> 0または1回

 
<is-xml> 0または1回
 
<is-xml> 0または1回

 
<include-prelude> 0回以上
 
<include-prelude> 0回以上

  <inclede-coda> 0回以上
  <inclede-coda> 0回以上

<taglib> 1回
<taglib> 1回


<taglib-uri> 1回

<taglib-uri> 1回

<taglib-location> 1回
<taglib-location> 1回

<security-constraint> 0回以上
<security-constraint> 0回以上


<display-name> 0回以上

<display-name> 0回以上


<web-resource-collection> 1回以上

<web-resource-collection> 1回以上



<description> 0回以上


<description> 0回以上



<web-resource-name> 1回


<web-resource-name> 1回



<url-pattern> 0回以上


<url-pattern> 1回以上


<http-method> 0回以上

<http-method> 0回以上


<auth-constraint> 0または1回

<auth-constraint> 0または1回



<description> 0回以上


<description> 0回以上


<role-name> 0回以上

<role-name> 0回以上


<user-data-constraint> 0または1回
<user-data-constraint> 0または1回



<description> 0回以上
 
<description> 0回以上


<transport-guarantee> 1回
  <transport-guarantee> 1回

<original-name> 1回
 

<login-config> 0回以上
<login-config> 0回以上


<auth-method> 0または1回

<auth-method> 0または1回


<realm-name> 0または1回

<realm-name> 0または1回

<form-login-config> 0または1回
<form-login-config> 0または1回

 
<form-login-page> 1回
 
<form-login-page> 1回

  <form-error-page> 1回
  <form-error-page> 1回

<security-role> 0回以上
<security-role> 0回以上


<description> 0回以上

<description> 0回以上


<role-name> 1回
<role-name> 1回

<linked-to> 0または1回
 

<env-entry> 0回以上
<env-entry> 0回以上


<description> 0回以上

<description> 0回以上


<env-entry-name> 1回

<env-entry-name> 1回


<env-entry-type> 1回

<env-entry-type> 1回


<env-entry-value> 1回
<env-entry-value> 0または1回

<injection-target> 0回以上
 

 
<injection-target-class> 1回
 

  <injection-target-name> 1回
 

<ejb-ref> 0回以上
<ejb-ref> 0回以上


<description> 0回以上

<description> 0回以上


<ejb-ref-name> 1回

<ejb-ref-name> 1回


<ejb-ref-type> 1回

<ejb-ref-type> 1回


<home> 1回

<home> 1回


<remote> 1回

<remote> 1回


<ejb-link> 0または1回
<ejb-link> 0または1回

<injection-target> 0回以上
 

 
<injection-target-class> 1回
 

  <injection-target-name> 1回
 

<ejb-local-ref> 0回以上
<ejb-local-ref> 0回以上


<description> 0回以上

<description> 0回以上


<ejb-ref-name> 1回

<ejb-ref-name> 1回


<ejb-ref-type> 1回

<ejb-ref-type> 1回


<local-home> 1回

<local-home> 1回


<local> 1回

<local> 1回


<ejb-link> 0または1回
<ejb-link> 0または1回

<injection-target> 0回以上
 

 
<injection-target-class> 1回
 

  <injection-target-name> 1回
 

<resource-ref> 0回以上
<resource-ref> 0回以上


<description> 0回以上

<description> 0回以上


<res-ref-name> 1回

<res-ref-name> 1回


<res-type> 1回

<res-type> 1回


<res-auth> 1回

<res-auth> 1回


<res-sharing-scope> 0または1回
<res-sharing-scope> 0または1回


<mapped-name> 0または1回
 


<injection-target> 0回以上
 



<injection-target-class> 1回
 


<injection-target-name> 1回
 

<linked-to> 0または1回
 

<resource-env-ref> 0回以上
<resource-env-ref> 0回以上


<description> 0回以上

<description> 0回以上


<resource-env-ref-name> 1回

<resource-env-ref-name> 1回


<resource-env-ref-type> 1回
<resource-env-ref-type> 1回


<mapped-name> 0または1回
 


<injection-target> 0回以上
 



<injection-target-class> 1回
 


<injection-target-name> 1回
 


<linked-queue> 0または1回
 



<resource-adapter> 1回
 


<queue> 1回
 

<linked-adminobject> 0または1回
 

 
<resourceadapter-name> 1回
 

  <adminobject-name> 1回
 

<locale-encoding-mapping-list> 0回以上 <locale-encoding-mapping-list> 0回以上

<locale-encoding-mapping> 1回以上   <locale-encoding-mapping> 1回以上

 
<locale> 1回    
<locale> 1回

  <encoding> 1回     <encoding> 1回
<runtime> 0または1回  
  <context-root> 1回  

(凡例)
−:対応するタグがありません。または,対応するタグがないか,タグを省略しているため,出現パターンの説明を省略しています。
(省略):タグを省略しています。

注※1
<url-pattern>と<servlet-name>のどちらか一つを指定します。

注※2
<error-code>と<exception-type>のどちらか一つを指定します。