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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;\a?xtIy  
~P!\;S  
struts.action.extension [>--U)/  
      The URL extension to use to determine if the request is meant for a Struts action e7tp4M9!%  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ^I W5c>;|  
r)<c ~\0 7  
struts.configuration Ck1{\=t  
      The org.apache.struts2.config.Configuration implementation class JX!z,X?r4  
        org.apache.struts2.config.Configuration接口名 CZZwBt$P  
28 Q\{Z.  
struts.configuration.files vo (riHH  
      A list of configuration files automatically loaded by Struts p.@ kv  
      struts自动加载的一个配置文件列表 Ln+;HorZ]  
;Qn)~b~  
struts.configuration.xml.reload QrBb! .r  
      Whether to reload the XML configuration or not L;RHs hTy  
      是否加载xml配置(true,false) gpT~3c;l=  
Z=R 6?jU*n  
struts.continuations.package wCQ.?*7-9Q  
      The package containing actions that use Rife continuations At<D36,^"  
      含有actions的完整连续的package名称 l(A)Gd5>  
<=nOyT9  
struts.custom.i18n.resources 2 o)8'Lp  
      Location of additional localization properties files to load d)>b/0CZ  
      加载附加的国际化属性文件(不包含.properties后缀) fM/~k>wl  
L0\~ K~q  
struts.custom.properties xqSoE[<v  
      Location of additional configuration properties files to load ,F%2'W  
      加载附加的配置文件的位置 S$N!Dj@e;  
Fv_B(a  
!}lCwV  
struts.devMode )B*D\9\Z  
      Whether Struts is in development mode or not Q6PaT@gs  
      是否为struts开发模式 je;C}4  
Uc%kyTBm1  
struts.dispatcher.parametersWorkaround  #nq$^H  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic G22{',#r8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1R.|j_HYy  
z!s1$5:"0  
struts.enable.DynamicMethodInvocation ~n=oPm$pR  
      Allows one to disable dynamic method invocation from the URL 6L<Y   
        允许动态方法调用 jWL%*dJrN  
]Z IreI  
struts.freemarker.manager.classname +7 \"^D  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  L}=DC =E  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 x$hT+z6DUC  
'vwu^u?  
struts.i18n.encoding Y6 <.]H  
      The encoding to use for localization messages j DkBe-`  
      国际化信息内码 6%^A6U  
P(%^J6[>  
struts.i18n.reload *$]50 \W  
      Whether the localization messages should automatically be reloaded 2WK c;?  
      是否国际化信息自动加载 +R8G*2  
oNhCa>)/  
struts.locale 1K#%mV_  
      The default locale for the Struts application =f?vpKq40  
      默认的国际化地区信息 *qZBq&7tb  
#HDP ha  
struts.mapper.class 0^3n#7m;K  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class RNo~}#  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8,@0~2fz#  
u|"y&>!R-  
struts.multipart.maxSize lFtH;h,==v  
      The maximize size of a multipart request (file upload) dI+Y1Vq  
      multipart请求信息的最大尺寸(文件上传用) b+`qGJrej  
HDO_r(i  
struts.multipart.parser 6]r#6c %  
      The org.apache.struts2.dispatcher.multipart. ~KQiNkA\|l  
      MultiPartRequest parser implementation for a multipart request (file upload) ;e{e ?,[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,!O]c8PcU  
I@oSRB  
)DGJr/)  
struts.multipart.saveDir x7xMSy  
      The directory to use for storing uploaded files .uinv  
      设置存储上传文件的目录夹 JU#m?4g  
'gtcy  
struts.objectFactory _WR/]1R  
      The com.opensymphony.xwork2.ObjectFactory implementation class "m%EFWUOl  
      com.opensymphony.xwork2.ObjectFactory接口(spring) UHgW-N"  
Pcjrv:0$  
struts.objectFactory.spring.autoWire 7,s5Gd-  
      Whether Spring should autoWire or not LAFxeo  
      是否自动绑定Spring -^Qm_lN  
&+0?Xip{Z  
struts.objectFactory.spring.useClassCache 8<x& Xd  
      Whether Spring should use its class cache or not j&u/T  
      是否spring应该使用自身的cache sXmP<c  
@'A0Lq+#  
struts.objectTypeDeterminer klAvi%^jE  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *xjP^y":  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 O!ilTMr  
nDS\2  
struts.serve.static.browserCache OZ33w-X<  
If static content served by the Struts filter should set browser caching header properties or not 9#>nFs"H  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #KNl<V+c}1  
0|<9eD\I=  
struts.serve.static vb| d  
      Whether the Struts filter should serve static content or not b<%c ]z  
      是否struts过滤器应该提供静态内容 O!t=,F1j  
S5kD|kJ  
struts.tag.altSyntax lMl'+ yy  
      Whether to use the alterative syntax for the tags or not zGdYk-H3TH  
      是否可以用替代的语法替代tags /'/i?9:  
4jc?9(y%  
struts.ui.templateDir vjzG H*  
      The directory containing UI templates D |=L)\  
      UI templates的目录夹 UhJ{MUH`  
SOZs!9oi  
struts.ui.theme )PkW,214#  
      The default UI template theme @?jtB  
      默认的UI template主题 +cbF$,M4  
&=f?:UZ%  
struts.url.http.port xYZ,.  
      The HTTP port used by Struts URLs XG!6[o;  
      设置http端口 )~Gn7  
mMvAA;  
struts.url.https.port bU[_YuJbM  
      The HTTPS port used by Struts URLs d}%-vm} 0  
      设置https端口 ftKL#9,s(  
sjOv!|]A  
struts.url.includeParams NG`Y{QT6N  
      The default includeParams method to generate Struts URLs XS #u/!  
      在url中产生 默认的includeParams 'N^*,  
7n?yf_ je  
Z- t&AH  
struts.velocity.configfile t3!OqM  
      The Velocity configuration file path ]Ok'C"V(j  
      velocity配置文件路径 (S4HU_,88  
L[Ot$  
struts.velocity.contexts 6Xz d> 5x  
      List of Velocity context names 8#\|Y~P  
      velocity的context列表 6i%6u=um3  
, @!X! L  
VR .t  
struts.velocity.manager.classname XUKlgl!+.  
      org.apache.struts2.views.velocity.VelocityManager implementation class WNZYs  
      org.apache.struts2.views.velocity.VelocityManager接口名 V= -  
*o38f>aJl  
struts.velocity.toolboxlocation R(*t 1R\  
      The location of the Velocity toolbox RO|8NC<oj  
      velocity工具盒的位置 <W>A }}q  
struts.xslt.nocache ?68~g<d,  
      Whether or not XSLT templates should not be cached icX4n  
      是否XSLT模版应该被缓存 MV??S{^4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八