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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 3I(dC|d  
~`nm<   
struts.action.extension /Bg6z m  
      The URL extension to use to determine if the request is meant for a Struts action z 'vdC  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Tx|SAa=V  
v^ y}lT  
struts.configuration ,(;p(#F>  
      The org.apache.struts2.config.Configuration implementation class + cV5h  
        org.apache.struts2.config.Configuration接口名 sw3:HNG=  
j]@ x Q,y  
struts.configuration.files /8P4%[\  
      A list of configuration files automatically loaded by Struts >o0&:h|>$'  
      struts自动加载的一个配置文件列表 ! 0>!tW  
L@gQ L  
struts.configuration.xml.reload 35]j;8N:  
      Whether to reload the XML configuration or not 2XETQ;9  
      是否加载xml配置(true,false) Mhu53DT  
P;HVLflu  
struts.continuations.package al3BWRq'f  
      The package containing actions that use Rife continuations +SZ%&  
      含有actions的完整连续的package名称 }"g21-T^  
i?&4SG+2~K  
struts.custom.i18n.resources rzYobOKd#  
      Location of additional localization properties files to load XudH  
      加载附加的国际化属性文件(不包含.properties后缀) z$I[kR%I{  
N+C%Z[gt[  
struts.custom.properties >Rl0%!  
      Location of additional configuration properties files to load O]$*EiO\  
      加载附加的配置文件的位置 6ywnyh  
onWYT}c{  
pAUfG^v  
struts.devMode +[X.-,yW  
      Whether Struts is in development mode or not ,N))=/  
      是否为struts开发模式 6\)8mK  
o1p$9PL\:  
struts.dispatcher.parametersWorkaround TNX%_Q<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic u@:=qd=\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {LMS~nx  
4acP*LkkQ  
struts.enable.DynamicMethodInvocation 9" }^SI8  
      Allows one to disable dynamic method invocation from the URL Z,N7nMJf  
        允许动态方法调用 <manv8*6  
3H\b N4  
struts.freemarker.manager.classname e@2E0u4  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ;QvvU[eb  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 c|R3,<Q]  
`/gEKrhL-  
struts.i18n.encoding u$Pf.#  
      The encoding to use for localization messages f<s'prF  
      国际化信息内码 iaaH9X %  
UL@5*uiX  
struts.i18n.reload L_.xr ?  
      Whether the localization messages should automatically be reloaded fRv S@  
      是否国际化信息自动加载 :) Fp B"  
O_ s9  
struts.locale b Q9"GO<X  
      The default locale for the Struts application Us@ {w`T  
      默认的国际化地区信息 [X$|dOm'N  
1=/MT#d^?  
struts.mapper.class 5w,YBUp  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class w7`@=kVx  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 p)[ BB6E  
"$,}|T?Y`  
struts.multipart.maxSize NBbY## w0  
      The maximize size of a multipart request (file upload) @tjZvRtZ  
      multipart请求信息的最大尺寸(文件上传用) %xbz&'W,  
&ls!IN  
struts.multipart.parser =?I1V#.  
      The org.apache.struts2.dispatcher.multipart. Z|cTzunp  
      MultiPartRequest parser implementation for a multipart request (file upload) a dz;N;rIY  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) gqHH Hh  
&]"_pc/>m  
go%X%Os]  
struts.multipart.saveDir nkCRe  
      The directory to use for storing uploaded files ./BP+\)l O  
      设置存储上传文件的目录夹 *~t$k56  
D\_*,Fc  
struts.objectFactory ;2xXX,'R7  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,mE]?XyO  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 1,;qXMhK`;  
H/v37%p7  
struts.objectFactory.spring.autoWire *C:q _/  
      Whether Spring should autoWire or not 6!Tf'#TV~!  
      是否自动绑定Spring Lct+cKKU  
}v(H E%~}  
struts.objectFactory.spring.useClassCache \.{pZMM  
      Whether Spring should use its class cache or not ?+}E  
      是否spring应该使用自身的cache 9>$%F;JP44  
|qudJucV  
struts.objectTypeDeterminer w4< u@L  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qdkTg:QJ,  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M;Mdz[Q  
Bc9|rlV,  
struts.serve.static.browserCache sJYKt   
If static content served by the Struts filter should set browser caching header properties or not 0or6_ y6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中  h?pGw1Q  
2sd=G'7!  
struts.serve.static )>#<S0>'j  
      Whether the Struts filter should serve static content or not RAx]Sp Q-S  
      是否struts过滤器应该提供静态内容 r^o}Y  
6Nd_YX  
struts.tag.altSyntax as!|8JE`  
      Whether to use the alterative syntax for the tags or not I` n1M+=%  
      是否可以用替代的语法替代tags +IOKE\,Y  
]zM90$6  
struts.ui.templateDir eQ)ioY  
      The directory containing UI templates [9W&1zY  
      UI templates的目录夹 "*>QxA%c4  
GF.g'wYc)Y  
struts.ui.theme 0wE8Gm G  
      The default UI template theme cdU >iB,  
      默认的UI template主题 fY+ .#V  
r{:la56Xd  
struts.url.http.port 0\ytBxL  
      The HTTP port used by Struts URLs bl=*3qB  
      设置http端口 )dN,b( w9  
8KdcLN@  
struts.url.https.port  d7-F&!sQ  
      The HTTPS port used by Struts URLs  ;;"c+  
      设置https端口 5A=xFj{  
!E>3N:  
struts.url.includeParams "F.J>QBd  
      The default includeParams method to generate Struts URLs v'Py[[R  
      在url中产生 默认的includeParams ^MWW,`  
&B5 Rzz-'  
CYic_rF$  
struts.velocity.configfile \?mU$,v oI  
      The Velocity configuration file path MvjwP?J]  
      velocity配置文件路径 r'JK$9  
>,Swk3  
struts.velocity.contexts T.Y4L  
      List of Velocity context names TX5/{cHd  
      velocity的context列表 +WEO]q?K  
c.me1fGn  
6`$z*C2{  
struts.velocity.manager.classname FVLA^$5c  
      org.apache.struts2.views.velocity.VelocityManager implementation class ljR?* P  
      org.apache.struts2.views.velocity.VelocityManager接口名 P9HPr2  
w!Lb;4x ?  
struts.velocity.toolboxlocation nOoh2jUM  
      The location of the Velocity toolbox E=U^T/  
      velocity工具盒的位置 V@s/]|rf,  
struts.xslt.nocache gdn,nL`dP  
      Whether or not XSLT templates should not be cached !Q/O[6  
      是否XSLT模版应该被缓存 ~s ja^  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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