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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 t<yOTVah  
kYu"`_n}  
struts.action.extension fvM|Jb  
      The URL extension to use to determine if the request is meant for a Struts action 2l}3L  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 fH 0&Wc3yC  
24I~{Qy  
struts.configuration | (: PX  
      The org.apache.struts2.config.Configuration implementation class }^ZPah  
        org.apache.struts2.config.Configuration接口名 rlSflcK\\(  
jEW@~e  
struts.configuration.files N  Bpf  
      A list of configuration files automatically loaded by Struts G;;iGN  
      struts自动加载的一个配置文件列表 t**o<p#)f  
JDm7iJxc_  
struts.configuration.xml.reload \"Aw ATQ  
      Whether to reload the XML configuration or not Y -G;;~  
      是否加载xml配置(true,false) #6za  
"uD^1'IW2  
struts.continuations.package -MItZ  
      The package containing actions that use Rife continuations QE~#eo  
      含有actions的完整连续的package名称 u|8yV.=R  
[(/IV+  
struts.custom.i18n.resources QiQO>r  
      Location of additional localization properties files to load ]F1ZeAh5  
      加载附加的国际化属性文件(不包含.properties后缀) e]u3[ao  
v`9n'+h-c6  
struts.custom.properties Q~G>=J9  
      Location of additional configuration properties files to load -,} ppTG  
      加载附加的配置文件的位置 {9YNv<3  
X5wYfN  
(ZHEPN  
struts.devMode }|4dEao\  
      Whether Struts is in development mode or not Zn"1qLPF  
      是否为struts开发模式 O)9{qU:[b  
y1+~IjY  
struts.dispatcher.parametersWorkaround t"]~e"  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Pdw[#X<[`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) tS&rR0<OW  
'U3+'du^8  
struts.enable.DynamicMethodInvocation oN " /w~  
      Allows one to disable dynamic method invocation from the URL nK5FPFz8  
        允许动态方法调用 m\?H < o0  
4O** %!|  
struts.freemarker.manager.classname PK|"+I0  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class >6"u{Qmr  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 \t 04-  
WZJ}HHePr  
struts.i18n.encoding q/HwcX+[b  
      The encoding to use for localization messages 2q ,> *B?  
      国际化信息内码 &ZUV=q%g9n  
h$~ \to$C  
struts.i18n.reload XB'PEvh8  
      Whether the localization messages should automatically be reloaded Q`7.-di  
      是否国际化信息自动加载 M;K%=l$NG  
{expx<+4F  
struts.locale vZl]C%  
      The default locale for the Struts application +nT(>RJR  
      默认的国际化地区信息 I,d5Y3mC  
XUp'wP  
struts.mapper.class 2RC|u?+@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {*J{1)2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 q2C._{ 0'  
;}k9YlQrN  
struts.multipart.maxSize ;VAHgIpx;  
      The maximize size of a multipart request (file upload) ~E tW B  
      multipart请求信息的最大尺寸(文件上传用) >2w^dI2  
6@[7  
struts.multipart.parser ~'<ca<Go|  
      The org.apache.struts2.dispatcher.multipart. t}]R0O.s  
      MultiPartRequest parser implementation for a multipart request (file upload) ij<6gv~ n"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Gn8'h TM  
lEe<!B$d"  
GnzKDDH '  
struts.multipart.saveDir ,_(AiQK  
      The directory to use for storing uploaded files U2D2?#  
      设置存储上传文件的目录夹 n$O[yRMI[  
byTTLs,}d  
struts.objectFactory t+?m<h6w;l  
      The com.opensymphony.xwork2.ObjectFactory implementation class vRQ7=N{3  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q/lQEfR  
86AZ)UP2D  
struts.objectFactory.spring.autoWire jJK`+J,i}X  
      Whether Spring should autoWire or not BrO" _  
      是否自动绑定Spring = olmBXn/  
j aEUz5  
struts.objectFactory.spring.useClassCache <_N<L\  
      Whether Spring should use its class cache or not WQ1~9#  
      是否spring应该使用自身的cache _sGmkJi]  
}pMd/|A,  
struts.objectTypeDeterminer n+XLZf#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class (Iz$_(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 t) :'XGk@  
Jb (CH4|7  
struts.serve.static.browserCache bk}'wcX<+]  
If static content served by the Struts filter should set browser caching header properties or not Lq6R_ud p  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'C2X9/!,  
<lo\7p$A  
struts.serve.static %Y:"5fH  
      Whether the Struts filter should serve static content or not $,)PO Z  
      是否struts过滤器应该提供静态内容 2]}4)_&d<e  
ls*bCe  
struts.tag.altSyntax $"P[nNW3  
      Whether to use the alterative syntax for the tags or not wJ%;\06  
      是否可以用替代的语法替代tags o#~Lb9`@U  
 nLD1j  
struts.ui.templateDir js..k*j  
      The directory containing UI templates E;tEmGf6F  
      UI templates的目录夹 Oe~x,=X)  
"!w#E6gU  
struts.ui.theme s ]XZQr%  
      The default UI template theme Pb`Uxv  
      默认的UI template主题 2t,N9@u=UN  
<c77GimD?  
struts.url.http.port M(/ATOJ(  
      The HTTP port used by Struts URLs 2t[P-on  
      设置http端口 JuKG#F#,  
h0O t>e"  
struts.url.https.port [2$mo;E?  
      The HTTPS port used by Struts URLs &pzf*|}  
      设置https端口 e=^^TX`I  
>'1 h  
struts.url.includeParams C==yl"w  
      The default includeParams method to generate Struts URLs v6M4KC2?  
      在url中产生 默认的includeParams m!K`?P]:N  
q S qS@+p  
4OaU1Y[  
struts.velocity.configfile ?Qxf~,F  
      The Velocity configuration file path 7,lnfCm H  
      velocity配置文件路径 xfa-   
lDSF  
struts.velocity.contexts TtQ'I}7q  
      List of Velocity context names dfP4SJqq  
      velocity的context列表 nSv@FT'~z  
sg8[TFX@Z  
vc0LV'lmg  
struts.velocity.manager.classname ~ \]?5 nj  
      org.apache.struts2.views.velocity.VelocityManager implementation class SF=TG84<  
      org.apache.struts2.views.velocity.VelocityManager接口名 (Z0_e&=*  
V,h}l"  
struts.velocity.toolboxlocation F )Iz:  
      The location of the Velocity toolbox 3;RQ\{eM  
      velocity工具盒的位置 w^"IR  
struts.xslt.nocache n_4 r'w  
      Whether or not XSLT templates should not be cached d9&   
      是否XSLT模版应该被缓存 ysj5/wtO0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五