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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 *(.^$Iq4  
XFAt\g  
struts.action.extension BjJ gQ`X  
      The URL extension to use to determine if the request is meant for a Struts action j?)`VLZ  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 4J|t}  
KKJ[  
struts.configuration w[[@&T\`  
      The org.apache.struts2.config.Configuration implementation class /4BXF4ksi,  
        org.apache.struts2.config.Configuration接口名 s(LqhF[N2]  
qinQ5t  
struts.configuration.files PBnn,#  
      A list of configuration files automatically loaded by Struts b<cM[GaV~  
      struts自动加载的一个配置文件列表 n.>'&<H>9  
\-id[zKb  
struts.configuration.xml.reload 5Cka."bQ  
      Whether to reload the XML configuration or not &b8D'XQu  
      是否加载xml配置(true,false) J%B?YO,  
~i#xjD5  
struts.continuations.package H pfI  
      The package containing actions that use Rife continuations ^Exq=oV  
      含有actions的完整连续的package名称 R6.#gb8^oS  
4 V*)0?oYE  
struts.custom.i18n.resources g o Z#  
      Location of additional localization properties files to load lY?d*qED  
      加载附加的国际化属性文件(不包含.properties后缀) H;L&G|[  
FeRuZww._J  
struts.custom.properties G\AQql(f4  
      Location of additional configuration properties files to load $^ 3 f}IzA  
      加载附加的配置文件的位置 +JVfnTd  
9xp ;$14  
U2u>A r  
struts.devMode ;S j* {  
      Whether Struts is in development mode or not # =3]bg  
      是否为struts开发模式 tTamFL6  
B 1.@K}  
struts.dispatcher.parametersWorkaround h:90K  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >GRuS\B  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) [! BH3J!  
,Ou)F;r  
struts.enable.DynamicMethodInvocation _xsYcw~)  
      Allows one to disable dynamic method invocation from the URL |sAg@kM  
        允许动态方法调用 __npX_4%S  
8~>3&jX  
struts.freemarker.manager.classname 4!|ar?Zy  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Rgu^> ~   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Ey%NqOs0#  
n\Nl2u& m  
struts.i18n.encoding nVD YAg'  
      The encoding to use for localization messages I78pul8!  
      国际化信息内码 gQwmYe  
T]`" Xl8  
struts.i18n.reload #YdU,y=B  
      Whether the localization messages should automatically be reloaded #Xly5J  
      是否国际化信息自动加载 +(0eOO'\M  
X=~QE}x  
struts.locale TXv#/@  
      The default locale for the Struts application ^u{$$.&  
      默认的国际化地区信息 5<poN)"  
"Q4{6FH+mB  
struts.mapper.class [j39A`t7 o  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class I^=M>_ s4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 LLiX%XOh  
4G ?k31,k  
struts.multipart.maxSize pDQ,v"  
      The maximize size of a multipart request (file upload) ,fRb6s-  
      multipart请求信息的最大尺寸(文件上传用) /8T{bJ5  
=j-{Mxb3  
struts.multipart.parser j/&7L@Y  
      The org.apache.struts2.dispatcher.multipart. /FY_LM  
      MultiPartRequest parser implementation for a multipart request (file upload) pz+#1=b]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?*=Jq  
tTal<4  
uDR(^T{g#  
struts.multipart.saveDir L\I/2aiE  
      The directory to use for storing uploaded files ~MF. M8  
      设置存储上传文件的目录夹 _nUuiB>  
,*US) &x  
struts.objectFactory "^`AS"z'  
      The com.opensymphony.xwork2.ObjectFactory implementation class 62) F  
      com.opensymphony.xwork2.ObjectFactory接口(spring) vr$ [  
ko$R%W&T  
struts.objectFactory.spring.autoWire =8-e1R/  
      Whether Spring should autoWire or not -L@=j  
      是否自动绑定Spring T=vI'"w  
N{0 D<"  
struts.objectFactory.spring.useClassCache rcCM x"L=  
      Whether Spring should use its class cache or not :M16ijkx  
      是否spring应该使用自身的cache cqDnZ`|6  
I6+5mv\  
struts.objectTypeDeterminer ryP z q}#  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class nM#\4Q[}Jh  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +}]xuYzo  
-VL3em|0  
struts.serve.static.browserCache !WN r09`  
If static content served by the Struts filter should set browser caching header properties or not o'G")o  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^)WG c/  
uP.3(n[&  
struts.serve.static *"wsMO  
      Whether the Struts filter should serve static content or not .3#Tw'% G  
      是否struts过滤器应该提供静态内容 V0>,Kxk  
4?`7XJ0a  
struts.tag.altSyntax 0t8-oui  
      Whether to use the alterative syntax for the tags or not A#}IbcZ|b  
      是否可以用替代的语法替代tags B^Vb=* QRo  
*:iFhKFU  
struts.ui.templateDir +m_quQ/ys  
      The directory containing UI templates zrcSPh  
      UI templates的目录夹 pV_2JXM~@  
d}1R<Q;F  
struts.ui.theme ;TYkJH"  
      The default UI template theme ^c*'O0y[D  
      默认的UI template主题 WE\V<MGS/  
+NQw ^!0qy  
struts.url.http.port #-{4F?DA]y  
      The HTTP port used by Struts URLs z[th@!3  
      设置http端口 9kcAMk1K  
;tO(,^  
struts.url.https.port *&7Av7S  
      The HTTPS port used by Struts URLs ne%ckW?ks  
      设置https端口 278 6tZF,  
|#k1a:  
struts.url.includeParams (sY?"(~j?T  
      The default includeParams method to generate Struts URLs m6s32??m  
      在url中产生 默认的includeParams DF<_Ns!  
:2La,  
a4?:suX$  
struts.velocity.configfile UPH:$Fk&  
      The Velocity configuration file path 7P=j2;7 v  
      velocity配置文件路径 *+5AN306  
RDZl@ps8  
struts.velocity.contexts #8cY,%<S]  
      List of Velocity context names @X:P`?("^  
      velocity的context列表 e(sQgtM6  
vtmvvv  
:WE(1!P@  
struts.velocity.manager.classname [E+#+-n7  
      org.apache.struts2.views.velocity.VelocityManager implementation class }{s<!b  
      org.apache.struts2.views.velocity.VelocityManager接口名 : -OHD#>%  
99vm7"5hQ  
struts.velocity.toolboxlocation =F6J%$  
      The location of the Velocity toolbox BDpeAF8z  
      velocity工具盒的位置 ]*?qaIdqu  
struts.xslt.nocache |:C=j/f   
      Whether or not XSLT templates should not be cached !ce:S!P  
      是否XSLT模版应该被缓存 1qtu,yIf  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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