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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 V Ds0+RC  
O%w'n z"  
struts.action.extension 204"\ mv  
      The URL extension to use to determine if the request is meant for a Struts action #qv!1$}2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u=Xpu,q  
P"o|kRO  
struts.configuration Z[>fFg~N4  
      The org.apache.struts2.config.Configuration implementation class 8U}+9  
        org.apache.struts2.config.Configuration接口名 I'[;E.KU  
6OqF-nso[E  
struts.configuration.files umCmxm r&  
      A list of configuration files automatically loaded by Struts D !{e  
      struts自动加载的一个配置文件列表 _9q byhS7  
 cp0yr:~  
struts.configuration.xml.reload A4Q{(z-?  
      Whether to reload the XML configuration or not YFW/ Fa\7  
      是否加载xml配置(true,false) }$g"|;<ha  
;#mm_*L%@  
struts.continuations.package t<`d*M2w  
      The package containing actions that use Rife continuations F{c8{?:  
      含有actions的完整连续的package名称 M^Tm{`O!  
q_98=fyE6  
struts.custom.i18n.resources xxwbX6^d  
      Location of additional localization properties files to load FR>[ g`1  
      加载附加的国际化属性文件(不包含.properties后缀) /U-+ClZi@  
Cq'{ %  
struts.custom.properties L >)|l  
      Location of additional configuration properties files to load W8r"dK  
      加载附加的配置文件的位置 piqh7u3~  
Ya(3Z_f+VZ  
vU(fd!V ?  
struts.devMode H)CoByaj  
      Whether Struts is in development mode or not '-cayG   
      是否为struts开发模式 hT`&Xb  
z ?F`)}  
struts.dispatcher.parametersWorkaround ?@kz`BY  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic I!SIy&=W  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) wQ[!~>A  
y]+[o1]-c  
struts.enable.DynamicMethodInvocation {fjBa,o #  
      Allows one to disable dynamic method invocation from the URL 0A-yQzL|  
        允许动态方法调用 #lMC#Ld  
,_s.amL3O{  
struts.freemarker.manager.classname fjY:u,5V_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ei"c|/pO  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]7oo`KcQ|  
At !:d3  
struts.i18n.encoding 5NhAb$q2Y  
      The encoding to use for localization messages *ae)<l3v  
      国际化信息内码 o6:bmKWE  
jbUg?4k!  
struts.i18n.reload s^4wn:*$zd  
      Whether the localization messages should automatically be reloaded j5A>aj  
      是否国际化信息自动加载 #2$wI^O  
atw*t1)g  
struts.locale &9z&#`AY]>  
      The default locale for the Struts application _8-T?j**   
      默认的国际化地区信息 ZS=;)  
i_QiE2d  
struts.mapper.class j>l  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class {d]B+'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 .o,-a>jL  
og~a*my3  
struts.multipart.maxSize aQf2}kD  
      The maximize size of a multipart request (file upload) I+SfZ:q ^  
      multipart请求信息的最大尺寸(文件上传用) uXvE>VpJG  
H8B2{]HAt  
struts.multipart.parser &4 #%xg  
      The org.apache.struts2.dispatcher.multipart. % tC[q   
      MultiPartRequest parser implementation for a multipart request (file upload) *5?Qam3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b?VByJl  
-AU'1iRcK7  
bv7xh*/  
struts.multipart.saveDir DiY74D  
      The directory to use for storing uploaded files (w\|yPBB  
      设置存储上传文件的目录夹 a/H5Y,b>  
-o~n 06p  
struts.objectFactory  vILB$%I  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0pl'*r*9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -dN`Ok<g  
/~7M @`1  
struts.objectFactory.spring.autoWire V pzjh,r-j  
      Whether Spring should autoWire or not -*hPEgcV9  
      是否自动绑定Spring Ey%[t  
z4` :n.  
struts.objectFactory.spring.useClassCache dM19;R@4  
      Whether Spring should use its class cache or not m=/HUt3(&0  
      是否spring应该使用自身的cache *~cNUyd  
}H saJ=1U  
struts.objectTypeDeterminer qu]a+cYY  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 3RxR'M1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 wV{j CQ  
nD)SR  
struts.serve.static.browserCache WE_'u+!B  
If static content served by the Struts filter should set browser caching header properties or not <{hB&4oL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H!,V7R  
1=E}X5  
struts.serve.static 4ji'6JHPg  
      Whether the Struts filter should serve static content or not pU,\ &3N  
      是否struts过滤器应该提供静态内容 3-n&&<  
dVGcth;  
struts.tag.altSyntax 3UZ_1nY  
      Whether to use the alterative syntax for the tags or not xG Y!r"[  
      是否可以用替代的语法替代tags x^Qij!mB%  
i.[k"(  
struts.ui.templateDir 1DL+=-  
      The directory containing UI templates K;s`  
      UI templates的目录夹 QfM^J5j.M?  
W~i0.rg|>  
struts.ui.theme +|K,\ {'U  
      The default UI template theme <5CQ#^ cK  
      默认的UI template主题 9o6qN1A0g  
8JW0;H<  
struts.url.http.port ?Iaqbt%2  
      The HTTP port used by Struts URLs *laFG <;  
      设置http端口 -GQ.B{%G  
0TICv2l!  
struts.url.https.port ,'l.u?SKyd  
      The HTTPS port used by Struts URLs /w2IL7}  
      设置https端口 6(1 &6|o3  
/^&$ma\  
struts.url.includeParams <8Z%'C6d  
      The default includeParams method to generate Struts URLs 9jl\H6JY|  
      在url中产生 默认的includeParams b+Vlq7Bc  
9+5F(pd(  
miCY?=N`  
struts.velocity.configfile \S~<C[P  
      The Velocity configuration file path AO5a  
      velocity配置文件路径 ]Rp<64I o  
+l7Bu}_?  
struts.velocity.contexts #SD2b,f  
      List of Velocity context names m^)\P?M5|  
      velocity的context列表 i@<w"yNd_  
}2Im?Q  
l|9'l[}&  
struts.velocity.manager.classname R9+f^o` W  
      org.apache.struts2.views.velocity.VelocityManager implementation class }ASBP:c"t  
      org.apache.struts2.views.velocity.VelocityManager接口名 do%.KIk  
:n x;~f  
struts.velocity.toolboxlocation *\Hut'7 d  
      The location of the Velocity toolbox [~Z#yEiW^  
      velocity工具盒的位置 :4COPUBpPV  
struts.xslt.nocache Vr&v:8:wb  
      Whether or not XSLT templates should not be cached 9@*4^Ks p  
      是否XSLT模版应该被缓存 ~<osL  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五