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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 / a$+EQ$  
]R4)FH|><  
struts.action.extension xu:m~8%  
      The URL extension to use to determine if the request is meant for a Struts action g Go  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4{vd6T}V!  
\PLV]%3,  
struts.configuration ?J~JQe42  
      The org.apache.struts2.config.Configuration implementation class b<F 4_WF  
        org.apache.struts2.config.Configuration接口名 bf74 "  
:T\WYKX3C  
struts.configuration.files Nu_ w@T\l  
      A list of configuration files automatically loaded by Struts G wW#Ww;Oc  
      struts自动加载的一个配置文件列表 N9n1s2;o  
*c AoE l  
struts.configuration.xml.reload 5./ (fgx>  
      Whether to reload the XML configuration or not -ufmpq.  
      是否加载xml配置(true,false) 7&At _l_  
sN C?o[9l!  
struts.continuations.package EkL\~^  
      The package containing actions that use Rife continuations nUd\4;J#  
      含有actions的完整连续的package名称 X#3<hN*v  
`U g.c  
struts.custom.i18n.resources 87^ 4",  
      Location of additional localization properties files to load Agi1r]W  
      加载附加的国际化属性文件(不包含.properties后缀) R{[Q+y'E  
"T&uS1+=c  
struts.custom.properties '!2t9B8XX  
      Location of additional configuration properties files to load Y=rr6/k  
      加载附加的配置文件的位置 b}4/4Z.  
N/%#GfXx  
4w z 6%  
struts.devMode qXI30Yo#d  
      Whether Struts is in development mode or not ^J RTi'v  
      是否为struts开发模式 zl:D|h77  
b {I`$E<[  
struts.dispatcher.parametersWorkaround ?:FotnU*p  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !X8UP{J)L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o(``7A@7a  
\a6)t%u  
struts.enable.DynamicMethodInvocation 9/$P_Q:3  
      Allows one to disable dynamic method invocation from the URL $dnHUBB  
        允许动态方法调用 Nb#7&_f=  
lBn*G&(P  
struts.freemarker.manager.classname iTt=aQjd  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 5HbTgNI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Eo Urc9G2  
3E ZwF  
struts.i18n.encoding =CVT8(N*  
      The encoding to use for localization messages hX_p5a1t  
      国际化信息内码 cLU*Tx\  
Q$vr`yV#=6  
struts.i18n.reload 9(l'xuX  
      Whether the localization messages should automatically be reloaded =_dd4`G&<  
      是否国际化信息自动加载 *i{.@RX?  
8QN8bGxK   
struts.locale m6x. "jG  
      The default locale for the Struts application Yy)a,clZ*$  
      默认的国际化地区信息 cA%U  
Zd(d]M_x  
struts.mapper.class 7:L~n(QpP  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 668bJ.M\O  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 U(N$6{i_  
u}1vn}F{  
struts.multipart.maxSize )/Xrhhx  
      The maximize size of a multipart request (file upload) / 3k\kkv!  
      multipart请求信息的最大尺寸(文件上传用) 5lxq-E3  
ee_\_"  
struts.multipart.parser Tqa4~|6  
      The org.apache.struts2.dispatcher.multipart. x!~OK::o8  
      MultiPartRequest parser implementation for a multipart request (file upload) %~5Q^3$O  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) L%d?eHF  
GnOo+hB  
#(IMRdUf  
struts.multipart.saveDir )M N yOj  
      The directory to use for storing uploaded files ;0!Wd  
      设置存储上传文件的目录夹  y:OywIi(  
W{+0iAYnp  
struts.objectFactory &&]!+fTZ\(  
      The com.opensymphony.xwork2.ObjectFactory implementation class $M`;."  
      com.opensymphony.xwork2.ObjectFactory接口(spring) sYA-FO3gh  
'TrrOq4  
struts.objectFactory.spring.autoWire G r|@CZq  
      Whether Spring should autoWire or not YB{E= \~  
      是否自动绑定Spring mY 8=qkZE  
JX)z<Dz$  
struts.objectFactory.spring.useClassCache Cj1UD;  
      Whether Spring should use its class cache or not B ^(rUR  
      是否spring应该使用自身的cache dO4#BDn"=  
]0i2 ]=J&,  
struts.objectTypeDeterminer (1,#=e+  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class I A`8ie+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 c '+r[rSn1  
;]M67ma7C  
struts.serve.static.browserCache ba9<(0`  
If static content served by the Struts filter should set browser caching header properties or not 1ysLZ;K  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]XG n2U\  
JGDUCb~  
struts.serve.static m90R8  V  
      Whether the Struts filter should serve static content or not .XKvk(9  
      是否struts过滤器应该提供静态内容 PBs<8xBx^  
g**% J Xo  
struts.tag.altSyntax m=.7f9  
      Whether to use the alterative syntax for the tags or not OEE{JVeI  
      是否可以用替代的语法替代tags =P;;&j3Z  
ZU.)K>'  
struts.ui.templateDir :ZfUjqRE  
      The directory containing UI templates f5b`gvCY,#  
      UI templates的目录夹 %H}Y]D~R  
Mto~ /  
struts.ui.theme ^1,Eo2yN  
      The default UI template theme `/JR}g{O  
      默认的UI template主题 ,L{o, qzC  
b#;N!VX  
struts.url.http.port @!a]qAt  
      The HTTP port used by Struts URLs T7,Gf({  
      设置http端口 ;]ShC\1  
;~:Ryl M  
struts.url.https.port e3={$Ah  
      The HTTPS port used by Struts URLs O?,i?  
      设置https端口 g} ~<!VpX  
3:8nwt  
struts.url.includeParams :iQ^1S` pH  
      The default includeParams method to generate Struts URLs fI d)  
      在url中产生 默认的includeParams ,c7u  
iRwW>a3/  
9h38`*Im;  
struts.velocity.configfile :IT U0%;!+  
      The Velocity configuration file path d)GkXll1D  
      velocity配置文件路径 DET!br'z5  
VtzmY  
struts.velocity.contexts 0HJqsSZ$mW  
      List of Velocity context names Go+xL/f  
      velocity的context列表 UE,~_hp  
~R?dDL  
PDq}Tq  
struts.velocity.manager.classname 8P<UO  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9MtJo.A  
      org.apache.struts2.views.velocity.VelocityManager接口名 /IJ9_To  
{8Jk=)(md  
struts.velocity.toolboxlocation <#p|z`N  
      The location of the Velocity toolbox -KwL9J4u  
      velocity工具盒的位置 dI ZTLb"a  
struts.xslt.nocache C3 b0`|5  
      Whether or not XSLT templates should not be cached G E~(N N  
      是否XSLT模版应该被缓存 E2h;hr;W  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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