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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @|vH5Pi  
R~k`KuY@!  
struts.action.extension WXY'%G  
      The URL extension to use to determine if the request is meant for a Struts action * /n8T]s  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ([dd)QU  
q_h (D/g  
struts.configuration 4v hz`1  
      The org.apache.struts2.config.Configuration implementation class u6ULk<<\  
        org.apache.struts2.config.Configuration接口名 ()?83Xj[c  
LsuOmB|^  
struts.configuration.files J4"Fj, FS  
      A list of configuration files automatically loaded by Struts fyb;*hgu  
      struts自动加载的一个配置文件列表 `IUn{I  
UE.kR+1  
struts.configuration.xml.reload daI_@kY"  
      Whether to reload the XML configuration or not Z%qtAPd  
      是否加载xml配置(true,false) 3>aEP5  
2.Qz"YDh =  
struts.continuations.package ?zf3Fn2y  
      The package containing actions that use Rife continuations zR^Gy"  
      含有actions的完整连续的package名称 i9DD)Y<  
M>]A! W=  
struts.custom.i18n.resources \MOwp@|y  
      Location of additional localization properties files to load sE6>JaH  
      加载附加的国际化属性文件(不包含.properties后缀) *c94'Tcl  
*kl  :/#  
struts.custom.properties {4G/HW28  
      Location of additional configuration properties files to load K%? g6j  
      加载附加的配置文件的位置 j fY7ich  
=\WF +r]V  
r@{TN6U  
struts.devMode !ka* rd  
      Whether Struts is in development mode or not *(?Wzanh  
      是否为struts开发模式 3uqhYT;  
wwB3m&  
struts.dispatcher.parametersWorkaround Lz'VQO1U=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic MxIa,M <  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q S&B"7;g  
rTIu'  
struts.enable.DynamicMethodInvocation bItcF$#!!!  
      Allows one to disable dynamic method invocation from the URL VWvSt C  
        允许动态方法调用 LZRg%3.E  
{7OHEArv  
struts.freemarker.manager.classname c0gVW~I1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class n|~y >w4  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 :-46"bP.  
67II9\/  
struts.i18n.encoding #_wq#rF  
      The encoding to use for localization messages $s/E } X  
      国际化信息内码 >5t%_/yeB  
9qB0F_xl  
struts.i18n.reload q*l4h u%3  
      Whether the localization messages should automatically be reloaded tg/UtE`V  
      是否国际化信息自动加载 ZNX38<3h  
l4oyF|oJTH  
struts.locale Icnhet4  
      The default locale for the Struts application 'p&,'+x  
      默认的国际化地区信息 qUkM No3  
6:7[>|okQ  
struts.mapper.class ;=ddv@  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class $Iwvecn?I  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /uwi$~Ed  
_qxI9Q}<"  
struts.multipart.maxSize ?FQ#I~'<  
      The maximize size of a multipart request (file upload) 5 8bW  
      multipart请求信息的最大尺寸(文件上传用) Rqh5FzB>  
W&?Qs=@  
struts.multipart.parser 4N,mcV  
      The org.apache.struts2.dispatcher.multipart.   EO&Q  
      MultiPartRequest parser implementation for a multipart request (file upload) "]+g5G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *|fF;-#v  
+(3_V$|Dv  
::|~tLFu  
struts.multipart.saveDir g"!(@]L!@  
      The directory to use for storing uploaded files "?I#!t%'  
      设置存储上传文件的目录夹 }X&rJV  
<-umeY"n>  
struts.objectFactory Wh)D_  
      The com.opensymphony.xwork2.ObjectFactory implementation class YX0ysE*V:&  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;.A}c)b  
AG N/kx  
struts.objectFactory.spring.autoWire i+*!" /De  
      Whether Spring should autoWire or not P=QxfX0B  
      是否自动绑定Spring 'r?ULft1  
~zqb{o^pT  
struts.objectFactory.spring.useClassCache /,Xl8<~#  
      Whether Spring should use its class cache or not E7:xPNU  
      是否spring应该使用自身的cache =:- fK-d  
 )(G9[DG  
struts.objectTypeDeterminer K3yQ0k |  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !GqFX+!Ju  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6p9fq3~7Y  
HEF e?  
struts.serve.static.browserCache *; Jb=  
If static content served by the Struts filter should set browser caching header properties or not /T w{JO#Q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 6_Fr\H  
Ax;[Em?I  
struts.serve.static  ?Y(  
      Whether the Struts filter should serve static content or not m9 h '!X<  
      是否struts过滤器应该提供静态内容 > N~8#C  
35<A :jKS  
struts.tag.altSyntax r )F;8(  
      Whether to use the alterative syntax for the tags or not 8QrpNSj4  
      是否可以用替代的语法替代tags j[G`p^ul  
}aZuCe_  
struts.ui.templateDir k?+ 7%A]  
      The directory containing UI templates l|P"^;*zq  
      UI templates的目录夹 Yj/afn(Jt  
p)y5[HX  
struts.ui.theme j/O~8o&  
      The default UI template theme i5VZ,E^E  
      默认的UI template主题 c|&3e84U  
7n8nJTU{4j  
struts.url.http.port ^3;B4tj[  
      The HTTP port used by Struts URLs QNj]wm=mp  
      设置http端口 {M]_]L{&7  
D}_.D=)  
struts.url.https.port Nd~B$venh  
      The HTTPS port used by Struts URLs s2; ~FK#/  
      设置https端口 1 /. BP  
A~?M`L>B  
struts.url.includeParams ,i2-  
      The default includeParams method to generate Struts URLs ig,.>'+l  
      在url中产生 默认的includeParams o*cu-j3  
cq1 5@a mX  
e97G]XLR  
struts.velocity.configfile <xI<^r'C9e  
      The Velocity configuration file path //R"ZE@d\  
      velocity配置文件路径 8 #_pkVQw:  
O=B =0  
struts.velocity.contexts M3(N!xT  
      List of Velocity context names fF@w:;u  
      velocity的context列表 ;qshd'?*  
Bn}woyJdx  
\T7Mt|f:5  
struts.velocity.manager.classname a>wCBkD  
      org.apache.struts2.views.velocity.VelocityManager implementation class Y6` xb`  
      org.apache.struts2.views.velocity.VelocityManager接口名 1EyN |m|  
k# [!; <  
struts.velocity.toolboxlocation m2(>KMbi  
      The location of the Velocity toolbox S,#1^S  
      velocity工具盒的位置 OW7  
struts.xslt.nocache Ez3fL&*  
      Whether or not XSLT templates should not be cached {w@qFE'b  
      是否XSLT模版应该被缓存 F9K%f&0 a  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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