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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 FI=]K8  
<"HbX  
struts.action.extension }\oy%]_mY  
      The URL extension to use to determine if the request is meant for a Struts action UtzM+7r@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Z%9_vpWc  
]R%+  
struts.configuration fKkH [  
      The org.apache.struts2.config.Configuration implementation class y=q iGi[Nc  
        org.apache.struts2.config.Configuration接口名 Cj3C%W  
>sl#2,br  
struts.configuration.files .{ -C*  
      A list of configuration files automatically loaded by Struts N^@aO&+A  
      struts自动加载的一个配置文件列表 \ QE?.Fx  
:@c\a99Kx  
struts.configuration.xml.reload *L+)R*|:&  
      Whether to reload the XML configuration or not u0?,CQPL  
      是否加载xml配置(true,false) 01&J7A2  
)2dTgvy  
struts.continuations.package #57D10j  
      The package containing actions that use Rife continuations 0$1-5XY9  
      含有actions的完整连续的package名称 WJs2d73Qp  
72akOx   
struts.custom.i18n.resources ])D39  
      Location of additional localization properties files to load 79G& 0 P\  
      加载附加的国际化属性文件(不包含.properties后缀) 6ntduXeNVh  
]zUvs6ksLG  
struts.custom.properties g|V md  
      Location of additional configuration properties files to load HTw7l]]  
      加载附加的配置文件的位置 kY.3x# w  
*c{X\!YBh  
# *)X+*  
struts.devMode %D $+Z(  
      Whether Struts is in development mode or not %[J|n~8_Z  
      是否为struts开发模式 /AhN$)(O  
Api<q2@R  
struts.dispatcher.parametersWorkaround  /gUD!@  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic T/Fj0'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;lU]ilYv  
")i>-1_H  
struts.enable.DynamicMethodInvocation I] vCra  
      Allows one to disable dynamic method invocation from the URL (n {,R  
        允许动态方法调用 hY[Vs5v  
:W*']8 M-  
struts.freemarker.manager.classname kD{qW=Lpn  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class _=ziw|zI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 w\(; >e@  
Xn3 \a81  
struts.i18n.encoding 4pG!m&4]ze  
      The encoding to use for localization messages J0V\_ja-  
      国际化信息内码 5A`T}~"X  
45H(.}&f  
struts.i18n.reload *r|)@K|  
      Whether the localization messages should automatically be reloaded C)v*L#{%  
      是否国际化信息自动加载 HHXm 4}!;<  
MzX4/*ba  
struts.locale lN,)T%[0-  
      The default locale for the Struts application MB:*WA&  
      默认的国际化地区信息 *@SZ0   
Im<(  
struts.mapper.class wbA<G&h~  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class d@#wK~I  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /\e&nYz  
f'Cx %  
struts.multipart.maxSize b@  S.  
      The maximize size of a multipart request (file upload) Z`{ZV5  
      multipart请求信息的最大尺寸(文件上传用) %K7wScz7  
.!Qo+(  
struts.multipart.parser +#=l{_Z,ZJ  
      The org.apache.struts2.dispatcher.multipart. $Q'S8TU  
      MultiPartRequest parser implementation for a multipart request (file upload) p|,3X*-ynx  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) N&K`bmtD  
w$%1j+%&  
 *CS2ndp  
struts.multipart.saveDir Y}UVC|Ef  
      The directory to use for storing uploaded files M,(UCyT  
      设置存储上传文件的目录夹 V<W$ h`  
nr>Os@\BU  
struts.objectFactory -FrNk>  
      The com.opensymphony.xwork2.ObjectFactory implementation class 3,[#%}1(S  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 2B`#c}PP  
6&KvT2?tA`  
struts.objectFactory.spring.autoWire j]5mzz~  
      Whether Spring should autoWire or not R[T94U  
      是否自动绑定Spring 22_%u=p-|  
hUO&rov3@  
struts.objectFactory.spring.useClassCache +:jx{*}jo  
      Whether Spring should use its class cache or not 3Lw&HtH  
      是否spring应该使用自身的cache ro`2IE>  
-lDAxp6p  
struts.objectTypeDeterminer uqFYa bU  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class bz4TbGg]  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {j!+\neL  
TeXt'G=M  
struts.serve.static.browserCache /lqVMlz\77  
If static content served by the Struts filter should set browser caching header properties or not n,vs(ZL:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Exu>%  
uFl19  
struts.serve.static b<1+q{0r  
      Whether the Struts filter should serve static content or not IyJHKDFk  
      是否struts过滤器应该提供静态内容 %UnL,V9)  
)Z qY`by!  
struts.tag.altSyntax gt Vnn]Jh  
      Whether to use the alterative syntax for the tags or not 6tKCY(#oO+  
      是否可以用替代的语法替代tags 8{ooLdpX7  
6(as.U>K  
struts.ui.templateDir ?Ja&LNI9S  
      The directory containing UI templates E Zh.*u@^r  
      UI templates的目录夹 =/zb$d cz  
`+?g96   
struts.ui.theme G}8Zkz@+  
      The default UI template theme ~P;KO40K  
      默认的UI template主题 /ij)[WK@  
;.EW7`)Z  
struts.url.http.port 6X`i*T$.  
      The HTTP port used by Struts URLs 4k4 d%  
      设置http端口 G,fh/E+  
'En|-M5  
struts.url.https.port DLBHZ?+!  
      The HTTPS port used by Struts URLs C0v1x=(xiM  
      设置https端口 (#?k|e"Y"`  
X+LG Z4]D  
struts.url.includeParams K#_x.: <J  
      The default includeParams method to generate Struts URLs ecIZ +G)k  
      在url中产生 默认的includeParams & Y Y^Bd#  
!wNj;ST*  
S#{gCc  
struts.velocity.configfile |b^+= "  
      The Velocity configuration file path CYFi_6MFl  
      velocity配置文件路径 /t"F Z#  
~8l(,N0  
struts.velocity.contexts .`@)c/<0  
      List of Velocity context names yuA+YZ  
      velocity的context列表 TcEvUZJ"  
P|' eM%  
{$H-7-O$  
struts.velocity.manager.classname , tb\^  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8DLj?M>N  
      org.apache.struts2.views.velocity.VelocityManager接口名 g+1&liV  
~>-MVp  
struts.velocity.toolboxlocation *JT,]7>  
      The location of the Velocity toolbox tkj QSz  
      velocity工具盒的位置 ":!7R<t  
struts.xslt.nocache NcMohpkq  
      Whether or not XSLT templates should not be cached ^T&@(|o  
      是否XSLT模版应该被缓存 AAW])c`.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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