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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 !*m5F8Qm?A  
R)z4n  
struts.action.extension z4+k7a@jn  
      The URL extension to use to determine if the request is meant for a Struts action XKttZOiGT  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >.'*) @vQi  
=aj/,Q]  
struts.configuration 8V)^R(\;  
      The org.apache.struts2.config.Configuration implementation class ang~<  
        org.apache.struts2.config.Configuration接口名 Q`D~5ci  
'wI"Bo6e  
struts.configuration.files j =WST  
      A list of configuration files automatically loaded by Struts Jd(,/q  
      struts自动加载的一个配置文件列表 y[\VUzD*'  
'0uh D.|G  
struts.configuration.xml.reload MHai%E  
      Whether to reload the XML configuration or not U{z9>  
      是否加载xml配置(true,false) aj}sc/Qa  
/.i.TQ]  
struts.continuations.package 0-|byAh  
      The package containing actions that use Rife continuations I1\a[Xe8E  
      含有actions的完整连续的package名称 ?) [EO(D  
\X&H;xnC5  
struts.custom.i18n.resources dBe`p5Z  
      Location of additional localization properties files to load T G{k0cdOT  
      加载附加的国际化属性文件(不包含.properties后缀) 0B&Y ]*  
~aOuG5 XK  
struts.custom.properties _ozg_E  
      Location of additional configuration properties files to load TJ'[--  
      加载附加的配置文件的位置 P=&o%K,:f  
On@<J&%  
13%t"-@bh  
struts.devMode 9,_mS{+B  
      Whether Struts is in development mode or not ;3@YZM'wt  
      是否为struts开发模式 .E&z$N  
WN5`;{\  
struts.dispatcher.parametersWorkaround T?1Du"d8  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic nF4a-H&Fo  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +1!qs,  
"+ >SJ~  
struts.enable.DynamicMethodInvocation Ra/Ukv_v  
      Allows one to disable dynamic method invocation from the URL `S.ZS}~!F  
        允许动态方法调用 pM&YXb?  
P<2 +L|X?}  
struts.freemarker.manager.classname drd/jH&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ND,Kldji  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 hj$ e|arB  
7Wa?$6d  
struts.i18n.encoding ym/fFm6h  
      The encoding to use for localization messages o|iYd n\  
      国际化信息内码 z%7SrUj2  
d90Z,nex  
struts.i18n.reload st &  
      Whether the localization messages should automatically be reloaded sv(f;ib  
      是否国际化信息自动加载 K+)%KP  
rgf#wH%hN  
struts.locale ]cC[-F[  
      The default locale for the Struts application ~!d/8?!   
      默认的国际化地区信息 Enq|Y$qm  
-MugnB6  
struts.mapper.class gx:;&4AD  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \[>9UC%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 c$,_>tcP  
%tt%`0  
struts.multipart.maxSize -/dEsgO  
      The maximize size of a multipart request (file upload) \zkw2*t  
      multipart请求信息的最大尺寸(文件上传用) [;oCYb$9  
BtdXv4V  
struts.multipart.parser >x@P|\  
      The org.apache.struts2.dispatcher.multipart. Y'3}G<'%  
      MultiPartRequest parser implementation for a multipart request (file upload) 5ZPzPUa8~  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) zT* .jv  
4^' 3&vu  
W"xP(7X  
struts.multipart.saveDir @C-dG7U.P  
      The directory to use for storing uploaded files uH^ PQ  
      设置存储上传文件的目录夹 l0Ti Z  
+1Ph<zq"  
struts.objectFactory 2~p[7?sp'  
      The com.opensymphony.xwork2.ObjectFactory implementation class >(tn"2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) a)! g7u  
&MgeYpd  
struts.objectFactory.spring.autoWire 6Bm9?eU0  
      Whether Spring should autoWire or not rt+..t\  
      是否自动绑定Spring yISD/ g  
+>g`m)?p  
struts.objectFactory.spring.useClassCache ftavbNR`W  
      Whether Spring should use its class cache or not VnJMmMM  
      是否spring应该使用自身的cache g#K'6VK{  
c| ' w  
struts.objectTypeDeterminer AzpV4(:an.  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class gglQU"=g{  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Y &r]lD  
7yiJ1K<bIt  
struts.serve.static.browserCache M`,XyIn  
If static content served by the Struts filter should set browser caching header properties or not ;+I4&VieK  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8xI`jE"1  
xwzT#DXGJ  
struts.serve.static g "!\\:M  
      Whether the Struts filter should serve static content or not ?Zyok]s  
      是否struts过滤器应该提供静态内容 yNJAWM7  
<-jGqUN_I  
struts.tag.altSyntax af+}S9To  
      Whether to use the alterative syntax for the tags or not mKg@W;0ML  
      是否可以用替代的语法替代tags /k7wwZiY@  
cc >  
struts.ui.templateDir d\XRUO[  
      The directory containing UI templates ]?9[l76O7  
      UI templates的目录夹 ?Nl"sVCo  
RyRqH:p)3  
struts.ui.theme Gbd?%{Xc-  
      The default UI template theme >3 Ko.3&  
      默认的UI template主题 ,bSVVT-b  
z-0:m|=yH  
struts.url.http.port +>3]%i- \  
      The HTTP port used by Struts URLs t58m=4  
      设置http端口 sdF3cX  
>7>7/7=O  
struts.url.https.port |Odu4 Q  
      The HTTPS port used by Struts URLs 4NVgOr:  
      设置https端口 'rV2Bt,  
u"F;OT\>g  
struts.url.includeParams uaQ&&5%%J  
      The default includeParams method to generate Struts URLs f Lk"tW  
      在url中产生 默认的includeParams l:tpL(%  
!5;t#4=  
BpXEK.Xw  
struts.velocity.configfile |z7dRDU}]  
      The Velocity configuration file path E0bFx5e5fu  
      velocity配置文件路径 s}b*5@8|tA  
G(i\'#5+  
struts.velocity.contexts *!u?  
      List of Velocity context names ucFw,sB1  
      velocity的context列表 [oHOHp/V  
DM/hcY$MW  
zlX! xqHj  
struts.velocity.manager.classname WB"$u2{|i  
      org.apache.struts2.views.velocity.VelocityManager implementation class |\p5mh  
      org.apache.struts2.views.velocity.VelocityManager接口名 er\:U0fr#@  
.5k^f5a  
struts.velocity.toolboxlocation 5fxbA2\  
      The location of the Velocity toolbox s#Q _Gu  
      velocity工具盒的位置 ) hPVX()O!  
struts.xslt.nocache {1HB!@%,(  
      Whether or not XSLT templates should not be cached Y=WR6!{  
      是否XSLT模版应该被缓存 IgiqFV {  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八