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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |JP'j1 Ka  
; sqxFF@  
struts.action.extension h@\HPYi#.  
      The URL extension to use to determine if the request is meant for a Struts action b!`Ze~V  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5zkj ;?s  
b& -8/t  
struts.configuration bd% M.,  
      The org.apache.struts2.config.Configuration implementation class $bfmsCcHL  
        org.apache.struts2.config.Configuration接口名 +dRRMyxe4  
5J1a8RBR  
struts.configuration.files F- u"zox  
      A list of configuration files automatically loaded by Struts o)x&|0_  
      struts自动加载的一个配置文件列表 <RY!Mc  
(TO<SY3AB  
struts.configuration.xml.reload W:6#0b"_#  
      Whether to reload the XML configuration or not 25 :vc0  
      是否加载xml配置(true,false) n%i L+I  
`D$^SHfyz  
struts.continuations.package o_[~{@RoR  
      The package containing actions that use Rife continuations H@~tJ\L  
      含有actions的完整连续的package名称 gs0`nysM#  
$#3[Z;\  
struts.custom.i18n.resources Ro<x#Uo  
      Location of additional localization properties files to load [McqwU/Q  
      加载附加的国际化属性文件(不包含.properties后缀) a" T+CA  
&-JIXVd*R  
struts.custom.properties -S&9"=v  
      Location of additional configuration properties files to load g)D@4RM  
      加载附加的配置文件的位置 [z+YX s!N  
^tWSu?9  
6d2e WS  
struts.devMode *.+F]-  
      Whether Struts is in development mode or not i[{*(Y$L  
      是否为struts开发模式  >;%QW  
lA;^c)  
struts.dispatcher.parametersWorkaround lN{>.q@V`r  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \Y!=O=za]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ,:MUf]Ky  
P4c3kO0  
struts.enable.DynamicMethodInvocation 8>D*U0sNl  
      Allows one to disable dynamic method invocation from the URL B,%KvL&xMX  
        允许动态方法调用 OL:hNbw'~T  
!?Y71:_!  
struts.freemarker.manager.classname {4f%UnSz(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Q u7ML]e?z  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5 wN)N~JE  
PYY<  
struts.i18n.encoding ! r/~D |  
      The encoding to use for localization messages G\,B*$3   
      国际化信息内码 h4MBw=Tz~  
0Js5 ' 9}H  
struts.i18n.reload rg]b$tL~  
      Whether the localization messages should automatically be reloaded @\xEK5SG  
      是否国际化信息自动加载 }1+2&Ps50  
5J&Gc;  
struts.locale _5O~ ]}  
      The default locale for the Struts application % W|Sl  
      默认的国际化地区信息 MPyDG"B*  
C=U4z|Ym  
struts.mapper.class 9f5~hBlo  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class LmJ _$?o  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 #UI`+2w  
Yl$ @/xAa  
struts.multipart.maxSize l[m*csDk"  
      The maximize size of a multipart request (file upload) j \d)#+;  
      multipart请求信息的最大尺寸(文件上传用) Zy:q)'D=  
K V?+9qa,  
struts.multipart.parser @Gw]cm  
      The org.apache.struts2.dispatcher.multipart. 6"}F KRR  
      MultiPartRequest parser implementation for a multipart request (file upload) EM +! ph  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0b8=94a{>  
/Dt:4{aTOC  
ui|6ih$+  
struts.multipart.saveDir T?=]&9Y'  
      The directory to use for storing uploaded files d7zZ~n  
      设置存储上传文件的目录夹   uk,9N  
C#1'kQO  
struts.objectFactory F{.g05^y  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6cbV[ !BL  
      com.opensymphony.xwork2.ObjectFactory接口(spring) NiE`u m  
_ D8 zKp  
struts.objectFactory.spring.autoWire ;p fN  
      Whether Spring should autoWire or not FYefn3b  
      是否自动绑定Spring .'2I9P\!  
x;~@T9.  
struts.objectFactory.spring.useClassCache AE`{k-3=%  
      Whether Spring should use its class cache or not Qm"~XP  
      是否spring应该使用自身的cache ;:J"- p  
NE) w$>0M  
struts.objectTypeDeterminer M\7F1\ X  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class t U~q4$qqE  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 RF4B ]Gqd  
:6EX-Xyj  
struts.serve.static.browserCache $ kMe8F_  
If static content served by the Struts filter should set browser caching header properties or not m] p]J_6A  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~HT:BO$  
%(POC=b#[  
struts.serve.static TM_bu  
      Whether the Struts filter should serve static content or not -O/[c  
      是否struts过滤器应该提供静态内容 m6 xbO  
}XpZgd$  
struts.tag.altSyntax ,+gtr.  
      Whether to use the alterative syntax for the tags or not K]7[|qf&   
      是否可以用替代的语法替代tags r~fnK%|  
)qFqf<:yc  
struts.ui.templateDir *p0n^XZ% ?  
      The directory containing UI templates 8. +f@wv  
      UI templates的目录夹 Fy$ C._C$  
T<y fpUzX  
struts.ui.theme .N\t3\9}  
      The default UI template theme @$$ J}~{  
      默认的UI template主题 fLSDt(c',  
Ep')@7^n  
struts.url.http.port O(.eHZ=  
      The HTTP port used by Struts URLs cP@H8|c=  
      设置http端口 t0P_$+w.>  
.i` -t"  
struts.url.https.port _25PyG  
      The HTTPS port used by Struts URLs F4Cq85#  
      设置https端口 t 0p  
O]F(vHK\   
struts.url.includeParams P$^I\aGO  
      The default includeParams method to generate Struts URLs j0 Os]a  
      在url中产生 默认的includeParams uOKdb6]r6  
7.n\a@I/  
?A*<Z%}1?  
struts.velocity.configfile d$?+>t/  
      The Velocity configuration file path YX3NZW2i  
      velocity配置文件路径 07ppq?,y  
r(n>N0:0Ls  
struts.velocity.contexts As tuM]  
      List of Velocity context names _ph1( !H$  
      velocity的context列表 /@DJf\`vM  
k<N5*k8M  
uo|:n"v  
struts.velocity.manager.classname ?\X9Ei  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;vpq0t`  
      org.apache.struts2.views.velocity.VelocityManager接口名 < 5ULu(b&$  
"#f5jH  
struts.velocity.toolboxlocation vn@sPT  
      The location of the Velocity toolbox !)}z{,Jx  
      velocity工具盒的位置 %y)hYLOJ  
struts.xslt.nocache [w+1<ou;j  
      Whether or not XSLT templates should not be cached 2G3Hi;q18  
      是否XSLT模版应该被缓存 wg:\$_Og  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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