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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 B)JMughq_  
d?fS#Ryb  
struts.action.extension iW` tr  
      The URL extension to use to determine if the request is meant for a Struts action Ln h =y2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >C|pY6  
2RkW/) A9  
struts.configuration ~1uQyt  
      The org.apache.struts2.config.Configuration implementation class >yC=@Uq+  
        org.apache.struts2.config.Configuration接口名 U,=f};  
ZxF`i>/h  
struts.configuration.files ;4rhh h&  
      A list of configuration files automatically loaded by Struts @_+aX.,  
      struts自动加载的一个配置文件列表  i0=U6S:#  
pe?)AiTZ:  
struts.configuration.xml.reload DDeU:  
      Whether to reload the XML configuration or not T*x2+(r  
      是否加载xml配置(true,false) _,J+b R+b  
|MwV4^  
struts.continuations.package b#_RZ  
      The package containing actions that use Rife continuations 2ioHhcYdJU  
      含有actions的完整连续的package名称 A=N$5ZJ  
+RooU?Aq  
struts.custom.i18n.resources AP&//b,^M  
      Location of additional localization properties files to load CP7dn/  
      加载附加的国际化属性文件(不包含.properties后缀) C"I jr=w  
b@Oq}^a&o  
struts.custom.properties gNCS*a  
      Location of additional configuration properties files to load "-Q+!byh  
      加载附加的配置文件的位置 /lBK )(  
N'`X:7fN  
:?Ns>#6t  
struts.devMode )2[)11J9t  
      Whether Struts is in development mode or not _(N+z.  
      是否为struts开发模式 47q> q  
t8^1wA@@V  
struts.dispatcher.parametersWorkaround 981-[ga `Y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic -<#) ]um  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Nfa&r  
=~1EpZ  
struts.enable.DynamicMethodInvocation ,PlH|  
      Allows one to disable dynamic method invocation from the URL >#]A2,  
        允许动态方法调用 [HILK `@@  
k\f _\pj6  
struts.freemarker.manager.classname meX2Y;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )WqolB  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名  /qLO/Mim  
$[|(&8+7  
struts.i18n.encoding e*:K79 y  
      The encoding to use for localization messages |v!N1+v0  
      国际化信息内码 1VJ${\H]  
pD<w@2K  
struts.i18n.reload c*IrZm  
      Whether the localization messages should automatically be reloaded Pq /5Dy  
      是否国际化信息自动加载 (0 T!- hsP  
-| .NwGh  
struts.locale 8 .%0JJ.3  
      The default locale for the Struts application )3h\QE!z  
      默认的国际化地区信息 sYKx 3[V/  
2"ax*MQH<^  
struts.mapper.class +z;*r8d<X  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _T\~%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 PT/Nz+  
I6.rN\%b  
struts.multipart.maxSize c -+NWC  
      The maximize size of a multipart request (file upload) }A3/(  
      multipart请求信息的最大尺寸(文件上传用) 7+HK_wNi  
$TIeeTB  
struts.multipart.parser :j&enP5R(q  
      The org.apache.struts2.dispatcher.multipart. ~o'1PAW7  
      MultiPartRequest parser implementation for a multipart request (file upload) s=8H< 'l  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) v) n-  
s$M(-"mg  
dNe!X0[  
struts.multipart.saveDir iWCYK7c@.-  
      The directory to use for storing uploaded files )?rq8VO  
      设置存储上传文件的目录夹 B>2R-pa4~  
Q"&Mr+  
struts.objectFactory *'Yy@T8M  
      The com.opensymphony.xwork2.ObjectFactory implementation class R"t#dG]1t  
      com.opensymphony.xwork2.ObjectFactory接口(spring) S=qh7ML  
KF rsXf  
struts.objectFactory.spring.autoWire F-m%d@P&X  
      Whether Spring should autoWire or not !r njmc  
      是否自动绑定Spring F6\{gQ<E  
d( v"{N}  
struts.objectFactory.spring.useClassCache Df6i*Ko|  
      Whether Spring should use its class cache or not OUBGbld  
      是否spring应该使用自身的cache D3Q+K  
{)" 3  
struts.objectTypeDeterminer e9LX0=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~` tuPk~l  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -@>{q/  
i2<z"v63  
struts.serve.static.browserCache "Z@P&jl  
If static content served by the Struts filter should set browser caching header properties or not #T7v]@K67  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 # -'A =j  
lod+]*MD  
struts.serve.static =KPmZ,/w  
      Whether the Struts filter should serve static content or not a#p+.)Wm  
      是否struts过滤器应该提供静态内容 ,.)wCZ,wca  
@|Pm%K`1  
struts.tag.altSyntax _(m72o0g>>  
      Whether to use the alterative syntax for the tags or not D \ rns+  
      是否可以用替代的语法替代tags |1@O>GG  
dseI~}  
struts.ui.templateDir ZLQmEF[>  
      The directory containing UI templates i~u4v3r=  
      UI templates的目录夹 0%f}Q7*R  
^to*ET{0  
struts.ui.theme ? |M-0{  
      The default UI template theme v-8>@s jy8  
      默认的UI template主题 !f~a3 {;j  
R~g|w4a@sC  
struts.url.http.port _U~R   
      The HTTP port used by Struts URLs %2 r ~  
      设置http端口 Z ]A |"6<  
XM]m%I  
struts.url.https.port t&U9Z$LS  
      The HTTPS port used by Struts URLs b**vUt\  
      设置https端口 =R5W KX  
KsULQJ#,  
struts.url.includeParams C*Q7@+&  
      The default includeParams method to generate Struts URLs JH?ohA  
      在url中产生 默认的includeParams Cv#aBH'N  
SdH=1zBc  
s$fM,l:!  
struts.velocity.configfile /H'- }C  
      The Velocity configuration file path J*B-*6O44  
      velocity配置文件路径 k3Yu"GY^  
8qe[x\,"8  
struts.velocity.contexts vj?{={Y  
      List of Velocity context names 1< !P:@(  
      velocity的context列表 dk&F?B{6T  
$0Y`> 3  
Z %pc"  
struts.velocity.manager.classname vobC/m  
      org.apache.struts2.views.velocity.VelocityManager implementation class %FjUtB  
      org.apache.struts2.views.velocity.VelocityManager接口名 *BKD5EwS  
{K|?i9K  
struts.velocity.toolboxlocation N'b GL%  
      The location of the Velocity toolbox 1H-Wk  
      velocity工具盒的位置 W|< c[S  
struts.xslt.nocache KM&P5}  
      Whether or not XSLT templates should not be cached 8^_:9&)i  
      是否XSLT模版应该被缓存 p3P8@M  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五