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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 bhg}-dto  
Es8#]'Rk  
struts.action.extension `deY i2z  
      The URL extension to use to determine if the request is meant for a Struts action R]L2(' B  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [ ]p"3 i  
a6nlt? 1?D  
struts.configuration 5P ke8K  
      The org.apache.struts2.config.Configuration implementation class 32>x^>G=>  
        org.apache.struts2.config.Configuration接口名 _l&ucA  
`wO}Hz  
struts.configuration.files 7 .+al)hl  
      A list of configuration files automatically loaded by Struts v59nw]'  
      struts自动加载的一个配置文件列表 :5# V^\3*  
]+%=@mWYs  
struts.configuration.xml.reload 77aX-e*=E  
      Whether to reload the XML configuration or not +{-]P\oc  
      是否加载xml配置(true,false) F)ci9-b@  
VifmZ;S@Y  
struts.continuations.package MOHHZApt  
      The package containing actions that use Rife continuations J r*"V`  
      含有actions的完整连续的package名称 A 7Y_HIo  
-!dQ)UEP  
struts.custom.i18n.resources (F&YdWe:  
      Location of additional localization properties files to load 8pe0$r`b  
      加载附加的国际化属性文件(不包含.properties后缀) !Q)3-u  
BKb<2  
struts.custom.properties #PAU'u 3{/  
      Location of additional configuration properties files to load (!</%^ZI  
      加载附加的配置文件的位置 \E hr@g  
Yj8&  
dY'Y5Th~  
struts.devMode JvJ;bFXD  
      Whether Struts is in development mode or not Q[_Ni15  
      是否为struts开发模式 J/kH%_ >Ir  
dR[o|r  
struts.dispatcher.parametersWorkaround ^k72{ 3N(  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'JZ_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c@OP5L>{  
A ,<@m2  
struts.enable.DynamicMethodInvocation O@,i1ha%  
      Allows one to disable dynamic method invocation from the URL *m&&1W_  
        允许动态方法调用 r8v:|Q1"  
UrK"u{G  
struts.freemarker.manager.classname aN'0} <s  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class O/9fuEF  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 FfYsSq2l  
+by|  
struts.i18n.encoding !: |nI77|  
      The encoding to use for localization messages `d`&R.'  
      国际化信息内码 x[Q&k[xV  
PqfVX8/q0  
struts.i18n.reload RKe?.  
      Whether the localization messages should automatically be reloaded [%~NM/xu<  
      是否国际化信息自动加载 1t2cY;vJ  
:,YLx9i>  
struts.locale %ck`0JZAP  
      The default locale for the Struts application wAz,vq=x  
      默认的国际化地区信息 78w4IICk  
-\,VGudM}  
struts.mapper.class gKQ@!U U8  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3"tg+DncC  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (xUFl@I!  
eT\p-4b  
struts.multipart.maxSize l?/gW D^  
      The maximize size of a multipart request (file upload) vnZ/tF  
      multipart请求信息的最大尺寸(文件上传用) (`mOB6j  
U_Y;fSl>  
struts.multipart.parser n/-N;'2J  
      The org.apache.struts2.dispatcher.multipart. |"\lL9CT  
      MultiPartRequest parser implementation for a multipart request (file upload) W-XN4:,qI  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 8A_TIyh?  
llqDT-cp  
Tw}z7U"  
struts.multipart.saveDir va+m9R0  
      The directory to use for storing uploaded files _z%\'(l+  
      设置存储上传文件的目录夹 GfNWP  
h@Dw'w  
struts.objectFactory ? ,V;f2c  
      The com.opensymphony.xwork2.ObjectFactory implementation class V*uEJ6T  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ee\Gl?VN  
YiNo#M91  
struts.objectFactory.spring.autoWire c#x7N9;"!  
      Whether Spring should autoWire or not p[gAZ9  
      是否自动绑定Spring 2dyxKK!\a  
_<Vg[ -:1  
struts.objectFactory.spring.useClassCache b)y<.pS\  
      Whether Spring should use its class cache or not {4)5]62>u  
      是否spring应该使用自身的cache :z124Zf  
WiwwCKjSa  
struts.objectTypeDeterminer i*b4uHna  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class SmvwhX  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M Hn&; A]  
3]7ipwF2q  
struts.serve.static.browserCache #PPsRKj3c  
If static content served by the Struts filter should set browser caching header properties or not 98ayA$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 uTUa4 ^]*  
cnYYs d{  
struts.serve.static C }bPv +t  
      Whether the Struts filter should serve static content or not {{GHzW  
      是否struts过滤器应该提供静态内容 LVWxd}0  
yOM -;h  
struts.tag.altSyntax h!~|6nj  
      Whether to use the alterative syntax for the tags or not p+5#dbyr  
      是否可以用替代的语法替代tags +E `063  
<WgG=Kf)N  
struts.ui.templateDir 6yi/&#YM  
      The directory containing UI templates :e52hK1[T  
      UI templates的目录夹 -ca]Q|m8  
81cv:|"  
struts.ui.theme L1:}bH\y  
      The default UI template theme  *X0K2|  
      默认的UI template主题 %Ln?dF+  
d`<#}-nh  
struts.url.http.port 2 /UI>@By  
      The HTTP port used by Struts URLs P@-R5GK  
      设置http端口 #d$d&W~gE  
F ^[M  
struts.url.https.port ^>t-v  
      The HTTPS port used by Struts URLs YU*46 hA1B  
      设置https端口 r)(i{:@r`  
X%*brl$D  
struts.url.includeParams  S/)  
      The default includeParams method to generate Struts URLs Ho:}Bn g  
      在url中产生 默认的includeParams [v~Uy$d\  
dcM+ylB  
VQ/ <09e  
struts.velocity.configfile *%z<P~}  
      The Velocity configuration file path 2>`m<&y  
      velocity配置文件路径 ^glbxbhI4  
1h& )I%`?  
struts.velocity.contexts P=}H1 #  
      List of Velocity context names zl,bMtQ  
      velocity的context列表 rZb_1E<  
l6yB_ M  
`W D*Q-&n  
struts.velocity.manager.classname @m }rQT  
      org.apache.struts2.views.velocity.VelocityManager implementation class {8ld:ZP  
      org.apache.struts2.views.velocity.VelocityManager接口名 iRkOH]+K  
+D6-m  
struts.velocity.toolboxlocation (4E.Li<O  
      The location of the Velocity toolbox 2OA8 R}  
      velocity工具盒的位置 ^ON-#  
struts.xslt.nocache ]i9H_K  
      Whether or not XSLT templates should not be cached Cv gPIrl  
      是否XSLT模版应该被缓存 HFpjNR  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五