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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 MQ44uHJ  
kR|y0V {K*  
struts.action.extension d3GK.8y_z  
      The URL extension to use to determine if the request is meant for a Struts action lND[anB!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +b+sQ<w?.  
o3=kF  
struts.configuration 0,/x#  
      The org.apache.struts2.config.Configuration implementation class }H=OVbQor  
        org.apache.struts2.config.Configuration接口名 ">3@<f>  
y~7lug  
struts.configuration.files O 0#Jl8  
      A list of configuration files automatically loaded by Struts Bv8C_-lV/  
      struts自动加载的一个配置文件列表 p0K;m%  
]B4mm__  
struts.configuration.xml.reload aTsfl  
      Whether to reload the XML configuration or not w|C~{  
      是否加载xml配置(true,false) 7VcVI? ?  
Q\L5ZJ%y/  
struts.continuations.package \]xYV}(FO  
      The package containing actions that use Rife continuations 4Z }{hc\J  
      含有actions的完整连续的package名称 2r,'4%G  
: qRT9n$  
struts.custom.i18n.resources T;@>O^  
      Location of additional localization properties files to load Wi^rnr'S s  
      加载附加的国际化属性文件(不包含.properties后缀) \aIy68rH,  
\BXVWE|  
struts.custom.properties p8l#=]\ ;  
      Location of additional configuration properties files to load 4-_lf(# i  
      加载附加的配置文件的位置 31& .Lnq  
e6lOmgHn5  
zF&UdS3  
struts.devMode AF]!wUKxy  
      Whether Struts is in development mode or not r%d 11[z  
      是否为struts开发模式 /Ph&:n\4  
m7vxzC*  
struts.dispatcher.parametersWorkaround X vMG09  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9^ p{/Io  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1 ],, Ar5  
fhKiG%i'l  
struts.enable.DynamicMethodInvocation 4iqmi<[("  
      Allows one to disable dynamic method invocation from the URL b6&NzUt34V  
        允许动态方法调用 D^55:\4(  
v&2@<I>  
struts.freemarker.manager.classname mwH!:f  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class od*Z$Hb>'  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @T1+b"TC  
]31XX=  
struts.i18n.encoding x }'4^Cv  
      The encoding to use for localization messages g ypq`F  
      国际化信息内码 ?7)(qnbe"  
3]n@c?lw  
struts.i18n.reload AYIz;BmWy  
      Whether the localization messages should automatically be reloaded ApYud?0b  
      是否国际化信息自动加载 qO{ ZZ*  
%aBJ+V F  
struts.locale ~h0BT(p/  
      The default locale for the Struts application WwtE=od  
      默认的国际化地区信息 |qcFmy  
^z}lGu  
struts.mapper.class ,Bw)n,  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class T% 13 '  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 5!jNL~M  
=4<S8Cp  
struts.multipart.maxSize <3=qLm  
      The maximize size of a multipart request (file upload) P3tG#cJ  
      multipart请求信息的最大尺寸(文件上传用) B36puz 0{  
&4&33D  
struts.multipart.parser X2dc\v.x  
      The org.apache.struts2.dispatcher.multipart. rn:zKTyhw  
      MultiPartRequest parser implementation for a multipart request (file upload) E8_Le  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gT&'i(c  
5b1uD>,;y  
U?mf^'RE  
struts.multipart.saveDir RE $3| z  
      The directory to use for storing uploaded files `1bX.7K43  
      设置存储上传文件的目录夹 Fra>|;do  
<o!&Kk9  
struts.objectFactory ()M@3={R  
      The com.opensymphony.xwork2.ObjectFactory implementation class U5CPkH1  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5 k%9>U%$  
bk"k&.C^+  
struts.objectFactory.spring.autoWire 7X{bB  
      Whether Spring should autoWire or not M*|VLOo=v  
      是否自动绑定Spring 'K`Rbhy  
51G=RYay9  
struts.objectFactory.spring.useClassCache k l!?/M  
      Whether Spring should use its class cache or not ct}%Mdg  
      是否spring应该使用自身的cache [Z5[~gP3  
Afy .3T @)  
struts.objectTypeDeterminer r}0C8(oq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Va@6=U7c  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 QhX C>)PW  
PB(  
struts.serve.static.browserCache .3&a{IxM]  
If static content served by the Struts filter should set browser caching header properties or not / $9 :L  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {(z(NgXG/  
Z@,PZ   
struts.serve.static Yi&-m}  
      Whether the Struts filter should serve static content or not /}$T38  
      是否struts过滤器应该提供静态内容 ]oeuIRyQ  
3g0u#t{  
struts.tag.altSyntax )nNCB=YF!  
      Whether to use the alterative syntax for the tags or not 1<a@p}  
      是否可以用替代的语法替代tags /MKNv'5&!%  
$xA J9_2P  
struts.ui.templateDir f(6UL31  
      The directory containing UI templates z^rhgs?4  
      UI templates的目录夹 (D>y6r> r  
j&dx[4|m:h  
struts.ui.theme NSS4v tA  
      The default UI template theme FE+7X=y  
      默认的UI template主题 h41$|lonU%  
p,w|=@=  
struts.url.http.port Z .bit_(  
      The HTTP port used by Struts URLs g=xv+e  
      设置http端口 t{Hh&HX  
Jh$"fr3  
struts.url.https.port *M wfod  
      The HTTPS port used by Struts URLs ]l=O%Ev  
      设置https端口 AhvvuN$n%  
-@SOo"P  
struts.url.includeParams Y9i9Uc.]  
      The default includeParams method to generate Struts URLs ,@Fgr(?'`>  
      在url中产生 默认的includeParams _{e&@ d  
0R@g(  
*D?((_+  
struts.velocity.configfile H DF"]l;  
      The Velocity configuration file path [`.3f'")j  
      velocity配置文件路径 .-SF$U_P*a  
ovd^,?ib  
struts.velocity.contexts 8:HSPDU.  
      List of Velocity context names vuR5}/Ev  
      velocity的context列表 (Qk&g"I  
gX@nPZjg  
IXZ(]&we  
struts.velocity.manager.classname # 0GGc.  
      org.apache.struts2.views.velocity.VelocityManager implementation class L$1K7<i.  
      org.apache.struts2.views.velocity.VelocityManager接口名 / R_ u\?k(  
L1hD}J'$4  
struts.velocity.toolboxlocation H]_WFiW-9  
      The location of the Velocity toolbox sDLS*467  
      velocity工具盒的位置 ':l"mkd+`  
struts.xslt.nocache pi`;I*f/  
      Whether or not XSLT templates should not be cached  Y*@|My`  
      是否XSLT模版应该被缓存 7E$eN8H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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