社区应用 最新帖子 精华区 社区服务 会员列表 统计排行 社区论坛任务 迷你宠物
  • 3747阅读
  • 0回复

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Ha[Bf*  
q}*(rR9/Br  
struts.action.extension vCb3Ra~L`  
      The URL extension to use to determine if the request is meant for a Struts action 0 x4Xs  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]p\7s  
)U`6` &F  
struts.configuration \5_+6  
      The org.apache.struts2.config.Configuration implementation class 3 i Id>  
        org.apache.struts2.config.Configuration接口名 (]w_}E]N  
Dwj!B;AZ_  
struts.configuration.files x{*g^f  
      A list of configuration files automatically loaded by Struts kl?U 2A.=  
      struts自动加载的一个配置文件列表 re2M!m6k5  
4`I2tr  
struts.configuration.xml.reload A0m  
      Whether to reload the XML configuration or not :"5i/Cx  
      是否加载xml配置(true,false) ONH!ms(kb  
AME3hA  
struts.continuations.package )^qM%k8  
      The package containing actions that use Rife continuations cV\(Z6u  
      含有actions的完整连续的package名称 xdFm-_\-  
-y5^xR  
struts.custom.i18n.resources YiJnh47  
      Location of additional localization properties files to load }%c2u/PQ  
      加载附加的国际化属性文件(不包含.properties后缀) ^ |z|kc  
O:IU|INq8  
struts.custom.properties ai)S:2  
      Location of additional configuration properties files to load Ew5(U`]  
      加载附加的配置文件的位置 j1Fy'os"!  
b|^g51v  
umaF}}-Q{  
struts.devMode ]i(tou-[i  
      Whether Struts is in development mode or not '- oS=OrZ  
      是否为struts开发模式 :.e`w#$7  
N7Kq$G2O  
struts.dispatcher.parametersWorkaround 9]<p  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic i,r O3J n  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #k&"R v;,  
VCSHq&p8  
struts.enable.DynamicMethodInvocation {F6>XuS=u  
      Allows one to disable dynamic method invocation from the URL twv|,kM  
        允许动态方法调用 48hu=,)81*  
n+QUT   
struts.freemarker.manager.classname Ebw1 %W KC  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class cKJf0S:cx-  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 cXU8}>qY7  
@<=xfs  
struts.i18n.encoding Uy2NZ%rnt  
      The encoding to use for localization messages 4wjy)VD_  
      国际化信息内码 )h6hN"#V5  
|5oK04<  
struts.i18n.reload Px{Cvc  
      Whether the localization messages should automatically be reloaded c7UmR?m  
      是否国际化信息自动加载 V T8PV5z  
?oana%  
struts.locale gqV66xmJ3  
      The default locale for the Struts application *oopdGue  
      默认的国际化地区信息 B>Tfyo  
:)o 4fOJ8  
struts.mapper.class O=~8+sa  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class sU!h^N$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 7#d>a=$h  
Cuu yG8  
struts.multipart.maxSize *`2.WF@E)  
      The maximize size of a multipart request (file upload) =lT~  
      multipart请求信息的最大尺寸(文件上传用) I,TJV)B  
,cZhkXd  
struts.multipart.parser Y)#x(s?t  
      The org.apache.struts2.dispatcher.multipart. R % [ZQ K  
      MultiPartRequest parser implementation for a multipart request (file upload) ~A@T_ *0  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) _&V%idz!0  
&.XlXihnt  
yHhx- `  
struts.multipart.saveDir 8=QOp[w   
      The directory to use for storing uploaded files /kV3[Rw+  
      设置存储上传文件的目录夹 vT/e&8w  
2-!OflkoM0  
struts.objectFactory \d"JYym  
      The com.opensymphony.xwork2.ObjectFactory implementation class h1}U#XV  
      com.opensymphony.xwork2.ObjectFactory接口(spring) R=&9M4  
I@Cq<:+(3  
struts.objectFactory.spring.autoWire :btb|^C  
      Whether Spring should autoWire or not  lS@0 $  
      是否自动绑定Spring ha[c<e]uo[  
qE B3Y54+  
struts.objectFactory.spring.useClassCache e_RLKFv7  
      Whether Spring should use its class cache or not DrI"YX  
      是否spring应该使用自身的cache nhV\<  
Vw-,G7v&E  
struts.objectTypeDeterminer ,LI$=lJ@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z|3 fhaT  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [v47_ 5O  
q^!_jMN5  
struts.serve.static.browserCache SnIH6k0T_  
If static content served by the Struts filter should set browser caching header properties or not f>*T0"\c  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #b~B 0:U  
mj{B_3b5  
struts.serve.static yP$@~L[!  
      Whether the Struts filter should serve static content or not d*qb^C{'"  
      是否struts过滤器应该提供静态内容 aQ!QrTua-  
7LEB ,bU  
struts.tag.altSyntax J)7\k$D  
      Whether to use the alterative syntax for the tags or not LSewMj  
      是否可以用替代的语法替代tags I=aoP}_  
&T.d"i  
struts.ui.templateDir G47(LE"2b  
      The directory containing UI templates !8g419Yg  
      UI templates的目录夹 hcn $uyP  
/my5s\;s|z  
struts.ui.theme ')R+Z/hG.  
      The default UI template theme rA+UftC:p6  
      默认的UI template主题 SEfRU`  
r]q;>\T'  
struts.url.http.port uu7 ?,WT  
      The HTTP port used by Struts URLs ),{v  
      设置http端口 F}1h  
7 bV(eV  
struts.url.https.port @jL](Mq|]  
      The HTTPS port used by Struts URLs 5Zf^cou  
      设置https端口 B":9C'tip  
26M:D&|ZB  
struts.url.includeParams sNa Lz  
      The default includeParams method to generate Struts URLs ^bM\:z"M  
      在url中产生 默认的includeParams Borr  
TWzlF>4N  
FOPfo b[  
struts.velocity.configfile F u>  
      The Velocity configuration file path vYFtw L`  
      velocity配置文件路径 &}'FC7}  
$>JfLSyC  
struts.velocity.contexts 5)5$h]Nz>  
      List of Velocity context names 7MWd(n-  
      velocity的context列表 J.E Bt3  
4nsc`Hu  
]ilQq~X  
struts.velocity.manager.classname ^fiJxU  
      org.apache.struts2.views.velocity.VelocityManager implementation class (@DqKB  
      org.apache.struts2.views.velocity.VelocityManager接口名 !S.O~Kq  
]z5kYU&  
struts.velocity.toolboxlocation 8H'ybfed  
      The location of the Velocity toolbox DC samOA~  
      velocity工具盒的位置 ZLjEH7  
struts.xslt.nocache SFu]*II;{  
      Whether or not XSLT templates should not be cached FR9w0{o  
      是否XSLT模版应该被缓存 HNJR&U t  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八