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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 J/B`c(  
)>I-j$%=2  
struts.action.extension R(p3* t&n  
      The URL extension to use to determine if the request is meant for a Struts action W(\ ^6S)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O#?@' 1  
IA680^  
struts.configuration VCQo3k5 {  
      The org.apache.struts2.config.Configuration implementation class tQ(4UHqa~  
        org.apache.struts2.config.Configuration接口名 +l<l3uBNS  
BV=~ !tsl  
struts.configuration.files 2(H-q(  
      A list of configuration files automatically loaded by Struts d;.H 9Ne  
      struts自动加载的一个配置文件列表 52t6_!y+V  
*cAI gO7  
struts.configuration.xml.reload RZP7h>y6@  
      Whether to reload the XML configuration or not Kjt\A]R%  
      是否加载xml配置(true,false) I'0{Q`}  
l;i /$Yu7  
struts.continuations.package -mw`f)?Ev  
      The package containing actions that use Rife continuations p((a(Q/  
      含有actions的完整连续的package名称 -_ <z_IL\%  
qylI/,y{  
struts.custom.i18n.resources ip!-~HNwJ  
      Location of additional localization properties files to load +F+M[ef<ws  
      加载附加的国际化属性文件(不包含.properties后缀) ,-[z?dvO  
hGJANA  
struts.custom.properties KZ@'NnQ  
      Location of additional configuration properties files to load n}/4em?  
      加载附加的配置文件的位置 M< /  
tn}MKo  
OXI>`$we  
struts.devMode q5{h@}|M  
      Whether Struts is in development mode or not zD;k|"e  
      是否为struts开发模式 uR6 `@F  
lRR A2Kql  
struts.dispatcher.parametersWorkaround <nc6 &+  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic vwAtX($  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q) =LbR{#  
8]Q#P  
struts.enable.DynamicMethodInvocation *USG p<iH  
      Allows one to disable dynamic method invocation from the URL fwNj@fl_,e  
        允许动态方法调用 0+F--E4  
!<?<f db  
struts.freemarker.manager.classname <.&84c]/&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ?!y<%&U  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ;OZl' . %`  
\3`r/,wY  
struts.i18n.encoding 33g$mUB  
      The encoding to use for localization messages Lg{M<Q)4  
      国际化信息内码 }:57Ym)7w  
7 j6<  
struts.i18n.reload B>g(i=E  
      Whether the localization messages should automatically be reloaded wSi$.C2  
      是否国际化信息自动加载 |Wr$5r  
)+|Y;zC9  
struts.locale FG^lh  
      The default locale for the Struts application sE&1ZJ]7  
      默认的国际化地区信息 HI7w@V8Ed  
-5JN`  
struts.mapper.class ["[v  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class )]kxLf#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Whe-()pG{  
9g]%}+D  
struts.multipart.maxSize c(aykIVOo  
      The maximize size of a multipart request (file upload)  QJ!2Vw4K  
      multipart请求信息的最大尺寸(文件上传用) yK-DzAv  
 { &Vt]9  
struts.multipart.parser ~;#sj&~  
      The org.apache.struts2.dispatcher.multipart. :Iuc H%6V  
      MultiPartRequest parser implementation for a multipart request (file upload) OY8P  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3g3f87[  
W/g_XQ   
DL uaM?7  
struts.multipart.saveDir dz!m8D0  
      The directory to use for storing uploaded files zl( o/n  
      设置存储上传文件的目录夹 5XV|*O;  
p6!5}dD(  
struts.objectFactory t&Q(8Hz  
      The com.opensymphony.xwork2.ObjectFactory implementation class No`*->R  
      com.opensymphony.xwork2.ObjectFactory接口(spring) hZlHY9[t?  
B<i(Y1n[  
struts.objectFactory.spring.autoWire zK&1ti@wln  
      Whether Spring should autoWire or not ,3N>`]Km'  
      是否自动绑定Spring d0-4KN2  
*2pf> UzL  
struts.objectFactory.spring.useClassCache 4:-x!lt  
      Whether Spring should use its class cache or not 7ug"SV6Hb  
      是否spring应该使用自身的cache HLOr Dlj7  
f;AI4:#I  
struts.objectTypeDeterminer 7hTpjox2  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?Yzw]ag.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 d::9,~  
OTl9MwW  
struts.serve.static.browserCache &>&6OV]P'  
If static content served by the Struts filter should set browser caching header properties or not [!4xInS  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?5J>]: +ZZ  
"YaT1` Kr  
struts.serve.static t<ZBp0  
      Whether the Struts filter should serve static content or not ==Xy'n9'  
      是否struts过滤器应该提供静态内容 Q-rG~O9-  
g9fYt&  
struts.tag.altSyntax U8J9 #+:  
      Whether to use the alterative syntax for the tags or not lrj&60R`w  
      是否可以用替代的语法替代tags bv VkN  
b $yIM  
struts.ui.templateDir &>]U c%JK  
      The directory containing UI templates 6~Dyr82"B  
      UI templates的目录夹 e^oGiL ~  
9!FU,4 X  
struts.ui.theme KJ:z\N8eo  
      The default UI template theme O-[  
      默认的UI template主题 "{\xBX~oM  
{Wi*B(  
struts.url.http.port 7'"qW"<  
      The HTTP port used by Struts URLs ptrwZ8'  
      设置http端口 4wkv#vi7!-  
^RO<r}B u  
struts.url.https.port } C:i0Q  
      The HTTPS port used by Struts URLs `hdff0  
      设置https端口 1Iy1xiP  
mt$rjk=  
struts.url.includeParams 0|.jIix;  
      The default includeParams method to generate Struts URLs Hi$R"O (  
      在url中产生 默认的includeParams [T,Hpt  
2x9.>nwhb  
W=3#oX.GsU  
struts.velocity.configfile #4./>}G  
      The Velocity configuration file path , ^K.J29  
      velocity配置文件路径 c?e-2Dp(  
YoW)]n  
struts.velocity.contexts URs]S~tk  
      List of Velocity context names ox%j_P9@:  
      velocity的context列表 /,\U*'-  
QS!Z*vG  
yQMwt|C4  
struts.velocity.manager.classname Zp^O1&\SK?  
      org.apache.struts2.views.velocity.VelocityManager implementation class ' tY(&&  
      org.apache.struts2.views.velocity.VelocityManager接口名 +<.o,3  
LRts W(A/  
struts.velocity.toolboxlocation !^&VZh  
      The location of the Velocity toolbox 9 :Oz-b  
      velocity工具盒的位置 oKsArZG  
struts.xslt.nocache ?&-1(&  
      Whether or not XSLT templates should not be cached 2|=hF9  
      是否XSLT模版应该被缓存 3qn_9f]  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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