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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 BMlnzi  
CXqU< a&  
struts.action.extension m.ib#Y)y  
      The URL extension to use to determine if the request is meant for a Struts action Jv  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0!v+ +  
I[|5 DQ  
struts.configuration rCGyr}(NC  
      The org.apache.struts2.config.Configuration implementation class (_^pX  
        org.apache.struts2.config.Configuration接口名 YGy.39@31  
7P}&<;5zD  
struts.configuration.files * b+ef  
      A list of configuration files automatically loaded by Struts Kk?P89=*  
      struts自动加载的一个配置文件列表 ia.95H;  
63b?-.!b  
struts.configuration.xml.reload r)$(>/[$  
      Whether to reload the XML configuration or not U 00}jH  
      是否加载xml配置(true,false) QdaYP  
5mNd5IM  
struts.continuations.package <0,c{e  
      The package containing actions that use Rife continuations E. @n Rj#  
      含有actions的完整连续的package名称 ;B[*f?y-  
H]@M00C  
struts.custom.i18n.resources [}snKogp  
      Location of additional localization properties files to load kh3PEq   
      加载附加的国际化属性文件(不包含.properties后缀) _tE`W96J  
PprCz"  
struts.custom.properties <"I#lib  
      Location of additional configuration properties files to load N}0-L$@SL  
      加载附加的配置文件的位置 V:?exJg9  
s;-(dQ{O  
`TNW LD@Z  
struts.devMode Y{P0?`  
      Whether Struts is in development mode or not TxZ ^zj  
      是否为struts开发模式 NUVFG;  
0eQwi l@  
struts.dispatcher.parametersWorkaround _F|oL|  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 9!hiCqA&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _~m@ SI  
<dxc"A  
struts.enable.DynamicMethodInvocation Ps3wg=ni[  
      Allows one to disable dynamic method invocation from the URL <ptZY.8N  
        允许动态方法调用 7TCY$RcF,I  
T_}9b  
struts.freemarker.manager.classname t!MGSB~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %u"3&kOV  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3D3/\E#'o  
I f9t^T#  
struts.i18n.encoding -3 .Sr|t  
      The encoding to use for localization messages ~(4;P%L:  
      国际化信息内码 h^E"eC  
:f?};t+  
struts.i18n.reload (UW V#AR  
      Whether the localization messages should automatically be reloaded !Yx9=>R  
      是否国际化信息自动加载 $q`650&S*  
E"p;  
struts.locale M*|,05>  
      The default locale for the Struts application )H&rr(  
      默认的国际化地区信息 '0z-duu  
P !:LAb(  
struts.mapper.class xij`Mr  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class m44Ab6gpsb  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Bi7QYi/  
'8+<^%c  
struts.multipart.maxSize 1-`Il]@?8  
      The maximize size of a multipart request (file upload) pWY $aI  
      multipart请求信息的最大尺寸(文件上传用) 09jU 0x  
};5d>#NK,Y  
struts.multipart.parser dTN[E6#R  
      The org.apache.struts2.dispatcher.multipart. H$2<N@'4z  
      MultiPartRequest parser implementation for a multipart request (file upload) - inZX`afA  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GAK!qLy9  
nM*-Dy3ou  
 /="~Jo  
struts.multipart.saveDir _tJp@\rOz=  
      The directory to use for storing uploaded files k WVaHZr  
      设置存储上传文件的目录夹 R pUq#Y:a  
|tl4I2AV  
struts.objectFactory cE3g7(a  
      The com.opensymphony.xwork2.ObjectFactory implementation class *3;H6   
      com.opensymphony.xwork2.ObjectFactory接口(spring) 9os>k*  
!]1'?8  
struts.objectFactory.spring.autoWire /"w%?Ea  
      Whether Spring should autoWire or not CmyCne   
      是否自动绑定Spring d~NvS-u7  
oWg"f*  
struts.objectFactory.spring.useClassCache {C6,h#|pg  
      Whether Spring should use its class cache or not 5U[m]W=B  
      是否spring应该使用自身的cache ygiZ~v4P/  
O,m0Xb2s]~  
struts.objectTypeDeterminer M`6rI  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6_`9 4+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 < {1'cx  
9F[k;Uw  
struts.serve.static.browserCache ^Ec);Z  
If static content served by the Struts filter should set browser caching header properties or not _.b^4^[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 t= =+SHGP  
`cee tr=  
struts.serve.static b^WTX  
      Whether the Struts filter should serve static content or not Bf {h\>q  
      是否struts过滤器应该提供静态内容 /DxaKZ ;b  
s,&tD WU  
struts.tag.altSyntax sFh mp  
      Whether to use the alterative syntax for the tags or not ~?l>QP|o  
      是否可以用替代的语法替代tags v<+5B5"1  
8t4o}3>  
struts.ui.templateDir |Nx7jGd:i  
      The directory containing UI templates Tf [o'=2  
      UI templates的目录夹 #^|"dIZ_M  
K"lZwU\:On  
struts.ui.theme "UUzLa_  
      The default UI template theme PtR8m=O  
      默认的UI template主题 !% 'dyj  
'Z^-(xG,+  
struts.url.http.port lOk'stLNa&  
      The HTTP port used by Struts URLs qX,T X 3  
      设置http端口 z"[}Sk  
l_Ee us  
struts.url.https.port {ek a xSR  
      The HTTPS port used by Struts URLs O7&6]/`  
      设置https端口 B.O &KRo  
1DzI@c~X  
struts.url.includeParams -M{.KqyW  
      The default includeParams method to generate Struts URLs mU d['Z  
      在url中产生 默认的includeParams ;;r}=0V*=  
:PJ 5~7C  
a#Yo^"*1  
struts.velocity.configfile rd#O ]   
      The Velocity configuration file path o5k7$0:t/  
      velocity配置文件路径 hq.XO=0"k  
NR </Jm*  
struts.velocity.contexts PcxCal4  
      List of Velocity context names ~yrEB:w`_  
      velocity的context列表 yL ?dC"c  
G a1B&@T  
/j}"4_. 8  
struts.velocity.manager.classname >ZX&2 {  
      org.apache.struts2.views.velocity.VelocityManager implementation class ExJch\  
      org.apache.struts2.views.velocity.VelocityManager接口名 'fIBJ3s[o  
>)V1aLu=  
struts.velocity.toolboxlocation aJAQ G  
      The location of the Velocity toolbox QC/%|M0 {  
      velocity工具盒的位置 > St]MS  
struts.xslt.nocache \piHdVD  
      Whether or not XSLT templates should not be cached )HaW# ,XB  
      是否XSLT模版应该被缓存 ]Ak/:pu  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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