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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 UZgrSX {  
>waA\C}  
struts.action.extension -BsZw. 7P  
      The URL extension to use to determine if the request is meant for a Struts action -1R7 8(1  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2%]#rZ  
`Cu9y+t  
struts.configuration . ;D'  
      The org.apache.struts2.config.Configuration implementation class fY|vq amA;  
        org.apache.struts2.config.Configuration接口名 ~\c  j  
X,K`]hb*0_  
struts.configuration.files pf3-  
      A list of configuration files automatically loaded by Struts 86o'3G9@  
      struts自动加载的一个配置文件列表  mNX0BZ  
1DF8-|+  
struts.configuration.xml.reload X)8Edw[?N3  
      Whether to reload the XML configuration or not i2\CDYP  
      是否加载xml配置(true,false) Lf8{']3  
&7c#i  
struts.continuations.package 14y>~~3C4  
      The package containing actions that use Rife continuations < -Ax)zE  
      含有actions的完整连续的package名称 @$wfE\_L  
YJwffV}nd  
struts.custom.i18n.resources W'Qy4bl7C  
      Location of additional localization properties files to load S @)P#  
      加载附加的国际化属性文件(不包含.properties后缀) {_4zm&  
 o7AI  
struts.custom.properties !,*Uvs@b  
      Location of additional configuration properties files to load 2}ywNVS  
      加载附加的配置文件的位置 j9= )^?  
v)'Uoe"R%  
ZXWm?9uw  
struts.devMode QmsS,Zljo  
      Whether Struts is in development mode or not az Oib=3fz  
      是否为struts开发模式 "%=K_WJ?  
4o@^._-R  
struts.dispatcher.parametersWorkaround p vu% p8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 1qwJPM  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) yIS&ZtBA  
q4u-mM7#7  
struts.enable.DynamicMethodInvocation _6 yrd.H  
      Allows one to disable dynamic method invocation from the URL &Fch{%S>  
        允许动态方法调用 =Flr05}m  
m=]}Tn  
struts.freemarker.manager.classname ]T>YYz  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .O9Pn,:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 JWQ.Efe  
a+n?y)u  
struts.i18n.encoding [g: KFbEY  
      The encoding to use for localization messages kgRgHkAH~  
      国际化信息内码 B5va4@  
cLMFC1=b  
struts.i18n.reload t%Y}JKLR  
      Whether the localization messages should automatically be reloaded !]!9 $6n  
      是否国际化信息自动加载 4rNuAK`2  
8;Df/ %  
struts.locale hx@E,  
      The default locale for the Struts application W-vEh  
      默认的国际化地区信息 X""}]@B9z  
6^nxw>-   
struts.mapper.class 4eS(dPI0  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class L4Si0 K  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <9?`zo$y  
'S; l"  
struts.multipart.maxSize $60]RCu  
      The maximize size of a multipart request (file upload) iIg99c7/&9  
      multipart请求信息的最大尺寸(文件上传用) ?yvjX90  
Fi#b0S  
struts.multipart.parser U9q6m3#$  
      The org.apache.struts2.dispatcher.multipart. Za1VJ5-  
      MultiPartRequest parser implementation for a multipart request (file upload) ,j\UZ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {s[,CUL0  
w;T?m,"  
~ponYc.Y  
struts.multipart.saveDir *lp{,  
      The directory to use for storing uploaded files PvS\  
      设置存储上传文件的目录夹 `,FvYA"  
4i Z7BD  
struts.objectFactory |_wbxdq  
      The com.opensymphony.xwork2.ObjectFactory implementation class `"j_]  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Iy {&T#e"  
X FvPc  
struts.objectFactory.spring.autoWire eX{Tyd{  
      Whether Spring should autoWire or not ixo?o]Xb`  
      是否自动绑定Spring Qx[ nR/  
`z`"0;,7S  
struts.objectFactory.spring.useClassCache ]WC@*3'kye  
      Whether Spring should use its class cache or not </7?puVR  
      是否spring应该使用自身的cache 0'^zIL#.  
V?Ye^ -29  
struts.objectTypeDeterminer }9(:W</}  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class a(eUdGJ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mybjcsV4  
ZCCwx71j  
struts.serve.static.browserCache {@<EVw  
If static content served by the Struts filter should set browser caching header properties or not jX{t/8v/s4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中  .tRWL!  
J"]P" `/  
struts.serve.static {K+]^M  
      Whether the Struts filter should serve static content or not lnRbvulH  
      是否struts过滤器应该提供静态内容 MIWI0bnf  
'~kAsn*/  
struts.tag.altSyntax dK?vg@|'  
      Whether to use the alterative syntax for the tags or not iY4FOt7\  
      是否可以用替代的语法替代tags NxQ+z^o\  
o_ SR  
struts.ui.templateDir qi-!iT(fe  
      The directory containing UI templates {!7 ^ w  
      UI templates的目录夹 +"2IQme5  
5oE!^bF?  
struts.ui.theme POc-`]6 <F  
      The default UI template theme Q:!.YSB  
      默认的UI template主题 M }tr*L  
hKYA5]  
struts.url.http.port JGKiVBN  
      The HTTP port used by Struts URLs rz3!0P!"K  
      设置http端口 )]C7+{ImC  
?3:xR_VWZu  
struts.url.https.port Z,m;eCLG]  
      The HTTPS port used by Struts URLs S,TK;g  
      设置https端口 .jC-&(R +  
kkE1CHY  
struts.url.includeParams a).bk!G  
      The default includeParams method to generate Struts URLs w6[uM%fHG  
      在url中产生 默认的includeParams #97w6,P+  
f_GqJ7Gk]  
6@@J>S>  
struts.velocity.configfile H{3A6fb<  
      The Velocity configuration file path :If1zB)  
      velocity配置文件路径 wWR9dsB.;  
@9<MW  
struts.velocity.contexts `FL!L59nz  
      List of Velocity context names RtVG6'Y  
      velocity的context列表 hZ@Wl6FG;  
#x;i R8^  
3mnq=.<(w  
struts.velocity.manager.classname {`vv-[j|  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]MXeWS(  
      org.apache.struts2.views.velocity.VelocityManager接口名 Z6I^HG{:  
bl;C=n  
struts.velocity.toolboxlocation ngoAFb  
      The location of the Velocity toolbox e$+?l~  
      velocity工具盒的位置 O0i[GCtP5  
struts.xslt.nocache %XieKL  
      Whether or not XSLT templates should not be cached 71ctjU`U2  
      是否XSLT模版应该被缓存 ?`%)3gx|  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五