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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 .~V".tZV[  
3\+[38 _  
struts.action.extension ^Y*`D_-G  
      The URL extension to use to determine if the request is meant for a Struts action f6(9wz$Trt  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O4'kS @  
?[*@T2Ck  
struts.configuration m,kv EQ3  
      The org.apache.struts2.config.Configuration implementation class |yId6v  
        org.apache.struts2.config.Configuration接口名 * 7zN  
X7imUy'.  
struts.configuration.files .lNnY8<  
      A list of configuration files automatically loaded by Struts 9phD5b~j  
      struts自动加载的一个配置文件列表 9>} (]T  
|{}d5Z"5;}  
struts.configuration.xml.reload ?$`1%Y9  
      Whether to reload the XML configuration or not KqG$zC^N  
      是否加载xml配置(true,false) ` i^`Q  
?()E5 4y  
struts.continuations.package *n$m;yI  
      The package containing actions that use Rife continuations z!Pdivx  
      含有actions的完整连续的package名称 }hObtAS  
(pRy1DH~  
struts.custom.i18n.resources Rzn0-cG  
      Location of additional localization properties files to load 8gu7f;H/k  
      加载附加的国际化属性文件(不包含.properties后缀) #7cf 8y  
M7cI$=G  
struts.custom.properties '6Z/-V4k  
      Location of additional configuration properties files to load Xbsj:Ko]]U  
      加载附加的配置文件的位置 A<*tn?M]  
tZc.%TU  
=":V WHf  
struts.devMode =."WvBKg  
      Whether Struts is in development mode or not iu:p &h  
      是否为struts开发模式 iA{chQBr  
p1`'1`.3  
struts.dispatcher.parametersWorkaround gen3"\Og{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic * zJiii  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) L{o >D"  
B2Awdw3=g  
struts.enable.DynamicMethodInvocation ;MdK3c  
      Allows one to disable dynamic method invocation from the URL _,-M8=dL%*  
        允许动态方法调用 1dgN10  
%lqG*dRx0  
struts.freemarker.manager.classname X G@>1/  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class pN^G[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 aGzdur  
VHXR)}  
struts.i18n.encoding $4ZDT]n  
      The encoding to use for localization messages #\!hBL @b  
      国际化信息内码 _QtQPK\+  
s'fcAh,c6  
struts.i18n.reload ,a?\i JNb  
      Whether the localization messages should automatically be reloaded q_m#BE;t  
      是否国际化信息自动加载 WTy8N  
e[VJ0 A=  
struts.locale nH3b<k;S  
      The default locale for the Struts application 0 S`b;f  
      默认的国际化地区信息 oT5rX ,8  
JXa%TpI: E  
struts.mapper.class N6 }i>";_;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class kI1{>vYD  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 jJ{ w -$  
iTBhLg,  
struts.multipart.maxSize ^Ihdq89t  
      The maximize size of a multipart request (file upload) JcALFKLB  
      multipart请求信息的最大尺寸(文件上传用) URzE+8m^  
fN? Lz%z3  
struts.multipart.parser v.8S V]  
      The org.apache.struts2.dispatcher.multipart. ]\b1~ki!F  
      MultiPartRequest parser implementation for a multipart request (file upload) vEee/+1?  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) A"T. nqB^y  
#}]il0d  
3E2.v5*  
struts.multipart.saveDir %?{2uMfq-f  
      The directory to use for storing uploaded files 2*",{m  
      设置存储上传文件的目录夹 h/y}  
-r2qIt  
struts.objectFactory BKlc{=  
      The com.opensymphony.xwork2.ObjectFactory implementation class :@4>}k*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 2W-NCE%K)T  
^}pREe c=  
struts.objectFactory.spring.autoWire >A@D;vx  
      Whether Spring should autoWire or not >~bj7M6t  
      是否自动绑定Spring a*wJcJTpV"  
@^4M~F%  
struts.objectFactory.spring.useClassCache }T*xT>p^3  
      Whether Spring should use its class cache or not W;@ae,^  
      是否spring应该使用自身的cache R8W4 4I*R:  
l$ _+WC*wp  
struts.objectTypeDeterminer l?<z1Acd&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class z{M,2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 n[w,x;  
ZCF-*nm  
struts.serve.static.browserCache W2LblZE!  
If static content served by the Struts filter should set browser caching header properties or not kx#L<   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 OU3+SYM  
{zN_l!  
struts.serve.static 5$G??="K  
      Whether the Struts filter should serve static content or not Xq)%w#l5?  
      是否struts过滤器应该提供静态内容 '!L1z45  
ob5nk ^y  
struts.tag.altSyntax I!0 +RP(  
      Whether to use the alterative syntax for the tags or not GpQF * x  
      是否可以用替代的语法替代tags EYD{8Fw-  
fvfVBk#  
struts.ui.templateDir o 0 #]EMr  
      The directory containing UI templates JY8"TQ$x  
      UI templates的目录夹 A-`J!xj#/  
=Bqa <Js  
struts.ui.theme ~acK$.#  
      The default UI template theme B91PlM.  
      默认的UI template主题 "}aM*(l+\  
_!p$47  
struts.url.http.port eu|q {p  
      The HTTP port used by Struts URLs e ;u8G/  
      设置http端口 4W-+k  
1E_Ui1[  
struts.url.https.port g~D6.OZU  
      The HTTPS port used by Struts URLs Nn7@+g)  
      设置https端口 y8n1IZ*#SZ  
TFA  
struts.url.includeParams ]TprPU39  
      The default includeParams method to generate Struts URLs P&`r87J  
      在url中产生 默认的includeParams l%5%oN`4  
[MP :Eeg  
1e| M6*  
struts.velocity.configfile g*imswj7  
      The Velocity configuration file path R2ZQBwB  
      velocity配置文件路径 x#VUEu]8  
:%oj'm44!  
struts.velocity.contexts VIdoT2  
      List of Velocity context names &bgi0)>  
      velocity的context列表 O}!@28|3"  
O9&:(2'f  
Z_WTMs:x!  
struts.velocity.manager.classname wz)9/bL  
      org.apache.struts2.views.velocity.VelocityManager implementation class . TS=[WGMS  
      org.apache.struts2.views.velocity.VelocityManager接口名 :Rx"WY  
la7QN QW  
struts.velocity.toolboxlocation ,T[ +omo  
      The location of the Velocity toolbox u(`A?H:  
      velocity工具盒的位置 C}EDl2  
struts.xslt.nocache GlD'?Mk1  
      Whether or not XSLT templates should not be cached vs5wxTM  
      是否XSLT模版应该被缓存 L umD.3<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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