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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6,R<8a;Wn  
zRau/1Y0  
struts.action.extension aH500  
      The URL extension to use to determine if the request is meant for a Struts action LzB*d  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 jM'Fb.>~  
7d_"4;K)  
struts.configuration %a-fxV[  
      The org.apache.struts2.config.Configuration implementation class r"5\\qf5*  
        org.apache.struts2.config.Configuration接口名 f,@~@f X  
4 T/ ~erc  
struts.configuration.files yN#]Q}4  
      A list of configuration files automatically loaded by Struts , d4i0;2}+  
      struts自动加载的一个配置文件列表 !E *IktAI  
r9-)+R J  
struts.configuration.xml.reload `E>o:tff  
      Whether to reload the XML configuration or not 9<Th: t|w  
      是否加载xml配置(true,false) cf_X=;yaqy  
qNkX:|j  
struts.continuations.package )B5U0iIi  
      The package containing actions that use Rife continuations VOmS>'$  
      含有actions的完整连续的package名称 $@dPIq4o;}  
_xP@kN~  
struts.custom.i18n.resources n 2(\pQKm  
      Location of additional localization properties files to load D sBZ%  
      加载附加的国际化属性文件(不包含.properties后缀) iW? NxP  
,#.^2O9-^  
struts.custom.properties 3ZYrNul"  
      Location of additional configuration properties files to load rV I-Yb  
      加载附加的配置文件的位置 `zcpaE.@  
:\1vy5 _  
34vH+,!u  
struts.devMode -r{]9v2j  
      Whether Struts is in development mode or not yv5c0G.D  
      是否为struts开发模式 {JcMJZ3  
2|+4xqNJm  
struts.dispatcher.parametersWorkaround kr]_?B(r  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic YdAC<,e&A  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) x C>>K6Nb  
00A2[gO9  
struts.enable.DynamicMethodInvocation vmtmiN8;d  
      Allows one to disable dynamic method invocation from the URL LFQP ysC  
        允许动态方法调用 DJNM =v  
6rAenK-%  
struts.freemarker.manager.classname Y3luU&'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class q +c~Bd  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Fw"x4w  
dC">AW  
struts.i18n.encoding 'KNUPi|  
      The encoding to use for localization messages ?vP }#N!=d  
      国际化信息内码 e(-Vp7vXG  
YW-Ge  
struts.i18n.reload bEzy KrN\  
      Whether the localization messages should automatically be reloaded ,<CzS,(  
      是否国际化信息自动加载 ?)+I'lW!  
? ~~,?Uxw!  
struts.locale 54&&=NVs|  
      The default locale for the Struts application RYX=;n  
      默认的国际化地区信息 <$'FTv  
#!M;4~Sfx  
struts.mapper.class HG})V PBa  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9'\*Ip^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 SL%lY  
9KZLlEk5O  
struts.multipart.maxSize g*:f#u5  
      The maximize size of a multipart request (file upload) x$V[xX  
      multipart请求信息的最大尺寸(文件上传用) /57)y_ \  
Pexg"328  
struts.multipart.parser )G9,5[  
      The org.apache.struts2.dispatcher.multipart. Ob7F39):N  
      MultiPartRequest parser implementation for a multipart request (file upload) e5cvmUF_W  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) / =:X,^"P  
c< g{ &YJ  
}Xy<F?Mh  
struts.multipart.saveDir EXbhyg  
      The directory to use for storing uploaded files q^kOyA.  
      设置存储上传文件的目录夹 fYZ)5xnj  
km!jxs  
struts.objectFactory <UO'&?G  
      The com.opensymphony.xwork2.ObjectFactory implementation class y+a]?`2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;jpsH?3g  
.AHww7  
struts.objectFactory.spring.autoWire c ]&|.~2&  
      Whether Spring should autoWire or not c5tCw3$t  
      是否自动绑定Spring [,p[%Dza  
{= l 9{K`~  
struts.objectFactory.spring.useClassCache 09rbu\h  
      Whether Spring should use its class cache or not C+c;UzbD  
      是否spring应该使用自身的cache t[^68]  
W-@}q}A  
struts.objectTypeDeterminer l8ZzKb-  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class &]HY:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1'[_J  
tdB<  
struts.serve.static.browserCache ?e!mv}B_  
If static content served by the Struts filter should set browser caching header properties or not ZZ{:f+=?$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }Z}4_/E  
pWXoJ0N  
struts.serve.static aUX.4#|%  
      Whether the Struts filter should serve static content or not C)`y<O  
      是否struts过滤器应该提供静态内容 elm]e2)F  
*H,vqs\}y  
struts.tag.altSyntax {%3sj"suB  
      Whether to use the alterative syntax for the tags or not f\gN+4)  
      是否可以用替代的语法替代tags +&hd3  
bIahjxd:  
struts.ui.templateDir g)#neEA J  
      The directory containing UI templates E h>qUa  
      UI templates的目录夹 k9?fE  
D>Dch0{H,:  
struts.ui.theme 1-60gI1)  
      The default UI template theme qY$/i#  
      默认的UI template主题 G4eY}3F7,4  
8DP] C9  
struts.url.http.port =7uxzg/%Tj  
      The HTTP port used by Struts URLs .#y.:Pb|e  
      设置http端口 -%^KDyZ<&  
%) 8 UyZG  
struts.url.https.port bjEm=4FI;  
      The HTTPS port used by Struts URLs &]Q\@;]Aq  
      设置https端口 !r*Ogv[  
\sZ!F&a~  
struts.url.includeParams xA>O4S D  
      The default includeParams method to generate Struts URLs h*9s^`9)  
      在url中产生 默认的includeParams H"A|Z6y$^  
z<c@<M=Q*  
fB3W} dr  
struts.velocity.configfile !4B($]t  
      The Velocity configuration file path !B &%!06  
      velocity配置文件路径 0W I3m2i  
RZV6\ j  
struts.velocity.contexts {\+!@?  
      List of Velocity context names TS{ycGY  
      velocity的context列表 *CtO Q  
Wp<4F 6C$@  
gIfl}Jat  
struts.velocity.manager.classname "eiZZSz  
      org.apache.struts2.views.velocity.VelocityManager implementation class %;|^*?!J0  
      org.apache.struts2.views.velocity.VelocityManager接口名 B&E qd  
?tLBEoUmKT  
struts.velocity.toolboxlocation y9OxPq.Cy  
      The location of the Velocity toolbox 0HRLTgIC  
      velocity工具盒的位置 *u4h+P  
struts.xslt.nocache _Hn-bp[?>  
      Whether or not XSLT templates should not be cached nT.2HQ((Xg  
      是否XSLT模版应该被缓存 $($26g  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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