詳解Structs2.0的設定檔propertits

來源:互聯網
上載者:User

struts.action.extension

The URL extension to use to determine if the request is meant for a Struts

action

用URL副檔名來確定是否這個請求是被用作Struts action,其實也就是設定 action的尾碼,例如login.do的'do'字。

struts.configuration
The org.apache.struts2.config.Configuration implementation class
org.apache.struts2.config.Configuration介面名
struts.configuration.files
A list of configuration files automatically loaded by Struts

struts自動載入的一個設定檔列表

struts.configuration.xml.reload

Whether to reload the XML configuration or not

是否載入xml配置(true,false)

struts.continuations.package

The package containing actions that use Rife continuations

含有actions的完整連續的package名稱

struts.custom.i18n.resources

Location of additional localization properties files to load

載入附加的國際化屬性檔案(不包含。properties尾碼)

struts.custom.properties

Location of additional configuration properties files to load

載入附加的設定檔的位置

struts.devMode

Whether Struts is in development mode or not

是否為struts開發模式

struts.dispatcher.parametersWorkaround

Whether to use a Servlet request parameter workaround essary for some versions of WebLogic

(某些版本的weblogic專用)是否使用一個servlet請求參數工作區(PARAMETERSWORKAROUND)

struts.enable.DynamicMethodInvocation

Allows one to disable dynamic method invocation from the URL

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.