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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 uyWw3>  
_j*I\  
struts.action.extension fr$6&HDZ9  
      The URL extension to use to determine if the request is meant for a Struts action e@/' o/  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 SMfa(+VI  
c\O2|'JzE  
struts.configuration !| - U,  
      The org.apache.struts2.config.Configuration implementation class zJ:%iL@  
        org.apache.struts2.config.Configuration接口名 xuVc1jJH  
17 0r5  
struts.configuration.files 7#7|+%W0  
      A list of configuration files automatically loaded by Struts rp2g./2  
      struts自动加载的一个配置文件列表 /FC(d5I  
8HHR  
struts.configuration.xml.reload vo2GFo  
      Whether to reload the XML configuration or not @2-;,VL3  
      是否加载xml配置(true,false) 9`? M-U  
V'UFc>{o  
struts.continuations.package PtzT><  
      The package containing actions that use Rife continuations F" 4;nU  
      含有actions的完整连续的package名称 j |o&T41  
:uC9 #H"b  
struts.custom.i18n.resources 4^d).{&X  
      Location of additional localization properties files to load c++q5bg@)  
      加载附加的国际化属性文件(不包含.properties后缀) JZE@W -2  
j%J>LeTca  
struts.custom.properties ;18u02z^  
      Location of additional configuration properties files to load /Ei e5p  
      加载附加的配置文件的位置 |2rOV&@l9  
'C#[iRG4  
k2PK4Ua_}q  
struts.devMode Z)@[N 6\?  
      Whether Struts is in development mode or not >ffC?5+  
      是否为struts开发模式 9]1LwX!M2  
* X}2  
struts.dispatcher.parametersWorkaround s#")hMJQ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic D(&WEmm\B  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F~bDg tN3  
Kc#1H|'2N  
struts.enable.DynamicMethodInvocation `R-?+76?  
      Allows one to disable dynamic method invocation from the URL U3UA  
        允许动态方法调用 '#.D`9YI<  
tDfHO1pS  
struts.freemarker.manager.classname 475g-t2"@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j'hWhLax  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [X8EfU}  
#v9+9X`1L  
struts.i18n.encoding =qL^#h83y  
      The encoding to use for localization messages 2~B5?(g  
      国际化信息内码 ugTnz$  
\=xS?(v!  
struts.i18n.reload RZ ?SiwE  
      Whether the localization messages should automatically be reloaded |zd5P  
      是否国际化信息自动加载 w|*D{`O  
{LCKt/Z>P  
struts.locale x~{W(;`!  
      The default locale for the Struts application N%1nii  
      默认的国际化地区信息 UdA,.C0  
oJ/=&c  
struts.mapper.class sBqOcy  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class VwK7\j V  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ai5+ ;8z+  
K\s<<dRa  
struts.multipart.maxSize V)ag ss w?  
      The maximize size of a multipart request (file upload) ^D9 w=f#a  
      multipart请求信息的最大尺寸(文件上传用) \~zm_-Hw@Y  
2t45/:,  
struts.multipart.parser ^uVPN1}b^@  
      The org.apache.struts2.dispatcher.multipart. b.kV>K"X3  
      MultiPartRequest parser implementation for a multipart request (file upload) H\9ePo\b~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P_75-0G  
i*A_Po  
bqx2lQf,_  
struts.multipart.saveDir HEhBOER?  
      The directory to use for storing uploaded files )p:+!sX(  
      设置存储上传文件的目录夹 _Vt(Eg_\  
I9`ZK2S  
struts.objectFactory Uty0mc(  
      The com.opensymphony.xwork2.ObjectFactory implementation class t%f>*}*P*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) sb?!U"v.'  
,Z! I^  
struts.objectFactory.spring.autoWire A:pD:}fm}D  
      Whether Spring should autoWire or not ?.beN[X  
      是否自动绑定Spring h|lH`m^  
yT='V1  
struts.objectFactory.spring.useClassCache >Ad`_g6Wew  
      Whether Spring should use its class cache or not ,Ik~E&Ku2'  
      是否spring应该使用自身的cache r)Ml-r =  
_u6MSRX[6$  
struts.objectTypeDeterminer iU3PlF[B/o  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T, PN6d  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 e#F3KLSL`  
6BEDk!  
struts.serve.static.browserCache *!3qO^b?  
If static content served by the Struts filter should set browser caching header properties or not pZt>rv  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Hc8!cATQk  
7m?fv Ky  
struts.serve.static jtE'T}!d  
      Whether the Struts filter should serve static content or not R4$(NNC+/  
      是否struts过滤器应该提供静态内容 |Z+qaq{X  
r>CBp$  
struts.tag.altSyntax aMJ2bu  
      Whether to use the alterative syntax for the tags or not 8=?U7aw  
      是否可以用替代的语法替代tags t3K9 |8<  
(*V!V3E3#  
struts.ui.templateDir nY\X!K65  
      The directory containing UI templates yF+mJ >kj  
      UI templates的目录夹 ZW@cw}  
Ol|fdQ  
struts.ui.theme 0I2?fz)  
      The default UI template theme 4p6T0II_$  
      默认的UI template主题 vmo!  
[ <k&]Kv  
struts.url.http.port BJ fBY H,M  
      The HTTP port used by Struts URLs 5D XBTpCVM  
      设置http端口 2=1qmQE  
kqq1;Kd  
struts.url.https.port s ;]"LD@  
      The HTTPS port used by Struts URLs ?wn <F}UH  
      设置https端口 OqmW lN.?  
,6"[vb#*3  
struts.url.includeParams aOsc_5XDR;  
      The default includeParams method to generate Struts URLs %e|UA-(  
      在url中产生 默认的includeParams {]N7kY.W  
N$.ls48a4-  
((^v sKT  
struts.velocity.configfile `A o"fRv#  
      The Velocity configuration file path -SzCeq(p%5  
      velocity配置文件路径 L6ypn)l  
cFuQ>xR1  
struts.velocity.contexts zN-Y=-c  
      List of Velocity context names mS0;2x U  
      velocity的context列表 ;<xPzf  
Ke~!1S8=  
#'RfwldD9  
struts.velocity.manager.classname =GeGlI6  
      org.apache.struts2.views.velocity.VelocityManager implementation class mGoC8t}iP  
      org.apache.struts2.views.velocity.VelocityManager接口名 mD*!<<Sw  
P4c}@Mq3  
struts.velocity.toolboxlocation bQI.Qk  
      The location of the Velocity toolbox :R$v7{1  
      velocity工具盒的位置 XIl#0-E0X  
struts.xslt.nocache 'A1y~x#2B  
      Whether or not XSLT templates should not be cached N4{g[[ T  
      是否XSLT模版应该被缓存 A.r.tf}:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八