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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 :v#k&Uh3y  
ra]!4Kd'  
struts.action.extension iD%qy/I/  
      The URL extension to use to determine if the request is meant for a Struts action cy1\u2x_`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 A#Xj]^-*  
4id3P{aU  
struts.configuration i^je.,Bi  
      The org.apache.struts2.config.Configuration implementation class tCWJSi`IJ  
        org.apache.struts2.config.Configuration接口名 <^ #P6  
cwu$TP A>  
struts.configuration.files L3B8IDq  
      A list of configuration files automatically loaded by Struts RI (=HzB  
      struts自动加载的一个配置文件列表 7^ B3lC)  
`0yb?Nk `:  
struts.configuration.xml.reload `Uz s+k-]  
      Whether to reload the XML configuration or not rW:iBq  
      是否加载xml配置(true,false) U:qF/%w  
?N4A9W9  
struts.continuations.package ]ddHA  
      The package containing actions that use Rife continuations .=Pm>o/,  
      含有actions的完整连续的package名称 UUl*f!& o  
jEZ "  
struts.custom.i18n.resources {hxW,mmA  
      Location of additional localization properties files to load M} O[`Fx{W  
      加载附加的国际化属性文件(不包含.properties后缀) +->\79<#V(  
Dp!;7e s|  
struts.custom.properties yrO?Np  
      Location of additional configuration properties files to load iH[E= 6*  
      加载附加的配置文件的位置 +yth_9  
Ru)(dvk}S  
e@[9C(5E"  
struts.devMode PPN q:,  
      Whether Struts is in development mode or not  \C|;F  
      是否为struts开发模式 (.PmDBW  
dF$KrwDK  
struts.dispatcher.parametersWorkaround GSQfg  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 7. %f01/i  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) -<O JqB  
-dl}_   
struts.enable.DynamicMethodInvocation 0[lS(K  
      Allows one to disable dynamic method invocation from the URL D2Y&[zgv  
        允许动态方法调用 F b1EMVu  
ab{;Z 5O  
struts.freemarker.manager.classname !{IC[g n  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jUYF.K&  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]yo_wGiwY  
F\JLbY{x]  
struts.i18n.encoding +q7qK*  
      The encoding to use for localization messages l x7Kw%  
      国际化信息内码 h:f;mn?x  
3KtAK9PT  
struts.i18n.reload pNuqT*  
      Whether the localization messages should automatically be reloaded 77``8,  
      是否国际化信息自动加载 6!Qknk$  
AQ-mE9>P  
struts.locale ^ b@!dS  
      The default locale for the Struts application ?F1wh2o q  
      默认的国际化地区信息 Pfm*<,'x"[  
)eECOfmnZ  
struts.mapper.class 0X.TF  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class B-$+UE>%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 XHy ?  
}bp.OV-+  
struts.multipart.maxSize 3a%xn4P  
      The maximize size of a multipart request (file upload) 5|CzX X#U  
      multipart请求信息的最大尺寸(文件上传用) S:#e8H_7m]  
Im6U_JsNZh  
struts.multipart.parser D{>\-]\  
      The org.apache.struts2.dispatcher.multipart. N50fL  
      MultiPartRequest parser implementation for a multipart request (file upload) ?<E0zM+  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) $1~c_<DN  
uw_H:-J  
~,T+JX  
struts.multipart.saveDir Oohq9f#!  
      The directory to use for storing uploaded files )qmFK .;%  
      设置存储上传文件的目录夹 vuZf#\zh}  
Ym'7vW#~  
struts.objectFactory mzu<C)9d,  
      The com.opensymphony.xwork2.ObjectFactory implementation class z<t>hzl 7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) <E SvvTf  
w m19T7*L  
struts.objectFactory.spring.autoWire mdaYYD=c%  
      Whether Spring should autoWire or not # J]~  
      是否自动绑定Spring <iRWd  
X3AwM%,!  
struts.objectFactory.spring.useClassCache 8|6~o.B.G  
      Whether Spring should use its class cache or not r( M[8@Nz  
      是否spring应该使用自身的cache rfX=*mjt  
-rO*7HO  
struts.objectTypeDeterminer 5:$Xtq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class n6/fan;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 fL2^\dB;  
y[7C% Wj  
struts.serve.static.browserCache /,X7.t_-  
If static content served by the Struts filter should set browser caching header properties or not 9l#gMFknI  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 IYLZ +>  
$.9 +{mz  
struts.serve.static '<W<B!HP5Z  
      Whether the Struts filter should serve static content or not !x8kB Di,  
      是否struts过滤器应该提供静态内容 L $SMfx  
x df?nt  
struts.tag.altSyntax rEmwKZF'  
      Whether to use the alterative syntax for the tags or not Si]X rub  
      是否可以用替代的语法替代tags gn^!"MN+g  
$D}"k!H  
struts.ui.templateDir G~(& 3  
      The directory containing UI templates QypZH"Np  
      UI templates的目录夹 \ZsP]};*  
2 ^oGwx @  
struts.ui.theme Wa<-AZnh  
      The default UI template theme 9ZhDZ~)p,  
      默认的UI template主题 gX_SKy  
QAi1,+y]7w  
struts.url.http.port u3ST;  
      The HTTP port used by Struts URLs ^;4YZwW5w  
      设置http端口 [<Q4U{F  
}Bi@?Sb  
struts.url.https.port B>,A(X&  
      The HTTPS port used by Struts URLs e+{BJN vz  
      设置https端口 ~@@ Z|w  
W6i3Psjsw  
struts.url.includeParams 2 ZK%)vq0  
      The default includeParams method to generate Struts URLs m2Q$+p@  
      在url中产生 默认的includeParams i\  "{#  
:Pf>Z? /d  
@%:E  }  
struts.velocity.configfile h"r!q[MN o  
      The Velocity configuration file path @<a|  
      velocity配置文件路径 6^ab@GrN\  
83Uw  
struts.velocity.contexts Y0}4WWV  
      List of Velocity context names ?^. Pt  
      velocity的context列表 8 ip^]  
:T5A84/C  
Fo(y7$33*  
struts.velocity.manager.classname uRpBeH]Z"  
      org.apache.struts2.views.velocity.VelocityManager implementation class S2Vxe@b)  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~5T$8^K  
 HD H  
struts.velocity.toolboxlocation lCHo+>\Z  
      The location of the Velocity toolbox ?aFZOc4   
      velocity工具盒的位置 c})wD+1  
struts.xslt.nocache u-:MVEm  
      Whether or not XSLT templates should not be cached LZa% x  
      是否XSLT模版应该被缓存 3e *-\TP-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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