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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9C_*3?6  
I*Vt,JYx  
struts.action.extension oEJaH  
      The URL extension to use to determine if the request is meant for a Struts action B &?fM~J  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 vYDSu.C@a  
e RA7i  
struts.configuration  kI%peb?  
      The org.apache.struts2.config.Configuration implementation class 7Rnm%8?T  
        org.apache.struts2.config.Configuration接口名 f`9JE8  
#+9rjq:v#]  
struts.configuration.files *C\(wL  
      A list of configuration files automatically loaded by Struts ,eDD:#)$}  
      struts自动加载的一个配置文件列表 =p]mX )I_  
;)?( 2 wP  
struts.configuration.xml.reload +0J@y1  
      Whether to reload the XML configuration or not RU0i#suiz  
      是否加载xml配置(true,false) GM](=|F  
&y7 0  
struts.continuations.package wepwX y"  
      The package containing actions that use Rife continuations ;7rd;zJ  
      含有actions的完整连续的package名称 q +R*Hi  
/HkFlfPd  
struts.custom.i18n.resources _#!U"hkH  
      Location of additional localization properties files to load g<$. - g  
      加载附加的国际化属性文件(不包含.properties后缀) L}$z/jo  
0x@A~!MoP  
struts.custom.properties IU|kNBo  
      Location of additional configuration properties files to load .s2$al  
      加载附加的配置文件的位置 %:3'4;jh%  
w?*z^y@  
d ",(a Z  
struts.devMode II;Te7~  
      Whether Struts is in development mode or not nL+p~Hi  
      是否为struts开发模式 '^iUx,,ZQ  
s\gp5MT  
struts.dispatcher.parametersWorkaround oQT2S>cm^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic *KJB>W%@uM  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) *0y{ ~@  
Kb&V!#o)  
struts.enable.DynamicMethodInvocation ~~nqU pK?v  
      Allows one to disable dynamic method invocation from the URL ZyI$M3{J  
        允许动态方法调用 :+ Jt^ 6  
?mx\eX{  
struts.freemarker.manager.classname FI"HJwAs  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7 Wl-n  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 B+] D5K  
I[0!S IqY  
struts.i18n.encoding Nxk(mec"  
      The encoding to use for localization messages "R[l ZJ@  
      国际化信息内码 c.%.\al8oW  
^lj7(  
struts.i18n.reload KjYAdia:H  
      Whether the localization messages should automatically be reloaded E{y1S\7K  
      是否国际化信息自动加载 <T+!V-Pj*  
z.oU4c  
struts.locale V`#.7uUP  
      The default locale for the Struts application \X|sU:g  
      默认的国际化地区信息 %}3qR~;  
h3!$r~T!a:  
struts.mapper.class +G*JrwJ&=  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]~0}=,H$N  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !GwL,)0@^  
.cDOl_z<:G  
struts.multipart.maxSize sy/nESZs  
      The maximize size of a multipart request (file upload) 5Bjgr  
      multipart请求信息的最大尺寸(文件上传用) y(W|eBe  
PuL<^aJ  
struts.multipart.parser <a( }kk}  
      The org.apache.struts2.dispatcher.multipart. D`yEwpV^  
      MultiPartRequest parser implementation for a multipart request (file upload) Y32 "N[yw  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) //f  
u92^(|  
YXW%]Uy+  
struts.multipart.saveDir [?k8}B)mHB  
      The directory to use for storing uploaded files p H@]Y+W  
      设置存储上传文件的目录夹 +4))/` DA  
?r=jF)C<'  
struts.objectFactory T/1gI9 X  
      The com.opensymphony.xwork2.ObjectFactory implementation class @? c2)0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?jx1R^  
J h&~ToF!  
struts.objectFactory.spring.autoWire MGJ.,tK1  
      Whether Spring should autoWire or not vBcq_sbo  
      是否自动绑定Spring 3qL>-%):*  
R?o$Y6}5  
struts.objectFactory.spring.useClassCache d5`3wd]]'v  
      Whether Spring should use its class cache or not r!PpUwod  
      是否spring应该使用自身的cache dG7OqA:9  
P!G858V(  
struts.objectTypeDeterminer #S]ER907  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class vw,rF`LjZ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 [* ?Awf`   
ZyrI R  
struts.serve.static.browserCache V w||!d  
If static content served by the Struts filter should set browser caching header properties or not c2t=_aAIPQ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?iI4x%y  
myl+J;,]  
struts.serve.static ,'xYlH3s  
      Whether the Struts filter should serve static content or not {(U %i\F\  
      是否struts过滤器应该提供静态内容 aI^/X {d  
ZOCDA2e(j  
struts.tag.altSyntax D=m 'pL/pl  
      Whether to use the alterative syntax for the tags or not /DQaGq/Ld  
      是否可以用替代的语法替代tags 2EZb )&Q  
bef_rH@`  
struts.ui.templateDir 1cS}J:0P  
      The directory containing UI templates F *FwRj  
      UI templates的目录夹 ?qCK7 $ j  
|7yAX+  
struts.ui.theme @=}YTtq  
      The default UI template theme -gSUjP  
      默认的UI template主题 o(DOQGl  
Zjbc3 M5  
struts.url.http.port mEw ~yOW]M  
      The HTTP port used by Struts URLs F a'k0/_j  
      设置http端口 0"CG7Vg,zh  
&?mD$Eo  
struts.url.https.port Hemq +]6^  
      The HTTPS port used by Struts URLs _%5R o6  
      设置https端口 4"gM<z  
$ s9Vrw0Z  
struts.url.includeParams tjupJ*Rt  
      The default includeParams method to generate Struts URLs (h >-&.`&  
      在url中产生 默认的includeParams emCM\|NQg&  
?b(=1S\E'^  
N5a*7EJv+  
struts.velocity.configfile xuqv6b.  
      The Velocity configuration file path $0 vb^  
      velocity配置文件路径 zuUW|r  
i_j[?.?X}  
struts.velocity.contexts KXx32 b,~  
      List of Velocity context names 8C*c{(4  
      velocity的context列表 mV3cp rRqv  
Z'"tB/=W  
.Y&)4+ckL  
struts.velocity.manager.classname nih0t^m'  
      org.apache.struts2.views.velocity.VelocityManager implementation class 7Zlw^'q$:L  
      org.apache.struts2.views.velocity.VelocityManager接口名 eA E`# t  
\O2Rhz  
struts.velocity.toolboxlocation $<}$DH_Y  
      The location of the Velocity toolbox IZpP[hov  
      velocity工具盒的位置 XD.)Dl8  
struts.xslt.nocache A"L&a l$i  
      Whether or not XSLT templates should not be cached hDF@'G8F  
      是否XSLT模版应该被缓存 #qK:J;Sn3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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