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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `< 8Fc`;[  
&We1i &w  
struts.action.extension u*_I7.}9  
      The URL extension to use to determine if the request is meant for a Struts action UJ' +Z6d  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g*$ 0G  
bm1+|gssn  
struts.configuration cGSoAK  
      The org.apache.struts2.config.Configuration implementation class W}B 4^l  
        org.apache.struts2.config.Configuration接口名 MU5@(s3B?  
H -('!^  
struts.configuration.files R<W#.mpo6  
      A list of configuration files automatically loaded by Struts etF?,^)h=g  
      struts自动加载的一个配置文件列表 \ZrLh,6f.  
~N+lI\K  
struts.configuration.xml.reload m(JFlO  
      Whether to reload the XML configuration or not xo{f"8}^  
      是否加载xml配置(true,false) rhFa rm4a  
'Rk~bAX  
struts.continuations.package i[FcY2  
      The package containing actions that use Rife continuations w7\:S>;(O"  
      含有actions的完整连续的package名称 X;_0"g  
c)Ft#vzg&e  
struts.custom.i18n.resources .XM3oIaW  
      Location of additional localization properties files to load rN#ydw:9  
      加载附加的国际化属性文件(不包含.properties后缀) _DfI78`(  
A(AyLxB47*  
struts.custom.properties n0:+D R  
      Location of additional configuration properties files to load  iqf+rBL  
      加载附加的配置文件的位置 $ hB;r  
2 =tPxO')B  
Y{y #us1  
struts.devMode ^EU& 6M2  
      Whether Struts is in development mode or not =!NYvwg6;o  
      是否为struts开发模式 I%xrDiK97  
A?Jm59{w  
struts.dispatcher.parametersWorkaround }{/4sll  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic AEkgm^t.{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &*g5kh{  
S8j;oJ2 d  
struts.enable.DynamicMethodInvocation u&l2s&i  
      Allows one to disable dynamic method invocation from the URL fX G+88:2  
        允许动态方法调用 M%4o0k]E,s  
[;dWFG"f  
struts.freemarker.manager.classname 6Nx TW  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dtjaQsJM^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 2a*1q#MpAt  
:0ND0A{K:  
struts.i18n.encoding ia|^>V>-  
      The encoding to use for localization messages js Tb0  
      国际化信息内码 `xe[\Z2  
:7Mo0,Bw,  
struts.i18n.reload 4@#1G*OO  
      Whether the localization messages should automatically be reloaded k1 >%wR  
      是否国际化信息自动加载 {npKdX  
(omdmT%D  
struts.locale r5[om$|*  
      The default locale for the Struts application q p|T,D%  
      默认的国际化地区信息 z2t;!]"'l  
"Gcr1$xG8!  
struts.mapper.class W"Dj+/uS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9.e?<u*-z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 T,(IdVlJ  
Rz`<E97-  
struts.multipart.maxSize 93fKv  
      The maximize size of a multipart request (file upload) Bt,qG1>$-  
      multipart请求信息的最大尺寸(文件上传用) dv4)fG]W;_  
Jf`;F :  
struts.multipart.parser M4M 4*o  
      The org.apache.struts2.dispatcher.multipart. c}vy9m$B_  
      MultiPartRequest parser implementation for a multipart request (file upload) +YT/od1t7  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 7|zt'.56[  
`]]gD EPG{  
]Vjn7P`~ N  
struts.multipart.saveDir #f.@XIt'  
      The directory to use for storing uploaded files Cd#*Wp)s  
      设置存储上传文件的目录夹 f&`v-kiAn=  
)Tngtt D  
struts.objectFactory pvy;L[c  
      The com.opensymphony.xwork2.ObjectFactory implementation class PGT!HdX#{  
      com.opensymphony.xwork2.ObjectFactory接口(spring) mUr@w*kq|p  
I>/`W  
struts.objectFactory.spring.autoWire 3~I<f ^K4  
      Whether Spring should autoWire or not e^~t52]  
      是否自动绑定Spring 9b]*R.x:$&  
SfJ/(q  
struts.objectFactory.spring.useClassCache k;zb q  
      Whether Spring should use its class cache or not 0x# 6L  
      是否spring应该使用自身的cache F)e*w:D  
"+nURdicO  
struts.objectTypeDeterminer hv*n";V   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class oZ6xHdPc4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 f;u;hQxs  
ScGmft3A  
struts.serve.static.browserCache 9Lz)SYd  
If static content served by the Struts filter should set browser caching header properties or not r_)-NOp  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 z('93vsO  
MBcOIy[&A  
struts.serve.static XP2=x_"y  
      Whether the Struts filter should serve static content or not 2!68W X  
      是否struts过滤器应该提供静态内容 Kox~k?JK  
9[T#uh!DC  
struts.tag.altSyntax JPQ02&e  
      Whether to use the alterative syntax for the tags or not 4)Pt]#Ti  
      是否可以用替代的语法替代tags 8SAz,m!W)  
q*{"6"4(  
struts.ui.templateDir ]CC~Eo-%-  
      The directory containing UI templates w?M*n<) O  
      UI templates的目录夹 ::H jpM  
@T/C<-/:  
struts.ui.theme vW$] :).  
      The default UI template theme U\VwJ2 {i  
      默认的UI template主题 ie.cTTOI  
gK)B3dH*&  
struts.url.http.port 7C2/^x P  
      The HTTP port used by Struts URLs Qg 6m  
      设置http端口 A9l^S|r  
$<s@S;Ri  
struts.url.https.port 5jNBt>.0  
      The HTTPS port used by Struts URLs t 1C{  
      设置https端口 [&3"kb  
NlcWnSv  
struts.url.includeParams /u:Sn=SPd  
      The default includeParams method to generate Struts URLs 3}twWnQZJ  
      在url中产生 默认的includeParams 1}ZBj%z4l  
&<UOi@  
I}:>M!w  
struts.velocity.configfile RB &s$6A  
      The Velocity configuration file path ? !~au0  
      velocity配置文件路径 jHz]  
gP1$#KgU  
struts.velocity.contexts UO:>^,(j  
      List of Velocity context names BM&'3K_y  
      velocity的context列表 Q ;k_q3  
+#B%YK|LR  
=?*V3e3{  
struts.velocity.manager.classname 3J,/bgL5  
      org.apache.struts2.views.velocity.VelocityManager implementation class e:7aVOm  
      org.apache.struts2.views.velocity.VelocityManager接口名 N,[M8n,  
cQ+, F2  
struts.velocity.toolboxlocation :He:Bdk  
      The location of the Velocity toolbox /=r&9P@Ay<  
      velocity工具盒的位置 \17)=W  
struts.xslt.nocache .{x5(bi0S  
      Whether or not XSLT templates should not be cached P{>T?-Hj  
      是否XSLT模版应该被缓存 q"5 2-42  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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