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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >>>&{>}!  
X~o6Xkg  
struts.action.extension Rr%CP[bH  
      The URL extension to use to determine if the request is meant for a Struts action [$x&J6jF.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ]-2Q0wTj  
ukInS:7  
struts.configuration #a$k3C  
      The org.apache.struts2.config.Configuration implementation class lx)Bj6  
        org.apache.struts2.config.Configuration接口名 Q 1:7 9  
$~h\`vF&  
struts.configuration.files Vw@?t(l>  
      A list of configuration files automatically loaded by Struts gfPR3%EXs  
      struts自动加载的一个配置文件列表 'xG:v)(  
%fF0<c^-U  
struts.configuration.xml.reload Y3n6y+Uzk  
      Whether to reload the XML configuration or not A,u}p rwH  
      是否加载xml配置(true,false) H,Y+n)5  
7_ G$&  
struts.continuations.package ~BbF:DS  
      The package containing actions that use Rife continuations #X`qkW.T<  
      含有actions的完整连续的package名称 x("V +y*  
1SwKd*aRR?  
struts.custom.i18n.resources xNAa,aMM  
      Location of additional localization properties files to load Zr#\>h'c  
      加载附加的国际化属性文件(不包含.properties后缀) S=^kR [O"  
UG,<\k&  
struts.custom.properties \@eaSa  
      Location of additional configuration properties files to load /=i+7^  
      加载附加的配置文件的位置 "NM SLqO  
!zW22M  
Lk>GEi|  
struts.devMode 5 A2u|UU  
      Whether Struts is in development mode or not !5VT[w 1  
      是否为struts开发模式 X$0&tmum  
[AA*B  
struts.dispatcher.parametersWorkaround i^Ip+J+[  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic P2t9RCH  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) )J>-;EYb8  
"BvAiT{u  
struts.enable.DynamicMethodInvocation 3[UB3F 4K  
      Allows one to disable dynamic method invocation from the URL i2y E-sgF  
        允许动态方法调用 7lH.>n  
` JZ`j7f  
struts.freemarker.manager.classname ZR*Dl.GWY  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class j96\({;k  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ,?KN;~t#vz  
6E))4 lW  
struts.i18n.encoding D\LXjEm e.  
      The encoding to use for localization messages P:QSr8K  
      国际化信息内码 ^!j,d_)b!  
huTWoMU  
struts.i18n.reload n]< >$  
      Whether the localization messages should automatically be reloaded ibqJ'@{=e  
      是否国际化信息自动加载 JO=kfWW  
$%"?0S  
struts.locale ~/R bYvyA  
      The default locale for the Struts application a j13cC$  
      默认的国际化地区信息 wticA#mb  
Ni Y.OwKr  
struts.mapper.class $OP w$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6^#@y|.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 k@=w? m  
'>U&B}  
struts.multipart.maxSize c>)_I  
      The maximize size of a multipart request (file upload) ?Mj@;O9>'  
      multipart请求信息的最大尺寸(文件上传用) .ZVADVg\  
SMMvRF`7  
struts.multipart.parser )ePQN~#K}  
      The org.apache.struts2.dispatcher.multipart. lG/h[  
      MultiPartRequest parser implementation for a multipart request (file upload) d>-k-X-[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 0)HZ5^J  
AD0pmD  
cd3;uB4\,  
struts.multipart.saveDir |<Rf^"T  
      The directory to use for storing uploaded files ]dU/;8/%  
      设置存储上传文件的目录夹 uk<JV*R=  
_I<LB0kgf.  
struts.objectFactory `F,*NESv  
      The com.opensymphony.xwork2.ObjectFactory implementation class Jr.4Y>;}e3  
      com.opensymphony.xwork2.ObjectFactory接口(spring) LR:meCOI  
&Z%|H>+;T  
struts.objectFactory.spring.autoWire o4Hp|iK&0  
      Whether Spring should autoWire or not Uf`~0=w  
      是否自动绑定Spring Z%9_vpWc  
]R%+  
struts.objectFactory.spring.useClassCache Re]7G.y  
      Whether Spring should use its class cache or not y=q iGi[Nc  
      是否spring应该使用自身的cache -d8U Hc  
/^9KZj  
struts.objectTypeDeterminer fb;y*-?#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class K)_DaTmi)  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6Sr}I,DG  
cwC-)#R']  
struts.serve.static.browserCache WcZck{ehd  
If static content served by the Struts filter should set browser caching header properties or not o>?#$~XNv  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 eUZvJTE  
Z+M* z;  
struts.serve.static {<#~Ya-  
      Whether the Struts filter should serve static content or not $^Z ugD  
      是否struts过滤器应该提供静态内容 oJln"-M1nx  
dHJ#xmE!pP  
struts.tag.altSyntax m6iQB\ \  
      Whether to use the alterative syntax for the tags or not =ec"G2$?"  
      是否可以用替代的语法替代tags |x/00XhS  
uh 3yiDj@a  
struts.ui.templateDir TZ>_N;jTZ  
      The directory containing UI templates m0[JiwPI  
      UI templates的目录夹 )zYm]\@  
G~FAChI8![  
struts.ui.theme FNgC TO%  
      The default UI template theme ,5J}Wo?Q}  
      默认的UI template主题 8TV "9{ n  
K'u66%wAL  
struts.url.http.port xa]e9u%  
      The HTTP port used by Struts URLs ['#3GJz-  
      设置http端口 )a0%62  
;($"_h  
struts.url.https.port m{{ 8#@g  
      The HTTPS port used by Struts URLs F?*ko,  
      设置https端口 JR^#NefJ  
yf@DaIG  
struts.url.includeParams  Unc_e  
      The default includeParams method to generate Struts URLs )D>= \ Me  
      在url中产生 默认的includeParams *wNO3tP't  
Di>B:=  
x-Ug(/!^  
struts.velocity.configfile Kjfpq!NYE  
      The Velocity configuration file path *fg|HH+i  
      velocity配置文件路径 BE LxaV,  
p8_ CY[U  
struts.velocity.contexts y~-dQ7r  
      List of Velocity context names Yj#4{2A  
      velocity的context列表 C[IY9s:Pf  
SQ0t28N3h  
2GW.'\D  
struts.velocity.manager.classname OHyBNJ  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^!yJ;'H\  
      org.apache.struts2.views.velocity.VelocityManager接口名 } Rs@  
l?J|Ip2W  
struts.velocity.toolboxlocation WIkr0k  
      The location of the Velocity toolbox wN^$8m5\T^  
      velocity工具盒的位置 V+- ]txu|  
struts.xslt.nocache ON q=bI*  
      Whether or not XSLT templates should not be cached *Iir/6myM  
      是否XSLT模版应该被缓存 Aat-938FP6  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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