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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 wc'K=;c  
>, }m=X8  
struts.action.extension K06/ D!RD4  
      The URL extension to use to determine if the request is meant for a Struts action @*c ) s_  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ".SQ*'Oc  
6Pa jBEF  
struts.configuration QP e}rQnm  
      The org.apache.struts2.config.Configuration implementation class oos35xV .  
        org.apache.struts2.config.Configuration接口名 5&r2a}K  
J ;wA  
struts.configuration.files (8(z42  
      A list of configuration files automatically loaded by Struts Ma3Hn  
      struts自动加载的一个配置文件列表 dj76YK  
6gfdXVN5  
struts.configuration.xml.reload qqYH}%0dz  
      Whether to reload the XML configuration or not Up$vBE8i]  
      是否加载xml配置(true,false) k]`3if5>  
<!vAqqljt  
struts.continuations.package U q6..<#  
      The package containing actions that use Rife continuations n[/|M  
      含有actions的完整连续的package名称 %j=,c{`Q  
7>m#Y'ppl@  
struts.custom.i18n.resources +6{KrREX)  
      Location of additional localization properties files to load ngJES` 0d  
      加载附加的国际化属性文件(不包含.properties后缀) oB$D&  
G#! j`  
struts.custom.properties '4A8\&lQO  
      Location of additional configuration properties files to load cZ7b$MZ%9  
      加载附加的配置文件的位置 EF{_-FXY  
-3r&O:  
!lF|90=  
struts.devMode C6eon4Ut  
      Whether Struts is in development mode or not LV 94i  
      是否为struts开发模式 !m1pL0  
"t"=9:_t  
struts.dispatcher.parametersWorkaround L$x/T3@  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic d}',Bl+u{$  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;r[=q u\  
xTM&SVNbL_  
struts.enable.DynamicMethodInvocation [zR raG\  
      Allows one to disable dynamic method invocation from the URL JCZJ\f*EZ  
        允许动态方法调用 f(?`PD[  
qD#-q vn  
struts.freemarker.manager.classname qhpq\[U6in  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ? xX`_l  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^dYLB.'=  
MnsnW{VGX  
struts.i18n.encoding TR@$$RrU  
      The encoding to use for localization messages "O|fX\}5  
      国际化信息内码 $(}kau  
DD'<zL[  
struts.i18n.reload W.n@  
      Whether the localization messages should automatically be reloaded R< xxwjt  
      是否国际化信息自动加载 ^LT9t2  
+.HQ+`8z]  
struts.locale m= fmf(  
      The default locale for the Struts application W9V%Xc`LQ  
      默认的国际化地区信息 AJ:@c7:eS  
e= "/oo  
struts.mapper.class mXF pGo5 s  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <z)MV oa  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 b)w3 G%Xx  
k=bv!T_o  
struts.multipart.maxSize n*iaNaU"'  
      The maximize size of a multipart request (file upload) x)vYc36H  
      multipart请求信息的最大尺寸(文件上传用) ~5}b$qL#`  
PD/JXExK  
struts.multipart.parser :@b>,{*4zS  
      The org.apache.struts2.dispatcher.multipart.  V|?  
      MultiPartRequest parser implementation for a multipart request (file upload) [TO:- 8$.  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) YBS]JCO  
Z/x<U.B  
*bRH,u  
struts.multipart.saveDir o~>p=5t  
      The directory to use for storing uploaded files 8@+YcN;->  
      设置存储上传文件的目录夹 "?qu(}|  
5-mJj&0:!  
struts.objectFactory x=au.@psBS  
      The com.opensymphony.xwork2.ObjectFactory implementation class V`fh,(:  
      com.opensymphony.xwork2.ObjectFactory接口(spring) J;_JH lK  
nVyb B~.=  
struts.objectFactory.spring.autoWire ={L:q8v)  
      Whether Spring should autoWire or not `8'T*KU  
      是否自动绑定Spring Ha C?,  
B~PF<8h5  
struts.objectFactory.spring.useClassCache 053W2Si   
      Whether Spring should use its class cache or not H#Og0gEE}5  
      是否spring应该使用自身的cache V">Uh@[J_  
`XWxC:j3%  
struts.objectTypeDeterminer bh7 1Zu  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class & vLX  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 3?5 ~KxOE(  
(J^ Tss  
struts.serve.static.browserCache o!\O)  
If static content served by the Struts filter should set browser caching header properties or not ]B,S<*h  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 b0t];Gc%b  
H8-,gV  
struts.serve.static %] #; ~I%  
      Whether the Struts filter should serve static content or not Yaa M-o  
      是否struts过滤器应该提供静态内容 q75F^AvH  
09%eaoW  
struts.tag.altSyntax %74 Ms  
      Whether to use the alterative syntax for the tags or not hU=J^Gi0  
      是否可以用替代的语法替代tags Z(}x7jzW  
.ySesN: C~  
struts.ui.templateDir Bgs~1E@8V  
      The directory containing UI templates 3.dUMJ$_  
      UI templates的目录夹 jZ{S{"j  
|[{;*wtv  
struts.ui.theme GO?-z0V  
      The default UI template theme ~l}TlRqL  
      默认的UI template主题 ^c(PZ,/#JB  
G0(c@FBK  
struts.url.http.port ka>RAr J  
      The HTTP port used by Struts URLs KT g$^"\  
      设置http端口 /p%K[)T(  
PO%]Jme  
struts.url.https.port I8Zp#'|U  
      The HTTPS port used by Struts URLs "BVz5?  
      设置https端口 n~)Y%xe[U  
}zobIfIF  
struts.url.includeParams } 1XLe  
      The default includeParams method to generate Struts URLs j{;3+LCo*  
      在url中产生 默认的includeParams ?&GMp[  
f^%E]ki  
y1 }d(%  
struts.velocity.configfile 3tm z2JIb  
      The Velocity configuration file path x# YOz7.  
      velocity配置文件路径 Czci6 Lz  
Sm Ei _u]'  
struts.velocity.contexts H_AV3 ;  
      List of Velocity context names l =_@<p  
      velocity的context列表 :,ym)|YV  
Wig0OZj  
~F(+uJbO  
struts.velocity.manager.classname RV$+g.4  
      org.apache.struts2.views.velocity.VelocityManager implementation class Asn0&Ys4  
      org.apache.struts2.views.velocity.VelocityManager接口名 5PPy+36<~  
zhCI+u4/qz  
struts.velocity.toolboxlocation bNaUzM!,H  
      The location of the Velocity toolbox {&<}*4D  
      velocity工具盒的位置 k0YsAa#6V  
struts.xslt.nocache ~o%-\^oc  
      Whether or not XSLT templates should not be cached N{`l?t0I  
      是否XSLT模版应该被缓存 FSQ&J|O  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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