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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 R>/M>*C  
7/PHg)&  
struts.action.extension c*RZbE9k  
      The URL extension to use to determine if the request is meant for a Struts action K[~Wj8W0  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 o4w+)hh  
-fL|e/   
struts.configuration J:?t.c~$o  
      The org.apache.struts2.config.Configuration implementation class ^nbze  
        org.apache.struts2.config.Configuration接口名 s.=)p"pTd  
Kzo{L  
struts.configuration.files v 0rX/ mj  
      A list of configuration files automatically loaded by Struts k{c~  
      struts自动加载的一个配置文件列表 "'t<R}t!A  
+FY-r[_~  
struts.configuration.xml.reload )tFFa*Z'  
      Whether to reload the XML configuration or not f910drg7  
      是否加载xml配置(true,false) 0qG[hxt%  
^>%=/RX  
struts.continuations.package }K<;ygcWE@  
      The package containing actions that use Rife continuations ?=r!b{9  
      含有actions的完整连续的package名称 {D."A$AAa  
nz+o8L,  
struts.custom.i18n.resources '3+S5p8  
      Location of additional localization properties files to load R#Bt!RNZ  
      加载附加的国际化属性文件(不包含.properties后缀) D.*JG7;=Z  
OiM{@  
struts.custom.properties &=$8 v"&^  
      Location of additional configuration properties files to load qhK;#<#  
      加载附加的配置文件的位置 ^z[s;:-  
\RQ5$!O  
3-o ]H'6  
struts.devMode Cf`UMQ a  
      Whether Struts is in development mode or not JGj_{|=:  
      是否为struts开发模式 <( BAws(X  
YLSG 5vF+  
struts.dispatcher.parametersWorkaround ei\X/Z*q%P  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ql&P1|&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) OQ+?nB  
*zX<`E  
struts.enable.DynamicMethodInvocation =_^g]?5i  
      Allows one to disable dynamic method invocation from the URL ik8e  
        允许动态方法调用 et9 c<'  
hp,T(D|  
struts.freemarker.manager.classname HoRLy*nU  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 2mU}"gf[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 7DOAG[gH  
]"/ *7NM  
struts.i18n.encoding ,l0s(Cg  
      The encoding to use for localization messages (]7@0d88  
      国际化信息内码 ,P auP~L  
NA/+bgyuT>  
struts.i18n.reload |I OTW=>  
      Whether the localization messages should automatically be reloaded Rx`0VQ  
      是否国际化信息自动加载 QO#ZQ~  
l\$C)q6O  
struts.locale QRdb~f;<hj  
      The default locale for the Struts application  n8:2Z>  
      默认的国际化地区信息 }}_WZ},h  
B5I(ai7<M  
struts.mapper.class ; H:qDBH  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class c#HocwP@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 5~rs55W  
$<ZX};/D  
struts.multipart.maxSize ~gBqkZ# y?  
      The maximize size of a multipart request (file upload) wV5<sH__  
      multipart请求信息的最大尺寸(文件上传用) oK(ua  
QQ!,W':  
struts.multipart.parser kQ'G+Kw~F  
      The org.apache.struts2.dispatcher.multipart. YmF`7W  
      MultiPartRequest parser implementation for a multipart request (file upload) vm4]KEyrX  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {<kl)}  
.-WCB  
xPb`CY7  
struts.multipart.saveDir C{2 UPG4x  
      The directory to use for storing uploaded files |9_e2OwH  
      设置存储上传文件的目录夹 8uI^ B  
!. 0W?6yo  
struts.objectFactory X(WG:FP27  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6?,r d   
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~)ByARao=  
rzl2Oj"4  
struts.objectFactory.spring.autoWire OmoY] 8N}  
      Whether Spring should autoWire or not Q'A->I<;_s  
      是否自动绑定Spring (1Kh9w:^"  
M2oKLRt)L  
struts.objectFactory.spring.useClassCache c!841~p(Q  
      Whether Spring should use its class cache or not /,:32H  
      是否spring应该使用自身的cache 0f-gQD  
E* lqCh  
struts.objectTypeDeterminer 0;XnNz3&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /1OhW>W3eH  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 c69C=WQ  
~z< ? Wh  
struts.serve.static.browserCache SnXYq 7`t  
If static content served by the Struts filter should set browser caching header properties or not F[?t"d  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7 'f>  
D2?7=5DgS  
struts.serve.static WrG)&&d  
      Whether the Struts filter should serve static content or not p1|@F^Q  
      是否struts过滤器应该提供静态内容 H>Fy 2w  
|faXl3|  
struts.tag.altSyntax S8]g'!  
      Whether to use the alterative syntax for the tags or not h[lh01z  
      是否可以用替代的语法替代tags N86Hn]#  
lq%s/l  
struts.ui.templateDir #[i({1`^L  
      The directory containing UI templates #K4wO!d  
      UI templates的目录夹 6'Lij&,f?{  
7M$>'PfO  
struts.ui.theme Fe/*U4xU  
      The default UI template theme FJ2^0s/"  
      默认的UI template主题 2^:5aABQ  
Zd5fr c$  
struts.url.http.port |H |ewVUY  
      The HTTP port used by Struts URLs sXfx[)T<  
      设置http端口 9xWeVlfQ  
n=yFw\w'  
struts.url.https.port s\ ~r 8  
      The HTTPS port used by Struts URLs ChBZGuO:  
      设置https端口 XS1>ti|<  
/sYD+*a  
struts.url.includeParams qQ|v~^  
      The default includeParams method to generate Struts URLs ey Cg *  
      在url中产生 默认的includeParams F5*Xx g}N  
M"V?fn'  
UCq+F96j  
struts.velocity.configfile g!K(xh EO  
      The Velocity configuration file path Y]Xal   
      velocity配置文件路径 Z&21gN  
Uh9$e  
struts.velocity.contexts 2} T" |56  
      List of Velocity context names -Ol/r=/&  
      velocity的context列表 TSD7.t)^  
2?m'Dy'JE  
ND I|;   
struts.velocity.manager.classname k'S/nF A  
      org.apache.struts2.views.velocity.VelocityManager implementation class 1YS{; y[o  
      org.apache.struts2.views.velocity.VelocityManager接口名 !J+5l&  
,7/N=mz  
struts.velocity.toolboxlocation M/#<=XhA  
      The location of the Velocity toolbox [1Vh3~>J6  
      velocity工具盒的位置 WO '33Q(  
struts.xslt.nocache ~s88JLw%&u  
      Whether or not XSLT templates should not be cached H(""So7L  
      是否XSLT模版应该被缓存 ,rG$JCS'KQ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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