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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 S]K^wj[  
85w D<bN27  
struts.action.extension nO\|43W  
      The URL extension to use to determine if the request is meant for a Struts action M\enjB7k  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4w*F!E2H\}  
_@F4s   
struts.configuration /(W{`  
      The org.apache.struts2.config.Configuration implementation class !CPv{c`|qg  
        org.apache.struts2.config.Configuration接口名 l.;y`cs  
Nr:%oD_G*  
struts.configuration.files i._d^lR\t  
      A list of configuration files automatically loaded by Struts K{x<zv&,  
      struts自动加载的一个配置文件列表 =y0!-y  
lBD{)Va  
struts.configuration.xml.reload yE{l Xp;  
      Whether to reload the XML configuration or not CW*6 -q  
      是否加载xml配置(true,false)  T~ /Bf  
*h@nAB\3  
struts.continuations.package <saS2.4  
      The package containing actions that use Rife continuations )#xd]~ <  
      含有actions的完整连续的package名称 dm8veKW'l  
: b $ M  
struts.custom.i18n.resources ;yBq'_e3  
      Location of additional localization properties files to load !+U#^2Gz  
      加载附加的国际化属性文件(不包含.properties后缀) ENA8o}n  
9} eIidwK  
struts.custom.properties TcauCL  
      Location of additional configuration properties files to load UF D_  
      加载附加的配置文件的位置 ;=_<\2  
y;;^o6Gnw  
w{I60|C]*  
struts.devMode Q]{DhDz ?+  
      Whether Struts is in development mode or not ?mG ?N(t/h  
      是否为struts开发模式 PM[6U#  
e7]IEBbX2O  
struts.dispatcher.parametersWorkaround {Y` 0}  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic rya4sxCh  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) s^L\hr  
6;*tw i  
struts.enable.DynamicMethodInvocation @#*B|lHE  
      Allows one to disable dynamic method invocation from the URL R?Iv<(I  
        允许动态方法调用 $v-lG(  
&fiDmUxj  
struts.freemarker.manager.classname |I)Ms NF  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class a9FlzR  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [GU!],Y  
b.8HGt<%  
struts.i18n.encoding hL67g  
      The encoding to use for localization messages &e cf5jFy  
      国际化信息内码 #)my)}o\p  
ds5<4SLj  
struts.i18n.reload -S)HB$8  
      Whether the localization messages should automatically be reloaded :bLGDEC  
      是否国际化信息自动加载 S9U9;>g  
}gag?yQ.^  
struts.locale Y($"i<rN  
      The default locale for the Struts application OWtN=Gk  
      默认的国际化地区信息 XfViLBY( >  
C [=/40D  
struts.mapper.class `9zP{p  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ~uzu*7U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 r}"T y  
xV}|G   
struts.multipart.maxSize WVJN6YNd V  
      The maximize size of a multipart request (file upload) @zsr.d6Q  
      multipart请求信息的最大尺寸(文件上传用) #/\FB'zC  
x*Z"~'DI  
struts.multipart.parser luat1#~J  
      The org.apache.struts2.dispatcher.multipart. BIw9@.99B-  
      MultiPartRequest parser implementation for a multipart request (file upload) k}F;e_  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (a&.Ad0{  
>'Y]C\  
#<yR:3  
struts.multipart.saveDir m feyR  
      The directory to use for storing uploaded files Bi?.G7>  
      设置存储上传文件的目录夹 _4[kg)#+  
~Z.lvdA_5  
struts.objectFactory .6e5w1r63  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8$?a?7,>|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) n?kU  
${6 ;]ye  
struts.objectFactory.spring.autoWire He"> kJx  
      Whether Spring should autoWire or not }I05&/o.3p  
      是否自动绑定Spring pOnZ7(  
u'Mq^8  
struts.objectFactory.spring.useClassCache +]5JXt^  
      Whether Spring should use its class cache or not i` Lt=)@&  
      是否spring应该使用自身的cache AHn^^'&x[  
Q? W]g%:)  
struts.objectTypeDeterminer ={#r/x  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ApU5,R0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 4V43(G  
0BxO75m}o  
struts.serve.static.browserCache `S$BBF;  
If static content served by the Struts filter should set browser caching header properties or not &S''fxGL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ZuBVq  
D$#=;H ,  
struts.serve.static {{@3r5K Gl  
      Whether the Struts filter should serve static content or not |M9x&(H;Hw  
      是否struts过滤器应该提供静态内容 :t\PYDp1  
]C5JP~ #z  
struts.tag.altSyntax O23f\pm&  
      Whether to use the alterative syntax for the tags or not I#uJdV|x  
      是否可以用替代的语法替代tags Ji%T|KR_  
&qrH  
struts.ui.templateDir ~q-|cl<  
      The directory containing UI templates W9a H]9b  
      UI templates的目录夹 &W".fRH_O  
~[ve?51  
struts.ui.theme cJi5\<b  
      The default UI template theme U{i9h6b"18  
      默认的UI template主题 {U-VInu  
c @2s!bs  
struts.url.http.port l$zo3[  
      The HTTP port used by Struts URLs Q\ro )r  
      设置http端口 33"{"2==`  
2&Wc4,O!i  
struts.url.https.port qI5/ME(}  
      The HTTPS port used by Struts URLs /PHktSG  
      设置https端口 *k=Pk  
W!GgtQw{F  
struts.url.includeParams ]%shs  
      The default includeParams method to generate Struts URLs s {$c8  
      在url中产生 默认的includeParams iFS ?nZ~.  
5hg>2?e9s?  
0r:8ni%cL  
struts.velocity.configfile ]<++w;#+x  
      The Velocity configuration file path NpH)K:$#%  
      velocity配置文件路径 QFDjsd4  
*$(9,y\  
struts.velocity.contexts qC`"<R=GX  
      List of Velocity context names 3ywBq9FGhp  
      velocity的context列表 E hd*  
b$.N8W%  
RFQa9Rxk  
struts.velocity.manager.classname .`xcR]PQ  
      org.apache.struts2.views.velocity.VelocityManager implementation class YBHmd  
      org.apache.struts2.views.velocity.VelocityManager接口名 K _O3DcQ  
#l8CUg~Uj  
struts.velocity.toolboxlocation <<4G GO  
      The location of the Velocity toolbox 8c]\4iau  
      velocity工具盒的位置 2{@: :JZ  
struts.xslt.nocache "qQU ^FW  
      Whether or not XSLT templates should not be cached aViJ?*  
      是否XSLT模版应该被缓存 h1JG^w$ 5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五