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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ut SW>  
mz-sazgV  
struts.action.extension 92F 9)S{"  
      The URL extension to use to determine if the request is meant for a Struts action $U*b;'o  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 H\r- ;,&  
H6o_*Y  
struts.configuration -l(G"]tRB  
      The org.apache.struts2.config.Configuration implementation class "`6pF8k  
        org.apache.struts2.config.Configuration接口名 W!Qaa(o?  
fYgEiap  
struts.configuration.files #(Xv\OE  
      A list of configuration files automatically loaded by Struts IjaFNZZC!  
      struts自动加载的一个配置文件列表 !-tP\%'  
ro}WBv  
struts.configuration.xml.reload `f)X!S2l  
      Whether to reload the XML configuration or not xR~9|H9a  
      是否加载xml配置(true,false) _keI0ML-#  
8x~'fzf;Sq  
struts.continuations.package 9*Z!=Y#4,  
      The package containing actions that use Rife continuations f%[0}.wp  
      含有actions的完整连续的package名称 U;w| =vM  
Q8h0:Q  
struts.custom.i18n.resources q1Sr#h|  
      Location of additional localization properties files to load dy"7Wl]hi7  
      加载附加的国际化属性文件(不包含.properties后缀) 9EFQo^ E  
o;[cApiQ,2  
struts.custom.properties qu`F,OG  
      Location of additional configuration properties files to load r]3v.GZy  
      加载附加的配置文件的位置 ]H-5    
(F+]h]KSi  
zE8qU;  
struts.devMode |s!<vvp]  
      Whether Struts is in development mode or not 16-1&WuY@  
      是否为struts开发模式 !n^7&Y[N;  
z(dDX%k@  
struts.dispatcher.parametersWorkaround nvInq2T 1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,R$U(,>_0  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) \Dx5=Lh  
GeFu_7u!|  
struts.enable.DynamicMethodInvocation ;659E_y>  
      Allows one to disable dynamic method invocation from the URL hd>_K*oH  
        允许动态方法调用 /A82~  
TQL_K8k@_  
struts.freemarker.manager.classname P;bOtT --  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class p!/ *(TT  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 .VA'W16  
KN< KZM  
struts.i18n.encoding -Pp =)_O  
      The encoding to use for localization messages :"Gd;~p.  
      国际化信息内码 Sp-M:,H3H  
nd)`G$gL  
struts.i18n.reload SO+J5,)HA  
      Whether the localization messages should automatically be reloaded JWsOze 8#  
      是否国际化信息自动加载 dUc?>#TU  
3kJ7aBiR<  
struts.locale 0f;`Zj0l8  
      The default locale for the Struts application 1 ~s$<  
      默认的国际化地区信息 =`+c}i?  
[A'9sxG  
struts.mapper.class ijeas<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $wm8N.I3I  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :F.eyA|#@G  
LTZ~Id-)P  
struts.multipart.maxSize j&l2n2z  
      The maximize size of a multipart request (file upload) )Im3';qt  
      multipart请求信息的最大尺寸(文件上传用) _edT+r>+  
2#_ i_j  
struts.multipart.parser 7Um3m yXU  
      The org.apache.struts2.dispatcher.multipart. T]lVwj  
      MultiPartRequest parser implementation for a multipart request (file upload) HV[*=Qi  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) czcsXBl[  
f)#nXTXeC  
_zG[b/:p  
struts.multipart.saveDir xX~; /e&,  
      The directory to use for storing uploaded files = KJ_LE~)  
      设置存储上传文件的目录夹 |bX{MF  
F3=iyiz6  
struts.objectFactory AiUK#I  
      The com.opensymphony.xwork2.ObjectFactory implementation class *?R<gWCF  
      com.opensymphony.xwork2.ObjectFactory接口(spring) g E$@:j  
AcIw; c:  
struts.objectFactory.spring.autoWire K*aGz8N  
      Whether Spring should autoWire or not umI6# Vd`=  
      是否自动绑定Spring 4mci@1K#^  
U&OE*dq  
struts.objectFactory.spring.useClassCache `{+aJ0<S  
      Whether Spring should use its class cache or not >U6 2vX"  
      是否spring应该使用自身的cache qlg?'l$03)  
,3bAlc8D7  
struts.objectTypeDeterminer oLc  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class v"V?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ~+&Z4CYb  
n_ S)9C'=  
struts.serve.static.browserCache 9t"/@CH{  
If static content served by the Struts filter should set browser caching header properties or not /9<62F@zJ"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]-8yZWal  
=P`l+k3  
struts.serve.static @YI- @  
      Whether the Struts filter should serve static content or not BE,H`G #h  
      是否struts过滤器应该提供静态内容 lQt* LWd[  
(R^Ca7F  
struts.tag.altSyntax m ol|E={si  
      Whether to use the alterative syntax for the tags or not 9UcSQ"D  
      是否可以用替代的语法替代tags #TD0)C/  
Pi'[d7o  
struts.ui.templateDir *6QmYq6c<  
      The directory containing UI templates c n^z=?  
      UI templates的目录夹 u= ydX  
o0FVVSl  
struts.ui.theme u;H5p\zAzz  
      The default UI template theme :eL ja*  
      默认的UI template主题 +*Pj,+;W  
5tcJT z  
struts.url.http.port &)F# cVB  
      The HTTP port used by Struts URLs .WpvDDUK3  
      设置http端口 11BfJvs:  
o WcBQ|   
struts.url.https.port ds<q"S {p  
      The HTTPS port used by Struts URLs \"=b8x  
      设置https端口 k-|b{QZ8!;  
mVEHVz $  
struts.url.includeParams EM0]"s@Lf  
      The default includeParams method to generate Struts URLs BLcsIyq  
      在url中产生 默认的includeParams ?vocI  
$#7~  
 rhO 8v  
struts.velocity.configfile Qh!h "]  
      The Velocity configuration file path (7?jjH^4  
      velocity配置文件路径 I>%@[h,+  
'/ GZ,~q  
struts.velocity.contexts O`2hTY\  
      List of Velocity context names +HfZs"x  
      velocity的context列表 ehr,+GX  
ALl0(<u67  
Z >F5rkJ  
struts.velocity.manager.classname Fy-|E>@]D  
      org.apache.struts2.views.velocity.VelocityManager implementation class =J827c{.  
      org.apache.struts2.views.velocity.VelocityManager接口名 D",~?  
50Y^##]&  
struts.velocity.toolboxlocation ?%wM8?  
      The location of the Velocity toolbox 4kdQ h]  
      velocity工具盒的位置 SAtK 'Jx[  
struts.xslt.nocache @ Yzc?+x  
      Whether or not XSLT templates should not be cached :yE7jXB  
      是否XSLT模版应该被缓存 pb=yQ}.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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