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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Zz&i0 r  
EIEq[`h  
struts.action.extension < 5_Ys  
      The URL extension to use to determine if the request is meant for a Struts action 9FLn7Y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 gX _BJ6  
J+|ohA  
struts.configuration f8^58]wx0  
      The org.apache.struts2.config.Configuration implementation class @>:07]Dxo  
        org.apache.struts2.config.Configuration接口名 imhq*f#A[  
/#se>4]  
struts.configuration.files /[IQ:':^  
      A list of configuration files automatically loaded by Struts l{a&Zy)  
      struts自动加载的一个配置文件列表 ?-84_i  
XP^6*}H.*  
struts.configuration.xml.reload KE3 /<0Z  
      Whether to reload the XML configuration or not 1=a}{)0h  
      是否加载xml配置(true,false) ^[Er%yr0  
` U3  
struts.continuations.package |O9=C`G_  
      The package containing actions that use Rife continuations O({_x@  
      含有actions的完整连续的package名称 enzQ}^  
eztk$o  
struts.custom.i18n.resources 2,;t%GB  
      Location of additional localization properties files to load !Cy2>6v7  
      加载附加的国际化属性文件(不包含.properties后缀) *pD;AU  
`^ _:  
struts.custom.properties lmcDA,7  
      Location of additional configuration properties files to load `k| nf9_  
      加载附加的配置文件的位置 `s_TY%&_}g  
QMxz@HGa|  
~+C#c,Nw  
struts.devMode uRy6~'  
      Whether Struts is in development mode or not |)-:w?  
      是否为struts开发模式 ?mAw"Rb!  
LG|,g3&  
struts.dispatcher.parametersWorkaround ^aW[~ c  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic V$%K=[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ZO 1J";>u  
5l}h8So4  
struts.enable.DynamicMethodInvocation *n'x S L  
      Allows one to disable dynamic method invocation from the URL Ma daxx  
        允许动态方法调用 ksaC[G;}:  
A,e^bM  
struts.freemarker.manager.classname _MEv*Q@o  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %S#"pKE6 R  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 L>b,}w  
"y0 A<-~  
struts.i18n.encoding 9.=#4OH/  
      The encoding to use for localization messages 8W>l(w9M  
      国际化信息内码 (B-9M)  
5w1[KO#K|  
struts.i18n.reload X8x>oV;8  
      Whether the localization messages should automatically be reloaded 7$=@q|$  
      是否国际化信息自动加载 +3>4 ?,^g  
xH[yIfHkG@  
struts.locale e"6i >w!  
      The default locale for the Struts application 3T/j5m}+!  
      默认的国际化地区信息 $\!;*SSj  
?63JQ.;  
struts.mapper.class uP]o39b;V  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \pGO}{3 e*  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z5[:Zf?h7J  
LeyDs>! 0  
struts.multipart.maxSize 8Q -F  
      The maximize size of a multipart request (file upload) U9 *2< c  
      multipart请求信息的最大尺寸(文件上传用) Oha g%<1#  
N=wy)+  
struts.multipart.parser y}HC\A77uD  
      The org.apache.struts2.dispatcher.multipart. KgWT&^t  
      MultiPartRequest parser implementation for a multipart request (file upload) p ri{vveN@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Dg+d=I?  
V^+:U>$w  
'e64%t  
struts.multipart.saveDir oLMi vy4  
      The directory to use for storing uploaded files CWQ2iu<_0  
      设置存储上传文件的目录夹 lh_zZ!)g  
I7^X;Q F  
struts.objectFactory k& s7 -yY  
      The com.opensymphony.xwork2.ObjectFactory implementation class +yH~G9u(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )>5k'1  
vqi$}=%n?W  
struts.objectFactory.spring.autoWire X2YOD2<v  
      Whether Spring should autoWire or not )"uG*}\?b  
      是否自动绑定Spring <,4(3 >js  
ha! "BR  
struts.objectFactory.spring.useClassCache 9 /(c cj  
      Whether Spring should use its class cache or not D#1~]d  
      是否spring应该使用自身的cache S5KYZ W  
_l=  
struts.objectTypeDeterminer _ng =5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class C}'="g^=sl  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Ef!p:HBJ  
~9{;V KgK  
struts.serve.static.browserCache >1G*ya)  
If static content served by the Struts filter should set browser caching header properties or not p30&JJ!~"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8G] m7Z  
GTe:k  
struts.serve.static zN)\2  
      Whether the Struts filter should serve static content or not :qTcxzV  
      是否struts过滤器应该提供静态内容 vcO`j<`  
UH-uU~  
struts.tag.altSyntax ZCFf@2&z8  
      Whether to use the alterative syntax for the tags or not 6n\z53Mk  
      是否可以用替代的语法替代tags :;;WK~* #  
cN lY=L  
struts.ui.templateDir SuH.lCF-g  
      The directory containing UI templates ,nB3c5X)|  
      UI templates的目录夹 k5;Vl0Ho  
g+ 1=5g  
struts.ui.theme tK}p05nPhl  
      The default UI template theme ]_: TrH  
      默认的UI template主题 )QCM2  
qJXsf M6  
struts.url.http.port vF6*c  
      The HTTP port used by Struts URLs ViwpyC'v  
      设置http端口 795Jwv  
Iei7!KLW  
struts.url.https.port wEnuUC4j  
      The HTTPS port used by Struts URLs =ch Af=  
      设置https端口 WCmNibj  
m_!vIUOz  
struts.url.includeParams Jp3di&x  
      The default includeParams method to generate Struts URLs Ryba[Fz4Di  
      在url中产生 默认的includeParams lAn+gDP  
q X%vRf0  
n~)HfY  
struts.velocity.configfile rH&r6Xv[  
      The Velocity configuration file path s'aV qB  
      velocity配置文件路径 "4ozlWx  
s w.AfRQP  
struts.velocity.contexts EhIV(q9x  
      List of Velocity context names 2@R8P~^W  
      velocity的context列表 fQW_YQsb  
IFrb}yH  
GtM( Y  
struts.velocity.manager.classname Z#F,y)YiO  
      org.apache.struts2.views.velocity.VelocityManager implementation class 1KYbL8c  
      org.apache.struts2.views.velocity.VelocityManager接口名 jxnQG A  
En,)}yI  
struts.velocity.toolboxlocation ^\[LrPq e  
      The location of the Velocity toolbox 12tJrS*Z  
      velocity工具盒的位置 ? %+VG  
struts.xslt.nocache Uc&6=5~Ys\  
      Whether or not XSLT templates should not be cached D,dHP-v  
      是否XSLT模版应该被缓存 +-aU+7tu  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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