Struts2 設定項目
http://struts.apache.org/2.x/docs/struts-configuration-elements.html
Webアプリケーションが、"web.xml"を利用するのと同様に、Strutsフレームワークも以下の設定を行う設定ファイルを利用する。
- Interceptors : リクエストの 前/後 処理を担う
- Actionクラス : ビジネスロジックおよびデータアクセス
- Results : JSPやFreeMarkerテンプレートなどのviewのための準備
実行時には、1つのアプリケーションに1つの設定ファイルが対応する。実行の前に、ひとつ以上のXMLドキュメントに定義された設定が struts.xml に取り込まれる。そこで、いくつかの項目を設定することができる.
including packages, namespaces, includes, actions, results, interceptors, exceptions.
- Bean
- Constant
- Package
- Namespace
- Include
- Interceptor
- Action
- Result
- Exception
YAGI Hiroto (piroto@a-net.email.ne.jp)
twitter http://twitter.com/pppiroto
Copyright© 矢木 浩人 All Rights Reserved.