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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |>yWkq   
>))CXGE  
struts.action.extension 2]1u0-M5L  
      The URL extension to use to determine if the request is meant for a Struts action U.KQjBi  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 rUpe  ;c  
baBBn %_V  
struts.configuration W#S82  
      The org.apache.struts2.config.Configuration implementation class W%4=x>J-  
        org.apache.struts2.config.Configuration接口名 O&1qL)  
_bGkJ=  
struts.configuration.files < Hkq  
      A list of configuration files automatically loaded by Struts B2e"   
      struts自动加载的一个配置文件列表 /TyGZ@S>m  
gs5(~YiT6  
struts.configuration.xml.reload ,$0-I@*V  
      Whether to reload the XML configuration or not } vmRm*8z  
      是否加载xml配置(true,false) |RFBhB/u  
odCt6Du  
struts.continuations.package MfP)Pk5  
      The package containing actions that use Rife continuations PD)"od  
      含有actions的完整连续的package名称 ,;_+o]  
)P$|9<_q7x  
struts.custom.i18n.resources tO&ffZP8$  
      Location of additional localization properties files to load v8)"skVnFG  
      加载附加的国际化属性文件(不包含.properties后缀) h:nybLw?  
fC[za,PXaE  
struts.custom.properties EHk\Q\  
      Location of additional configuration properties files to load HR}O:2'  
      加载附加的配置文件的位置 DsejZ&  
lj (y  
H/c (m|KK  
struts.devMode ]3rVULU"K-  
      Whether Struts is in development mode or not Iko]c_W0  
      是否为struts开发模式 VG);om7`PD  
1@DC#2hPr  
struts.dispatcher.parametersWorkaround 9@lWI  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic KNUK]i&L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m[^lu1\wn  
qOwql(vX  
struts.enable.DynamicMethodInvocation /' + >/  
      Allows one to disable dynamic method invocation from the URL j{@6y  
        允许动态方法调用 EU$.{C_O(  
Ks-$:~?5":  
struts.freemarker.manager.classname j,.\QwpU  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %up?70  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;f[lq^eV  
E5w;75,  
struts.i18n.encoding 9af.t  
      The encoding to use for localization messages <Dd>- K  
      国际化信息内码 +!/ATR%Uci  
5o#JHD  
struts.i18n.reload 7l D-|yx  
      Whether the localization messages should automatically be reloaded Nc;O)K!FH  
      是否国际化信息自动加载 8R,<S-+v  
p49]{2GXb  
struts.locale =V[uXm  
      The default locale for the Struts application ~SnUnNDm`  
      默认的国际化地区信息 j*jUcD *  
Z!)~?<gcq:  
struts.mapper.class ilA45@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0NXH449I=  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 m Qj=-\p  
l4OrlS/5  
struts.multipart.maxSize >]\I:T  
      The maximize size of a multipart request (file upload) c.ow4~>  
      multipart请求信息的最大尺寸(文件上传用) i[o 2(d,  
s6!6Oqh  
struts.multipart.parser  !+eH8  
      The org.apache.struts2.dispatcher.multipart. vADiW~^Q^  
      MultiPartRequest parser implementation for a multipart request (file upload) #c^V %  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *m~-8_ >;  
Vw;Z0_C  
'<R>cN"  
struts.multipart.saveDir R4m {D  
      The directory to use for storing uploaded files 5*AXL .2ih  
      设置存储上传文件的目录夹 Zt`Tg7m  
i[v4[C=WB!  
struts.objectFactory hF%M!otcJ-  
      The com.opensymphony.xwork2.ObjectFactory implementation class qt@L&v}~j  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]~({;;3o-  
m`/Nl<  
struts.objectFactory.spring.autoWire 9iA rBL"  
      Whether Spring should autoWire or not K^Awf6%  
      是否自动绑定Spring 0l!#u`cCI  
Cn{Hk)6  
struts.objectFactory.spring.useClassCache l":W@R  
      Whether Spring should use its class cache or not Ri.tA  
      是否spring应该使用自身的cache #BC"bY  
'nmA!s  
struts.objectTypeDeterminer |$RNY``J  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2KlQ[z4Ir  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 f"Zl JVa  
~}Xus?e  
struts.serve.static.browserCache A,}M ^$@  
If static content served by the Struts filter should set browser caching header properties or not o ).deP s-  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B5b:znW2@  
%6UF%dbYH`  
struts.serve.static h>-P/  
      Whether the Struts filter should serve static content or not TNX9Z)=>g  
      是否struts过滤器应该提供静态内容 Hiyg1  
XLN bV?  
struts.tag.altSyntax {]0e=#hw  
      Whether to use the alterative syntax for the tags or not $></%S2g  
      是否可以用替代的语法替代tags ?'a8QJo  
H_+n_r*  
struts.ui.templateDir dftBD  
      The directory containing UI templates s]arNaaA  
      UI templates的目录夹 bSB%hFp=Cp  
SmRlZ!%e  
struts.ui.theme XYEwn_Y  
      The default UI template theme IG781:,/  
      默认的UI template主题 !wAT`0<94F  
|=?#Xbxz  
struts.url.http.port NAbVH{*\U  
      The HTTP port used by Struts URLs dbI>\khI  
      设置http端口 oQ!M+sRmF  
:E:e ^$p  
struts.url.https.port 7=!9kk0  
      The HTTPS port used by Struts URLs 8y;Rw#Dz  
      设置https端口 ]c.w+<  
wQ}r/2n|^  
struts.url.includeParams RBX<>*  
      The default includeParams method to generate Struts URLs .E4* >@M5  
      在url中产生 默认的includeParams ] lB zpD  
).T&fa"  
-%nD'qy,.  
struts.velocity.configfile 18X@0e  
      The Velocity configuration file path g3R(,IH  
      velocity配置文件路径 Syk)S<  
\Wbmmd}8  
struts.velocity.contexts TT$A o  
      List of Velocity context names ys[Li.s:  
      velocity的context列表 }F`|_8L*v)  
R.~[$G!  
odRiCiMH  
struts.velocity.manager.classname 6Rc=!_v^  
      org.apache.struts2.views.velocity.VelocityManager implementation class aeqz~z2~8s  
      org.apache.struts2.views.velocity.VelocityManager接口名 VYvfx  
K_7pr~D]@r  
struts.velocity.toolboxlocation 3EoCEPb#  
      The location of the Velocity toolbox NvR{S /Z  
      velocity工具盒的位置 (O.%Xbx3  
struts.xslt.nocache &#r+a'  
      Whether or not XSLT templates should not be cached LQ+/|_(.  
      是否XSLT模版应该被缓存 ?jx]%n fV  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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