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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |@sUN:G4k  
52C>f6w  
struts.action.extension r_@;eh  
      The URL extension to use to determine if the request is meant for a Struts action sn@gchO9s  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ,=Xr'7w,  
*6df|q  
struts.configuration yS@c2I602  
      The org.apache.struts2.config.Configuration implementation class q$(aMO&J  
        org.apache.struts2.config.Configuration接口名 k9~NIvnB`  
!L2R0Y:a  
struts.configuration.files L1VUfEG-  
      A list of configuration files automatically loaded by Struts Ha[Bf*  
      struts自动加载的一个配置文件列表 brl(7_ 2  
r0+lH:G*q  
struts.configuration.xml.reload vCb3Ra~L`  
      Whether to reload the XML configuration or not )%-FnW  
      是否加载xml配置(true,false) =XzrmPu  
\v)Dy)Vhg2  
struts.continuations.package K#%L6=t$<  
      The package containing actions that use Rife continuations :p;!\4)u  
      含有actions的完整连续的package名称 Ew*_@hVC  
Oq7M1|{  
struts.custom.i18n.resources V\W?@V9g-  
      Location of additional localization properties files to load x{*g^f  
      加载附加的国际化属性文件(不包含.properties后缀) d/v{I  
SGXXv  
struts.custom.properties f<=<:+  
      Location of additional configuration properties files to load S*Qip,u  
      加载附加的配置文件的位置 A0m  
:"5i/Cx  
ONH!ms(kb  
struts.devMode AME3hA  
      Whether Struts is in development mode or not s{(aW5$!s  
      是否为struts开发模式 cV\(Z6u  
3=RVJb  
struts.dispatcher.parametersWorkaround |F=!0Id<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic YiJnh47  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ({v$!AAv  
^ |z|kc  
struts.enable.DynamicMethodInvocation B5GT^DaT  
      Allows one to disable dynamic method invocation from the URL JF!JY( U,  
        允许动态方法调用 Ew5(U`]  
mKugb_d?  
struts.freemarker.manager.classname b|^g51v  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class R9A8)dDz  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]i(tou-[i  
jVC`38|  
struts.i18n.encoding ;PCnEs  
      The encoding to use for localization messages NoTEbFrV  
      国际化信息内码 cY8X A6  
# ` Q3Z}C  
struts.i18n.reload ![h+ R@_(  
      Whether the localization messages should automatically be reloaded j]U sb_7  
      是否国际化信息自动加载 cXU8}>qY7  
 s6bILz-u  
struts.locale K1>X%f^  
      The default locale for the Struts application W/!M eTU&E  
      默认的国际化地区信息 $M{MOehZ  
AFE6@/'  
struts.mapper.class Q97F5ru6  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ZKy)F-yX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Cuu yG8  
rH*1bDL  
struts.multipart.maxSize I,TJV)B  
      The maximize size of a multipart request (file upload) R[KF${X4  
      multipart请求信息的最大尺寸(文件上传用) q.0Evr:  
zx` %)r  
struts.multipart.parser -FQ!  
      The org.apache.struts2.dispatcher.multipart. )[fjZG[  
      MultiPartRequest parser implementation for a multipart request (file upload) 'NJGez'b ,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) j5Kw0Wy7  
mN^w?R41m  
jz,Mm,Gi  
struts.multipart.saveDir 7k,pUC-w7c  
      The directory to use for storing uploaded files ,;;7+|`  
      设置存储上传文件的目录夹 NwAvxN<R(f  
jf&B5>-x  
struts.objectFactory e_RLKFv7  
      The com.opensymphony.xwork2.ObjectFactory implementation class DrI"YX  
      com.opensymphony.xwork2.ObjectFactory接口(spring) nhV\<  
#&zM.O1Q  
struts.objectFactory.spring.autoWire ~o{GQ>  
      Whether Spring should autoWire or not F6 mc<n  
      是否自动绑定Spring :rxS &5  
SnIH6k0T_  
struts.objectFactory.spring.useClassCache f>*T0"\c  
      Whether Spring should use its class cache or not #b~B 0:U  
      是否spring应该使用自身的cache -55[3=#  
Lx%*IE|c  
struts.objectTypeDeterminer #1Zqq([@  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T_t5Tg~i[N  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 aQ!QrTua-  
-R %T Dx  
struts.serve.static.browserCache 9mE6Cp.Wv  
If static content served by the Struts filter should set browser caching header properties or not LSewMj  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 pK`1pfih  
 NOY`1i  
struts.serve.static k=]#)A(#C  
      Whether the Struts filter should serve static content or not -M]B;[^  
      是否struts过滤器应该提供静态内容 $Lj~ge3#  
>+ ,w2m@0  
struts.tag.altSyntax Fl0(n #L  
      Whether to use the alterative syntax for the tags or not ?'_Ty`vT  
      是否可以用替代的语法替代tags Cws;6i*=@  
OaTnQ|*  
struts.ui.templateDir G5WQTMzf&  
      The directory containing UI templates d]A.=NAc  
      UI templates的目录夹 PP*6nW8  
(g" {A  
struts.ui.theme &f=O`*I'+!  
      The default UI template theme NS<C"O  
      默认的UI template主题 :1 *q}R   
vEy0DHEE  
struts.url.http.port sNa Lz  
      The HTTP port used by Struts URLs ATQw=w 3W  
      设置http端口 Borr  
TWzlF>4N  
struts.url.https.port J`6IH#54  
      The HTTPS port used by Struts URLs zH"a>+st=  
      设置https端口 vYFtw L`  
@%lkRU)  
struts.url.includeParams gB _/(  
      The default includeParams method to generate Struts URLs 1JQ5bB"  
      在url中产生 默认的includeParams kM6i{{Q  
J#.f%VJ  
*wk?{ U  
struts.velocity.configfile D\:dn  
      The Velocity configuration file path ^VC /tJ  
      velocity配置文件路径 # &,W x  
1NAGGr00  
struts.velocity.contexts ai7R@~O:_k  
      List of Velocity context names q t(+X  
      velocity的context列表 Hs:0j$  
1d$qr`  
t1JU_P  
struts.velocity.manager.classname sX@}4[)<&  
      org.apache.struts2.views.velocity.VelocityManager implementation class gmUXh;aHc  
      org.apache.struts2.views.velocity.VelocityManager接口名 A%[e<vj9  
reQr=OAez  
struts.velocity.toolboxlocation -F. c<@*E  
      The location of the Velocity toolbox J&2 J6Eq  
      velocity工具盒的位置  \gsJ1@  
struts.xslt.nocache bO i-QD  
      Whether or not XSLT templates should not be cached zG0]!A  
      是否XSLT模版应该被缓存 a}e GB +  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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