Interstage Application Server J2EE ユーザーズガイド |
目次
索引
![]() ![]() |
第7部 ツール編 | > 第48章 J2EE Deployment ツール |
Webアプリケーション(WARファイル)のdeployment descriptor(web.xml)のカストマイズの手順を以下に示します。
[プライマリウィンドウ]の[ファイル]メニューの[開く]で編集対象のdeployment descriptorを含むEARファイルを開きます。
画面上に表示されたdeployment descriptorの各項目を必要に応じて編集します。
編集した内容を保存したい場合は[プライマリウィンドウ]の[ファイル]メニューの[保存](または[別名で保存])で保存します。
また、ここで編集したdeployment descriptorの情報を使用して配備を行う場合は、[プライマリウィンドウ]の[ツール]メニューの[配備]で配備を行う事ができます。
配備の詳細については、“J2EEアプリケーション(EARファイル)の配備”を参照してください。
J2EE Deploymentツールでカストマイズすることができるweb.xmlのタグを次の表に示します。
タグ名 |
アプリケーション |
タブ/画面名 |
項目名 |
編集 |
---|---|---|---|---|
web-app |
|
|
|
|
context-param |
|
|
|
|
param-name |
Webアプリケーション |
コンテキストタブ |
パラメタ名 |
○ |
param-value |
Webアプリケーション |
コンテキストタブ |
パラメタ値 |
○ |
servlet |
|
|
|
|
servlet-name |
Servlet/JSP |
一般タブ |
Webコンポーネント名 |
○ |
servlet-class |
Servlet |
一般タブ |
Servlet Class |
参照のみ |
jsp-file |
JSP |
一般タブ |
JSPファイル名 |
参照のみ |
init-param |
|
|
|
|
param-name |
Servlet/JSP |
初期化パラメタタブ |
パラメタ名 |
○ |
param-value |
Servlet/JSP |
初期化パラメタタブ |
パラメタ値 |
○ |
load-on-startup |
Servlet/JSP |
一般タブ |
ロード順序 |
○ |
security-role-ref |
|
|
|
|
role-name |
Servlet/JSP |
参照セキュリティタブ |
セキュリティロール名 |
参照のみ |
role-link |
Servlet/JSP |
参照セキュリティタブ |
コード化セキュリティロール名 |
参照のみ |
servlet-mapping |
|
|
|
|
servlet-name |
Servlet/JSP |
一般タブ |
Webコンポーネント名 |
○ |
url-pattern |
Servlet/JSP |
エイリアスタブ |
エイリアス |
○ |
session-config |
|
|
|
|
session-timeout |
Webアプリケーション |
一般タブ−拡張設定ボタン−拡張設定画面 |
セッションタイムアウト時間(分) |
○ |
mime-mapping |
|
|
|
|
extension |
Webアプリケーション |
一般タブ−拡張設定ボタン−拡張設定画面 |
拡張子 |
○ |
mime-type |
Webアプリケーション |
一般タブ−拡張設定ボタン−拡張設定画面 |
MIMEタイプ |
○ |
welcome-file-list |
|
|
|
|
welcome-file |
Webアプリケーション |
ファイル参照タブ |
Welcome Files |
○ |
error-page |
|
|
|
|
error-code |
Webアプリケーション |
ファイル参照タブ |
HTTPエラーコード |
○ |
exception-type |
Webアプリケーション |
ファイル参照 |
例外タイプ |
○ |
location |
Webアプリケーション |
ファイル参照タブ |
リソース |
○ |
taglib |
|
|
|
|
taglib-uri |
Webアプリケーション |
ファイル参照タブ |
タグライブラリURI |
○ |
taglib-location |
Webアプリケーション |
ファイル参照タブ |
TLDファイル名 |
○ |
resource-ref |
|
|
|
|
res-ref-name |
Webアプリケーション |
参照リソースタブ |
リソースマネージャー名 |
○ |
res-type |
Webアプリケーション |
参照リソースタブ |
クラス/インタフェース名 |
○ |
res-auth |
Webアプリケーション |
参照リソースタブ |
リソース接続者 |
○ |
security-constraint |
|
|
|
|
web-resource-collection |
|
|
|
|
web-resource-name |
Webアプリケーション |
セキュリティタブ |
Webリソースコレクション |
参照のみ |
url-pattern |
Webアプリケーション |
セキュリティタブ |
参照のみ |
|
http-method |
Webアプリケーション |
セキュリティタブ |
参照のみ |
|
auth-constraint |
|
|
|
|
role-name |
Webアプリケーション |
セキュリティタブ |
許可ロール |
参照のみ |
user-data-constraint |
|
|
|
|
transport-guarantee |
Webアプリケーション |
セキュリティタブ |
転送方法 |
参照のみ |
login-config |
|
|
|
|
auth-method |
Webアプリケーション |
セキュリティタブ |
ユーザ認証方法 |
参照のみ |
realm-name |
Webアプリケーション |
セキュリティタブ−設定内容ボタン−ユーザ認証設定画面 |
HTTP Basic認証で使用する領域名 |
参照のみ |
form-login-config |
|
|
|
|
form-login-page |
Webアプリケーション |
セキュリティタブ−設定内容ボタン−ユーザ認証設定画面 |
フォームベース認証で使用するログインページ |
参照のみ |
form-error-page |
Webアプリケーション |
セキュリティタブ−設定内容ボタン−ユーザ認証設定画面 |
フォームベース認証失敗時に表示するエラーページ |
参照のみ |
security-role |
|
|
|
|
role-name |
Webアプリケーション |
セキュリティロールタブ |
セキュリティロール名 |
参照のみ |
env-entry |
|
|
|
|
env-entry-name |
Webアプリケーション |
環境プロパティタブ |
プロパティ名 |
○ |
env-entry-value |
Webアプリケーション |
環境プロパティタブ |
値 |
○ |
env-entry-type |
Webアプリケーション |
環境プロパティタブ |
型 |
○ |
ejb-ref |
|
|
|
|
ejb-ref-name |
Webアプリケーション |
参照EJBタブ |
Enterprise Beanの参照名 |
○ |
ejb-ref-type |
Webアプリケーション |
参照EJBタブ |
Enterprise Bean種別 |
○ |
home |
Webアプリケーション |
参照EJBタブ |
Homeインタフェース名 |
○ |
remote |
Webアプリケーション |
参照EJBタブ |
Remoteインタフェース名 |
○ |
ejb-link |
Webアプリケーション |
参照EJBタブ |
Enterprise Bean名 |
○ |
resource-env-ref |
|
|
|
|
resource-env-ref-name |
Webアプリケーション |
参照環境リソースタブ |
リソースマネージャー名 |
○ |
resource-env-ref-type |
Webアプリケーション |
参照環境リソースタブ |
クラス/インタフェース名 |
○ |
filter |
|
|
|
|
display-name |
Webアプリケーション |
フィルタタブ |
フィルタ表示名 |
○ |
filter-class |
Webアプリケーション |
フィルタタブ |
フィルタクラス |
○ |
init-param |
|
|
|
|
init-param |
Webアプリケーション |
フィルタタブ |
コード |
○ |
param-value |
Webアプリケーション |
フィルタタブ |
値 |
○ |
filter-mapping |
|
|
|
|
filter-name |
Webアプリケーション |
フィルタマッピングタブ |
フィルタ名 |
|
servlet-name |
Webアプリケーション |
フィルタマッピングタブ |
値 |
○ |
url-pattern |
Webアプリケーション |
フィルタマッピングタブ |
値 |
○ |
listener |
|
|
|
|
listener-class |
Webアプリケーション |
イベントリスナータブ |
イベントリスナークラス |
○ |
目次
索引
![]() ![]() |