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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f3[gA Y  
1c8 J yp  
struts.action.extension V^As@P8,'(  
      The URL extension to use to determine if the request is meant for a Struts action 5O%Q*\(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ND WpV  
v&;q4b4  
struts.configuration :]v%6i.  
      The org.apache.struts2.config.Configuration implementation class sjvlnnO   
        org.apache.struts2.config.Configuration接口名 NVAt-u0LB  
yL7D;<!S&  
struts.configuration.files u`O xY  
      A list of configuration files automatically loaded by Struts Ux2(Oph  
      struts自动加载的一个配置文件列表 #;# V1  
4 >at# Zc  
struts.configuration.xml.reload /ZUKt  
      Whether to reload the XML configuration or not 9,sj,A1  
      是否加载xml配置(true,false) ?YOH9%_cs  
Lo5itW  
struts.continuations.package !-_0I:m  
      The package containing actions that use Rife continuations rzsb(  
      含有actions的完整连续的package名称 [kM)K'-  
vT#zc)j  
struts.custom.i18n.resources QX1QYwcmG  
      Location of additional localization properties files to load ~k'KS 7c  
      加载附加的国际化属性文件(不包含.properties后缀) ]v{f!r=}  
Gt3V}"B3\  
struts.custom.properties D pI)qg#>V  
      Location of additional configuration properties files to load m-dyvW+  
      加载附加的配置文件的位置 AK]{^Hvz  
0&mOu #l  
ELZCrh6*  
struts.devMode TL-sxED,,D  
      Whether Struts is in development mode or not (sHqzWh  
      是否为struts开发模式 y0k*iS e  
i<@6f'Kir  
struts.dispatcher.parametersWorkaround WwG78b-OA  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Ri=>evx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q\cH+n)C  
s<Px au+A  
struts.enable.DynamicMethodInvocation =i O K($  
      Allows one to disable dynamic method invocation from the URL [*GIR0  
        允许动态方法调用 .$pW?C 3e  
iZ}  w>1  
struts.freemarker.manager.classname |2z?8lx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class xb1 i{d  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >~8;H x].d  
;[V_w/-u  
struts.i18n.encoding _w0t+=&  
      The encoding to use for localization messages CZe0kH^:{  
      国际化信息内码 RY3ANEu+  
jT}3Zn  
struts.i18n.reload A[`c2v-hF  
      Whether the localization messages should automatically be reloaded QV,X> !Nz  
      是否国际化信息自动加载 \x P$m|Y3  
SR7$m<0t*  
struts.locale 0*^ J;QGE  
      The default locale for the Struts application Cgq/#2BM  
      默认的国际化地区信息 C8 9c2  
PY- 1 oP  
struts.mapper.class = _X#JP79  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q\|72NWS  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 `?r]OVe{y  
S{' /=Px+  
struts.multipart.maxSize ErIAS6HS'  
      The maximize size of a multipart request (file upload) |h$*z9bsf  
      multipart请求信息的最大尺寸(文件上传用) KE!aa&g  
`@1y|j:m  
struts.multipart.parser PLD6Ug  
      The org.apache.struts2.dispatcher.multipart. QWz5iM  
      MultiPartRequest parser implementation for a multipart request (file upload) a$H*C(wL  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) pESlBQ7{I  
&/R`\(hEA  
-e0C Bp  
struts.multipart.saveDir /I&Hq7SW`  
      The directory to use for storing uploaded files Yt*2/jw^  
      设置存储上传文件的目录夹 ,WSK '  
K =T]@ix$  
struts.objectFactory &~gqEl6RF  
      The com.opensymphony.xwork2.ObjectFactory implementation class BB@I|)9O(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) WJ":BK{NM  
golr,+LSo  
struts.objectFactory.spring.autoWire {@, } M  
      Whether Spring should autoWire or not ^wNx5t  
      是否自动绑定Spring #2l6'gWE0  
Fb#.Gg9b>  
struts.objectFactory.spring.useClassCache hiO:VA  
      Whether Spring should use its class cache or not A`_(L|~  
      是否spring应该使用自身的cache kzU;24"K  
xEdCGwgp#  
struts.objectTypeDeterminer `7_=2C  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =.NZ {G  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Au3> =x`  
x}o]R  
struts.serve.static.browserCache l}odW  
If static content served by the Struts filter should set browser caching header properties or not  t9T3e  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k.=67L  
] AkHNgW  
struts.serve.static ]4~- z3=y  
      Whether the Struts filter should serve static content or not 9QE|p  
      是否struts过滤器应该提供静态内容 #vh1QV!Ho  
2c:H0O 0o  
struts.tag.altSyntax D lz||==  
      Whether to use the alterative syntax for the tags or not :aHD'K  
      是否可以用替代的语法替代tags 6Q S[mWU  
!9|)v7}  
struts.ui.templateDir $Gt1T[:QUX  
      The directory containing UI templates D>"U0*h  
      UI templates的目录夹 *I,3,zO  
`~|8eKFq!  
struts.ui.theme pgT XyAP{  
      The default UI template theme . +_IpygQ  
      默认的UI template主题 G tI]6t  
j$r.&,m  
struts.url.http.port u=^0n2ez  
      The HTTP port used by Struts URLs ER,,K._?B  
      设置http端口 +W|MAJtg  
l*]9   
struts.url.https.port /LMb~Hy,  
      The HTTPS port used by Struts URLs k<W n  
      设置https端口 0=Jf93D5  
2_Me 4  
struts.url.includeParams ^ei[#I  
      The default includeParams method to generate Struts URLs $__e7  
      在url中产生 默认的includeParams qZRx,^gd  
04-phEA2Q  
K^z-G=|N  
struts.velocity.configfile iw1((&^)"  
      The Velocity configuration file path pl62mp!  
      velocity配置文件路径 T{=.mW^ x  
tMGkm8y-A  
struts.velocity.contexts s '%KKC  
      List of Velocity context names ,Nl]rmI  
      velocity的context列表 aIaydu+\  
!R,9Pg*Ey  
J]uYXsC  
struts.velocity.manager.classname 9D74/3b*  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~:7AHK2  
      org.apache.struts2.views.velocity.VelocityManager接口名 PRm Z 3  
%-"?  
struts.velocity.toolboxlocation AMqu}G  
      The location of the Velocity toolbox : sIZ+3  
      velocity工具盒的位置 3$f%{~3  
struts.xslt.nocache INwc@XB  
      Whether or not XSLT templates should not be cached cyUNJw  
      是否XSLT模版应该被缓存 $4.mRS97g  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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