| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

「Struts2 設定ファイル」の版間の差分

提供: MyMemoWiki
ナビゲーションに移動 検索に移動
(ページの作成:「==Struts2 設定ファイル== [Struts2][XWork2] {{amazon|4839928444}} http://struts.apache.org/2.x/docs/configuration-files.html {|class="wikitable" !ファイル…」)
 
1行目: 1行目:
 
==Struts2 設定ファイル==
 
==Struts2 設定ファイル==
[Struts2][XWork2]
+
[[Struts2][XWork2]]
 
{{amazon|4839928444}}
 
{{amazon|4839928444}}
 
http://struts.apache.org/2.x/docs/configuration-files.html
 
http://struts.apache.org/2.x/docs/configuration-files.html

2020年2月15日 (土) 08:06時点における版

Struts2 設定ファイル

[[Struts2][XWork2]]

http://struts.apache.org/2.x/docs/configuration-files.html

ファイル名 必須 webappからの相対位置 使用目的
web.xml はい /WEB-INF/ 配備記述子にフレームワークのコンポーネントを行う。
struts.xml いいえ /WEB-INF/classes/ 主設定ファイル。result/view タイプ、action mappings、interceptors等を含む。
struts.properties いいえ /WEB-INF/classes/ フレームワークプロパティ
struts-default.xml いいえ /WEB-INF/lib/struts2-core.jar Strutsが提供するデフォルトの設定ファイル。
struts-default.vm いいえ /WEB-INF/classes/ velocity.propertiesから参照されるデフォルトマクロ。
struts-plugin.xml いいえ At the root of a plugin JAR プラグイン用オプション設定ファイル。フォーマットは struts.xml と同一。
velocity.properties いいえ /WEB-INF/classes/ デフォルトのVelocity設定を上書きする。