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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !$&K~>`  
3ne=7Mj  
struts.action.extension )kg^.tP  
      The URL extension to use to determine if the request is meant for a Struts action r_ Xk:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 t&-7AjS5  
 fkYa  
struts.configuration y5oiH  
      The org.apache.struts2.config.Configuration implementation class MF>?! !  
        org.apache.struts2.config.Configuration接口名 C/lp Se  
H!7/U_AH  
struts.configuration.files T} U`?s`)  
      A list of configuration files automatically loaded by Struts z i<C 5E`  
      struts自动加载的一个配置文件列表 XFH7jHnL+U  
,Y}HP3  
struts.configuration.xml.reload %/~Sq?f-9@  
      Whether to reload the XML configuration or not &Tl3\T0D  
      是否加载xml配置(true,false) ;B!&( 50e  
z+Y0Zh";/#  
struts.continuations.package +AXui|mn  
      The package containing actions that use Rife continuations ]BX|G`CCc  
      含有actions的完整连续的package名称 7TlOF  
 Q L  
struts.custom.i18n.resources 3rOv j&2  
      Location of additional localization properties files to load f`vB$r>  
      加载附加的国际化属性文件(不包含.properties后缀) ])vM# f  
k`xPf\^tf  
struts.custom.properties Dy0RZF4_  
      Location of additional configuration properties files to load *\-6p0~A  
      加载附加的配置文件的位置 joYj`K  
dTS 7l02  
CSIW|R@   
struts.devMode JrS|Ib)6  
      Whether Struts is in development mode or not 4fQ<A <2/  
      是否为struts开发模式 `Y8 F}%i[  
Br;1kQ%eC  
struts.dispatcher.parametersWorkaround yA =#Ji  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M/>^_zG  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) KN_3]-+B  
MT}9T  
struts.enable.DynamicMethodInvocation a$"3T  
      Allows one to disable dynamic method invocation from the URL  w8$8P  
        允许动态方法调用 05$CIS>!  
z GA1  
struts.freemarker.manager.classname 8,=,'gFO  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class E%2]c?N5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 V+-%$-w>  
FAo\`x  
struts.i18n.encoding wNq#vn  
      The encoding to use for localization messages 8FU8E2zo  
      国际化信息内码 }cEcoi<v!  
9K~X}]u  
struts.i18n.reload <Zn]L:  
      Whether the localization messages should automatically be reloaded b-\ 1D;]  
      是否国际化信息自动加载 2w+w'Ag_R  
(HDR}!.E  
struts.locale i=nd][1n  
      The default locale for the Struts application ?7*.S Lt  
      默认的国际化地区信息 Qw}uB$S>  
]]V|[g&aJ  
struts.mapper.class ? 0p_/mZ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class PFu{OJg&  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Rcc9Tx(zvQ  
xo a1='  
struts.multipart.maxSize \0). ODA(  
      The maximize size of a multipart request (file upload) fl9`Mgu  
      multipart请求信息的最大尺寸(文件上传用) +d>?aqI\A  
^|hlY ]Ev  
struts.multipart.parser ot($aY,t  
      The org.apache.struts2.dispatcher.multipart. @j=:V!g2O  
      MultiPartRequest parser implementation for a multipart request (file upload) _h6SW2:z!E  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y;-$w|&P>  
~l+2Z4nV  
9$$dSN\&  
struts.multipart.saveDir ]{s0/(EA  
      The directory to use for storing uploaded files TD!--l*gL  
      设置存储上传文件的目录夹 A+de;&  
@>cz$##`  
struts.objectFactory &N:Iirg  
      The com.opensymphony.xwork2.ObjectFactory implementation class <A^sg?s<'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) kUGOkSP8[  
;G.5.q[A  
struts.objectFactory.spring.autoWire ($'W(DH4  
      Whether Spring should autoWire or not #oW" 3L{,  
      是否自动绑定Spring 0Ta&o-e  
E2K{9@i  
struts.objectFactory.spring.useClassCache X|y(B%:  
      Whether Spring should use its class cache or not vJ9I z  
      是否spring应该使用自身的cache Vdd HK  
d<K2 \:P{}  
struts.objectTypeDeterminer R-LMV  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ( RO-~-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 70Jx[3vr  
& %A&&XT9  
struts.serve.static.browserCache !mHMFwvS  
If static content served by the Struts filter should set browser caching header properties or not eu={6/O  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 `Y O(C<r-  
p>_Qns7W  
struts.serve.static & 6'Rc#\P  
      Whether the Struts filter should serve static content or not sPX&XqWx  
      是否struts过滤器应该提供静态内容 FJ,"a%m/Q  
}C4wED.  
struts.tag.altSyntax u}3D'h  
      Whether to use the alterative syntax for the tags or not Znr@-=xZO*  
      是否可以用替代的语法替代tags YLJ^R$pi  
ckGmwYP9  
struts.ui.templateDir v;soJlxF~  
      The directory containing UI templates hh8Grl;  
      UI templates的目录夹 %5RR<[_/;  
3{$vN).  
struts.ui.theme }`cf3'rdk  
      The default UI template theme |;:g7eb  
      默认的UI template主题 V56WgOBxz  
Yw] 7@  
struts.url.http.port v{d$DZUs  
      The HTTP port used by Struts URLs J-#V_TzJ?  
      设置http端口 NNt  n  
i/j53towe  
struts.url.https.port &S,_Z/BS;  
      The HTTPS port used by Struts URLs 0vETg'r  
      设置https端口 {ETM >  
Z _Wzm!:  
struts.url.includeParams  J3`0i@  
      The default includeParams method to generate Struts URLs :of(wZa3Q  
      在url中产生 默认的includeParams Hz\@#   
|Dt_lQp#  
(\0 <|pW  
struts.velocity.configfile jr,N+K(@T  
      The Velocity configuration file path jc!m; U t  
      velocity配置文件路径 '2GnAws^  
nv0\On7wd  
struts.velocity.contexts /~M H]Gh  
      List of Velocity context names o^XDG^35`  
      velocity的context列表 SQ_Je+X  
KL9k9|!p  
fIl;qGz85  
struts.velocity.manager.classname >H^#!eaqw  
      org.apache.struts2.views.velocity.VelocityManager implementation class z/u^  
      org.apache.struts2.views.velocity.VelocityManager接口名 [\AOr`7  
 0:f]&Ng  
struts.velocity.toolboxlocation Xu8I8nAwl  
      The location of the Velocity toolbox 6<2H 7'  
      velocity工具盒的位置 9w$m\nV  
struts.xslt.nocache 3pg=9*{  
      Whether or not XSLT templates should not be cached *,mI=1  
      是否XSLT模版应该被缓存 <+k"3r{y"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五