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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |#cm`v  
&keR~~/  
struts.action.extension 1oW ED*B  
      The URL extension to use to determine if the request is meant for a Struts action heC/\@B  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 0?:} P  
{ix?Brq/  
struts.configuration 9 %I?).5  
      The org.apache.struts2.config.Configuration implementation class [QoK5Yw{  
        org.apache.struts2.config.Configuration接口名 GkTiDm?  
CU@Rob}s  
struts.configuration.files ?FpWvyz|  
      A list of configuration files automatically loaded by Struts .ufTQ?Fe  
      struts自动加载的一个配置文件列表 (jRm[7H  
AW!?"xdZ  
struts.configuration.xml.reload n%.7h3  
      Whether to reload the XML configuration or not /YMj-S_b~  
      是否加载xml配置(true,false) m!tbkZHQn0  
m4hg'<<V  
struts.continuations.package 7>))D'l57  
      The package containing actions that use Rife continuations b)qoh^  
      含有actions的完整连续的package名称 Ki$MpA3j   
&-Gqdnc  
struts.custom.i18n.resources )I^7)x  
      Location of additional localization properties files to load SBfT20z[  
      加载附加的国际化属性文件(不包含.properties后缀) .yqM7U_  
qh|_W(`y  
struts.custom.properties ogHCt{'  
      Location of additional configuration properties files to load F`XP@Xx  
      加载附加的配置文件的位置 9CWF{"  
"8x8UgG  
iXVe.n  
struts.devMode 1AM!8VR2  
      Whether Struts is in development mode or not *U,@q4  
      是否为struts开发模式 :*Z4yx  
x7!L{(E3  
struts.dispatcher.parametersWorkaround %\dz m-d(C  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic d"*uBVzXm  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }Mp:JPH&S4  
O7-mT8o  
struts.enable.DynamicMethodInvocation [S9K6%w_!  
      Allows one to disable dynamic method invocation from the URL ;5S9y7[i|  
        允许动态方法调用 l3Q(TH~I  
#*K}IBz  
struts.freemarker.manager.classname t4zkt!`B  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9=8iy w  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 vgH3<pDiU6  
mGJKvJF   
struts.i18n.encoding 6;\I))"[  
      The encoding to use for localization messages YQ9'0F[l  
      国际化信息内码 i@)i$i4  
 ' V^6XI  
struts.i18n.reload Q  Nh|Wz  
      Whether the localization messages should automatically be reloaded 4ew" %Cs*  
      是否国际化信息自动加载 N~goI#4  
t^R][Ay&  
struts.locale bnq; )>&  
      The default locale for the Struts application 2Mc3|T4)U  
      默认的国际化地区信息 ODNM+#}`  
nYR#  
struts.mapper.class Wz49i9e+d  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V3Q+s8OIF  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 bMg(B-uF7  
- D  
struts.multipart.maxSize !;Yg/'vD-  
      The maximize size of a multipart request (file upload) eg\v0Y!rI  
      multipart请求信息的最大尺寸(文件上传用) cl[BF'.H  
>z{d0{\  
struts.multipart.parser XHK<AO^  
      The org.apache.struts2.dispatcher.multipart. }Jy8.<Gd^  
      MultiPartRequest parser implementation for a multipart request (file upload) 5cL83FQh  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1 d}Z(My  
p*4':TFuD;  
H]{v;;'~  
struts.multipart.saveDir C*)3e*T*  
      The directory to use for storing uploaded files r3&G)g=u  
      设置存储上传文件的目录夹 |[<_GQl  
Fq~yL!#!  
struts.objectFactory ,Ys %:>?  
      The com.opensymphony.xwork2.ObjectFactory implementation class #%iDT6  
      com.opensymphony.xwork2.ObjectFactory接口(spring) eL10Q(;P`  
3G,Oba[$<  
struts.objectFactory.spring.autoWire Bu<M\w?7Y  
      Whether Spring should autoWire or not ;4R$g5-4X  
      是否自动绑定Spring ;f0I 8i,JN  
D/Z6C&/I  
struts.objectFactory.spring.useClassCache X$ 0?j 1  
      Whether Spring should use its class cache or not X^}I-M%{m  
      是否spring应该使用自身的cache ,<n}W+3  
bH7X'%r  
struts.objectTypeDeterminer jVv0ST*z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]/[FR5>  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 m[? E  
!"HO]3-o  
struts.serve.static.browserCache !;&p"E|b#  
If static content served by the Struts filter should set browser caching header properties or not R]}}$R`j  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ]i&6c  
.zA^)qgL  
struts.serve.static twL3\ }N/B  
      Whether the Struts filter should serve static content or not =x%dNf$e{W  
      是否struts过滤器应该提供静态内容 2h|MXI\g  
4ni<E*  
struts.tag.altSyntax #C~+JL  
      Whether to use the alterative syntax for the tags or not rq8K_zp  
      是否可以用替代的语法替代tags jSD#X3qp  
aktU$Wbwl  
struts.ui.templateDir q@QksAq  
      The directory containing UI templates Y_;#UU689  
      UI templates的目录夹 5,3'=mA6  
hm84Aq= f  
struts.ui.theme q+H%)kF  
      The default UI template theme 6]V4muz#c  
      默认的UI template主题 8 ##-EN;ag  
#a/5SZP Z\  
struts.url.http.port  8{wwd:6  
      The HTTP port used by Struts URLs 9oRy)_5Z(=  
      设置http端口 W]"zctE  
Tzt8h\Q^z  
struts.url.https.port )M,Of Xa  
      The HTTPS port used by Struts URLs `YFtL  
      设置https端口 3EV;LH L  
k$R~R-'  
struts.url.includeParams ~ Sg5:T3  
      The default includeParams method to generate Struts URLs b*;Si7-  
      在url中产生 默认的includeParams w j*,U~syB  
Jj>?GAir  
prC;L*~8  
struts.velocity.configfile 0[R L>;D:  
      The Velocity configuration file path Ye"o6_U "  
      velocity配置文件路径 oibsh(J3  
oI0M%/aM  
struts.velocity.contexts G"-?&)M#a  
      List of Velocity context names (7mAt3n k  
      velocity的context列表 T%.8 '9  
%824Cqdc  
6*PYFf`  
struts.velocity.manager.classname _7Rr=_1}  
      org.apache.struts2.views.velocity.VelocityManager implementation class -E^vLB)O  
      org.apache.struts2.views.velocity.VelocityManager接口名 JmF l|n/H  
iQ tN Aj  
struts.velocity.toolboxlocation dT`D:)*:  
      The location of the Velocity toolbox 6CV* Z\b  
      velocity工具盒的位置 8UXjm_B^'  
struts.xslt.nocache @)UZ@ ~R  
      Whether or not XSLT templates should not be cached ^ssK   
      是否XSLT模版应该被缓存 lW+\j3?Z$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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