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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 PyYKeo=  
.j88=t0  
struts.action.extension mm#U a/~1u  
      The URL extension to use to determine if the request is meant for a Struts action &%u,b~cL?  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |BH, H  
8f^URN<x  
struts.configuration C==tJog[  
      The org.apache.struts2.config.Configuration implementation class 3Un/-4uL  
        org.apache.struts2.config.Configuration接口名 F]yclXf('  
r\],5x'xSu  
struts.configuration.files | nry^zb  
      A list of configuration files automatically loaded by Struts n4."}DO  
      struts自动加载的一个配置文件列表 "G6d'xkP  
Bo%M-Gmu  
struts.configuration.xml.reload BqZLqGO Ku  
      Whether to reload the XML configuration or not 3=bzIU  
      是否加载xml配置(true,false) ' 1P_*  
m OmT]X  
struts.continuations.package N0 ?O*a  
      The package containing actions that use Rife continuations Rz=]KeZu  
      含有actions的完整连续的package名称 |w~zh6~  
4Hzbb#  
struts.custom.i18n.resources ^D4b\mF  
      Location of additional localization properties files to load =Bo0Oei  
      加载附加的国际化属性文件(不包含.properties后缀) iXl1S[.l  
w5n>hz_5  
struts.custom.properties nj7Ri=lyS  
      Location of additional configuration properties files to load Z/-%Eb]L1  
      加载附加的配置文件的位置 \ vJ*3H6  
^"buF\3L  
Bl`e+&b  
struts.devMode P\zi:]h[Gh  
      Whether Struts is in development mode or not '3hvR4P  
      是否为struts开发模式 ^* DKF  
/-|xxy  
struts.dispatcher.parametersWorkaround $ @1&G~x  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic `SW`d<+L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eHnC^W}|s  
MeplM$9  
struts.enable.DynamicMethodInvocation {{EQM +  
      Allows one to disable dynamic method invocation from the URL RuRJjcnY  
        允许动态方法调用 gu:..'V  
N,[M8n,  
struts.freemarker.manager.classname ?J6hiQvL  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :He:Bdk  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /=r&9P@Ay<  
\17)=W  
struts.i18n.encoding n.1a1Tf  
      The encoding to use for localization messages P{>T?-Hj  
      国际化信息内码 ?q,x?`|(8  
;=^WIC+Nr  
struts.i18n.reload 0e7v ?UT  
      Whether the localization messages should automatically be reloaded x~{ m%)I  
      是否国际化信息自动加载 i;dr(c/ft  
X4/r#<Da  
struts.locale / TJTu_#  
      The default locale for the Struts application t]&n_]`{.  
      默认的国际化地区信息 "t\9@nzdX  
6kDU}]c:H]  
struts.mapper.class *M`[YG19!e  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class q?0goL  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 aPb!-o{  
Xif`gb6`  
struts.multipart.maxSize "R30oA#m  
      The maximize size of a multipart request (file upload) #F{|G:\@[  
      multipart请求信息的最大尺寸(文件上传用) u8,T>VNVw  
5j}@Of1pd  
struts.multipart.parser jcG4h/A  
      The org.apache.struts2.dispatcher.multipart. XqwdJND  
      MultiPartRequest parser implementation for a multipart request (file upload) n&V(c&C  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) dF?pEet?2  
@%fkW"y:  
<'vM+Lk  
struts.multipart.saveDir \Fe5<G'v  
      The directory to use for storing uploaded files zO\"$8q*  
      设置存储上传文件的目录夹 X0P$r6 ;  
>C&!# 3  
struts.objectFactory ^a}{u$<  
      The com.opensymphony.xwork2.ObjectFactory implementation class vcSS+  
      com.opensymphony.xwork2.ObjectFactory接口(spring) TX+t   
#UI`G3w<  
struts.objectFactory.spring.autoWire }}xR?+4A  
      Whether Spring should autoWire or not cM"I3  
      是否自动绑定Spring oz0-'_  
Ux<h` s  
struts.objectFactory.spring.useClassCache Fwqv 1+  
      Whether Spring should use its class cache or not _j2`#|oG  
      是否spring应该使用自身的cache n&Tv]-  
.ev]tu2N  
struts.objectTypeDeterminer [{c8:)ar  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~G$OY9UC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 M1>a,va8Zq  
"bO]  
struts.serve.static.browserCache @6tx5D?  
If static content served by the Struts filter should set browser caching header properties or not JH5])i0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6x7=0}'  
u}h'v&"e,  
struts.serve.static tvH)I px  
      Whether the Struts filter should serve static content or not DxD0iJ=W  
      是否struts过滤器应该提供静态内容 \ lKQ'_  
jGWLYI=V2  
struts.tag.altSyntax XDWERv Ij  
      Whether to use the alterative syntax for the tags or not EtcamI*`  
      是否可以用替代的语法替代tags N1$P6ZF  
"LWp/  
struts.ui.templateDir -Tt}M#W   
      The directory containing UI templates $k?L?R1  
      UI templates的目录夹 >*(>%E~H  
~@O4>T+VW  
struts.ui.theme . =5Jpo  
      The default UI template theme iUKj:q:  
      默认的UI template主题 h=tY 5]8  
E}GSii%S  
struts.url.http.port /6fPC;l  
      The HTTP port used by Struts URLs )}aF=%  
      设置http端口 K_xOY *  
h ^c'L=dR  
struts.url.https.port Qi}LV"&L  
      The HTTPS port used by Struts URLs sDC RL%0QK  
      设置https端口 ?|/}~ nj7  
f:SF&t*  
struts.url.includeParams r6)1Y`K=9  
      The default includeParams method to generate Struts URLs n" ~*9'  
      在url中产生 默认的includeParams pWp2{G^XB  
S ] &->5"  
K|/a]I":  
struts.velocity.configfile +u2Co_FJ&  
      The Velocity configuration file path ;n@C(hG  
      velocity配置文件路径 h.^DRR^S  
O o:jP6r  
struts.velocity.contexts E.3}a>f  
      List of Velocity context names Rt|Hma  
      velocity的context列表 [ b W=>M  
3{z|301<m  
r?TK@^z  
struts.velocity.manager.classname K6U>Qums  
      org.apache.struts2.views.velocity.VelocityManager implementation class N'1~wxd  
      org.apache.struts2.views.velocity.VelocityManager接口名 :&%;s*-9  
6. jZy~  
struts.velocity.toolboxlocation Hn~1x'$  
      The location of the Velocity toolbox 6b|`[t  
      velocity工具盒的位置 E~P 0}'  
struts.xslt.nocache NZuFxJ-`  
      Whether or not XSLT templates should not be cached iQF}x&a<  
      是否XSLT模版应该被缓存 bM-Rj1#Lo  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五