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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =iKl<CqI$E  
^c.D&y%5  
struts.action.extension P* `*^r3  
      The URL extension to use to determine if the request is meant for a Struts action \298SH(!7  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 L0!CHP/nRS  
=gQ9>An  
struts.configuration nDC0^&  
      The org.apache.struts2.config.Configuration implementation class 9K`_P] l2z  
        org.apache.struts2.config.Configuration接口名 ;50&s .gZ  
`2@.%s1o=  
struts.configuration.files i}DS+~8v  
      A list of configuration files automatically loaded by Struts [DM0'4  
      struts自动加载的一个配置文件列表 18Y#=uH}  
bqAW  
struts.configuration.xml.reload Wvr{l  
      Whether to reload the XML configuration or not l^Rb%?4Z  
      是否加载xml配置(true,false) P7.bn  
[rT.k5_  
struts.continuations.package ciS,  
      The package containing actions that use Rife continuations 1Q>nS[  
      含有actions的完整连续的package名称 'q)g, 2B%  
Y!CUUWM  
struts.custom.i18n.resources qy3@> 1G  
      Location of additional localization properties files to load z6Ob X  
      加载附加的国际化属性文件(不包含.properties后缀) yk`qF'4]  
aaFT   
struts.custom.properties 9KXL6#h  
      Location of additional configuration properties files to load + GI906K  
      加载附加的配置文件的位置 s;Gd`-S>d  
RPW46l34  
VIT|#  
struts.devMode 3OZPy|".ax  
      Whether Struts is in development mode or not W}CM;~*L  
      是否为struts开发模式 V]p{jLG  
fgdR:@]-  
struts.dispatcher.parametersWorkaround m$W >~  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic W#p7M[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 'k X8}bx  
:u14_^  
struts.enable.DynamicMethodInvocation 3T2]V?   
      Allows one to disable dynamic method invocation from the URL 3=YpZ\l}  
        允许动态方法调用 "=djo+y  
X/,) KTo7  
struts.freemarker.manager.classname .$18%jH#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class V95o(c.p  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 y?<KN0j  
aTuu",f  
struts.i18n.encoding hO=L|BJ?I  
      The encoding to use for localization messages ITn%  
      国际化信息内码 3f[Yk# "  
{]T?)!V m  
struts.i18n.reload \Oeo"|  
      Whether the localization messages should automatically be reloaded 6O7s^d&K  
      是否国际化信息自动加载 ;Bs~E  
6:ettdj  
struts.locale $4nAb^/  
      The default locale for the Struts application ><<>4(eF p  
      默认的国际化地区信息 |C [!A  
K~TwyB-h  
struts.mapper.class bhqSqU}6~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =,6H2ew  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Y![Q1D!  
n)e2?  
struts.multipart.maxSize 4S<M9A}  
      The maximize size of a multipart request (file upload) 0MWW( ;  
      multipart请求信息的最大尺寸(文件上传用)  `q?3ux  
jRJG .hcB5  
struts.multipart.parser V`Cy x^P  
      The org.apache.struts2.dispatcher.multipart. u 272)@R  
      MultiPartRequest parser implementation for a multipart request (file upload) mmTpF]t ?`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *F\wWg'!B  
,;$OaJFT  
.-d'*$ yJ  
struts.multipart.saveDir v(1 [n]y  
      The directory to use for storing uploaded files I/O3OD  
      设置存储上传文件的目录夹 2S?7j[@%i`  
v:t;Uk^Y  
struts.objectFactory u<-)C)z  
      The com.opensymphony.xwork2.ObjectFactory implementation class |oY{TQ<<d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) RM;a]g*  
K:,V>DL  
struts.objectFactory.spring.autoWire  %?ElC  
      Whether Spring should autoWire or not (dy(.4W\  
      是否自动绑定Spring %HUex 6!  
Cj-s  
struts.objectFactory.spring.useClassCache p='j/=  
      Whether Spring should use its class cache or not c1#0o) q*7  
      是否spring应该使用自身的cache 1m*)MZ)  
YX$(Sc3.6  
struts.objectTypeDeterminer f3K-X1`]'U  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class O~3 A>j  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 L&pR#  
4ud(5m;Rle  
struts.serve.static.browserCache & l>nzJ5?  
If static content served by the Struts filter should set browser caching header properties or not 2W,9HSu8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (GJtTp~2C4  
4^F[Gp?  
struts.serve.static F%w! I 9  
      Whether the Struts filter should serve static content or not .j]tzX  
      是否struts过滤器应该提供静态内容 CMj =4e  
GA^hev  
struts.tag.altSyntax I,-n[k\J  
      Whether to use the alterative syntax for the tags or not TRhMxH  
      是否可以用替代的语法替代tags c]6b|mHT  
5YY5t^T  
struts.ui.templateDir =7 l uV_5  
      The directory containing UI templates nWd!ovd  
      UI templates的目录夹 m<CrkKfpG  
y;b#qUd5a  
struts.ui.theme %3z[;&*3O  
      The default UI template theme IiPX`V>RC  
      默认的UI template主题 Ac:`xk<  
<V?2;Gy  
struts.url.http.port ha :l-<a  
      The HTTP port used by Struts URLs Nq8ON!<<  
      设置http端口 `B %%2p&  
q/s-".%P  
struts.url.https.port "n%j2"TYJj  
      The HTTPS port used by Struts URLs G5}_NS/  
      设置https端口 7-744wV}Z  
+~8Lc'0aA  
struts.url.includeParams g}_2T\$k  
      The default includeParams method to generate Struts URLs ]IuZT  
      在url中产生 默认的includeParams CFpBosoFt^  
ufXWK3~\  
'2lV(>"  
struts.velocity.configfile  /YJo"\7  
      The Velocity configuration file path -.D?Z8e  
      velocity配置文件路径 Ao K9=F}  
}&0LoW/  
struts.velocity.contexts iv*RE9?^  
      List of Velocity context names 8m+~HSIR  
      velocity的context列表 d"|_NG`vr  
e{x>u(  
Gu$/rb?  
struts.velocity.manager.classname |lNp0b  
      org.apache.struts2.views.velocity.VelocityManager implementation class 13?:a[~=Y  
      org.apache.struts2.views.velocity.VelocityManager接口名 >CvhTrPI  
B^2r4 9vC  
struts.velocity.toolboxlocation f ,e]jw@  
      The location of the Velocity toolbox SdnnXEB7  
      velocity工具盒的位置 t|U5]$5  
struts.xslt.nocache GCl *x:  
      Whether or not XSLT templates should not be cached 6,q0F*q  
      是否XSLT模版应该被缓存 tddwnpnSw  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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