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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 B&m?3w  
/z4xq'<  
struts.action.extension Y e}y_W  
      The URL extension to use to determine if the request is meant for a Struts action n~d`PGs?f  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 */L;6_  
| We @p  
struts.configuration e-o s0F  
      The org.apache.struts2.config.Configuration implementation class 1*x4T%RF$  
        org.apache.struts2.config.Configuration接口名 +Hb6j02#  
G\H@lFh  
struts.configuration.files Ffm Q$>S  
      A list of configuration files automatically loaded by Struts 7,e=|%7.  
      struts自动加载的一个配置文件列表 `q exEk@S  
ZX.VzZS  
struts.configuration.xml.reload !+M H?A  
      Whether to reload the XML configuration or not 6iFd[<.*j  
      是否加载xml配置(true,false) b['TRYc=:  
):+H`Hcm  
struts.continuations.package 79%${ajSI  
      The package containing actions that use Rife continuations /d >fp  
      含有actions的完整连续的package名称 Z3R..vy8  
?#kI9n<O  
struts.custom.i18n.resources -c=IO(B/  
      Location of additional localization properties files to load T[XI  
      加载附加的国际化属性文件(不包含.properties后缀) 5.|rzk>  
_TB\@)\  
struts.custom.properties m`9)DsR N  
      Location of additional configuration properties files to load %'* |N [  
      加载附加的配置文件的位置 YS{  
vfegIoZ  
2+GF:[$  
struts.devMode 3a{QkVeV7  
      Whether Struts is in development mode or not hP,1;`[1  
      是否为struts开发模式 ,h]N*Z-I"  
:7Vm]xd}do  
struts.dispatcher.parametersWorkaround 4:<0i0)5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9~,eu  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) oUw-l_M]  
z6G^BaT'  
struts.enable.DynamicMethodInvocation ~|J6M  
      Allows one to disable dynamic method invocation from the URL uB,B%XHj  
        允许动态方法调用 !4jS=Lhe>  
 fV}\  
struts.freemarker.manager.classname %e%nsj6  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class JZL!(>tI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q{7s.m >  
xel&8 `  
struts.i18n.encoding ~.x!st}  
      The encoding to use for localization messages @-b}iP<T  
      国际化信息内码 H[,.nH_>+  
>M:5yk@  
struts.i18n.reload 4g1u9Sc0  
      Whether the localization messages should automatically be reloaded [1nI%/</>  
      是否国际化信息自动加载 Ca BTqo  
&9s6p6 eb  
struts.locale $z mES tcm  
      The default locale for the Struts application 2z[Pw0#V  
      默认的国际化地区信息 o JA58/  
$LRFG(  
struts.mapper.class :` ~b&Oz)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class TTE#7\K~B  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 +]]wf'w  
*=/XlSWF  
struts.multipart.maxSize 7FDraEr#f  
      The maximize size of a multipart request (file upload) T>uLqd{hH  
      multipart请求信息的最大尺寸(文件上传用) )cqhbR  
syZ-xE]}  
struts.multipart.parser b vu` =  
      The org.apache.struts2.dispatcher.multipart. yl'~H;su  
      MultiPartRequest parser implementation for a multipart request (file upload) RycEM|51V  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7OWiG,  
$e*Nr=/  
>uuX<\cW  
struts.multipart.saveDir C#-x 3d-{  
      The directory to use for storing uploaded files cE*|8'rSf  
      设置存储上传文件的目录夹 ~!A,I 9  
i2j)%Gc}  
struts.objectFactory n)K6Z{x  
      The com.opensymphony.xwork2.ObjectFactory implementation class AN~1E@"  
      com.opensymphony.xwork2.ObjectFactory接口(spring) `z=MI66Nl  
<![T~<.  
struts.objectFactory.spring.autoWire ZY/at/v  
      Whether Spring should autoWire or not ,OasT!Sr  
      是否自动绑定Spring sG VC+!E  
MJg^ QVM  
struts.objectFactory.spring.useClassCache E>g'!  
      Whether Spring should use its class cache or not ixS78KIr  
      是否spring应该使用自身的cache D!m hR?t  
4_"ZSVq]#  
struts.objectTypeDeterminer B)-S@.u  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T]vD ,I+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 "7<4NV@yQ  
X&lkA (  
struts.serve.static.browserCache ,!Hl@(  
If static content served by the Struts filter should set browser caching header properties or not -%N (X8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 tRv#%>fj  
XW#4C*5?d  
struts.serve.static O.$<Bf9  
      Whether the Struts filter should serve static content or not gEe}xI  
      是否struts过滤器应该提供静态内容 MoX* e  
AjlG_F  
struts.tag.altSyntax V+Tj[:ok  
      Whether to use the alterative syntax for the tags or not A!f0AEA,  
      是否可以用替代的语法替代tags Ci*5E$+\  
~*[}O)7#  
struts.ui.templateDir NPc%}V&C(u  
      The directory containing UI templates pj )I4C)  
      UI templates的目录夹 T5Fah#-4  
w}1)am &pD  
struts.ui.theme eQLa.0  
      The default UI template theme =_1" d$S&  
      默认的UI template主题 53T2w,?  
2~@=ua[|=5  
struts.url.http.port sS|zz,y  
      The HTTP port used by Struts URLs AHA*yC  
      设置http端口 ;|^fAc~9{r  
5Ci}w|c/>  
struts.url.https.port {l6]O  
      The HTTPS port used by Struts URLs )b7mzDp(  
      设置https端口 dG rA18  
p>zE/Pw~  
struts.url.includeParams p&\uF#I;  
      The default includeParams method to generate Struts URLs B 3h<K}  
      在url中产生 默认的includeParams m,KY_1%M  
vP?yl "U  
<Q0&[q;Z  
struts.velocity.configfile Yx%%+c?.   
      The Velocity configuration file path `Q8 D[  
      velocity配置文件路径 Z kS* CG   
[Vf|4xcD  
struts.velocity.contexts #SXXYh-e  
      List of Velocity context names B%pvk.`  
      velocity的context列表 'I~dJEW7  
%qQ(@TG  
4mAtYm  
struts.velocity.manager.classname }Q=Zqlvz  
      org.apache.struts2.views.velocity.VelocityManager implementation class @$*c0 . |z  
      org.apache.struts2.views.velocity.VelocityManager接口名 96.Wfx  
<#Lw.;(U;k  
struts.velocity.toolboxlocation "+WR[-n>\  
      The location of the Velocity toolbox /7#&qx8  
      velocity工具盒的位置 ?4Lo"igAA  
struts.xslt.nocache 8tL61x{]  
      Whether or not XSLT templates should not be cached L8G4K)  
      是否XSLT模版应该被缓存 4 5lg&oO  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八