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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ^PCL^]W  
sO f)/19  
struts.action.extension Z!5m'yZO  
      The URL extension to use to determine if the request is meant for a Struts action enfu%"(K)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 5SPl#*W  
0ju wDd  
struts.configuration }M"'K2_Z  
      The org.apache.struts2.config.Configuration implementation class ^ _#gIT\  
        org.apache.struts2.config.Configuration接口名 S+\Mt+o  
YJtOdgG|q  
struts.configuration.files B )3SiU  
      A list of configuration files automatically loaded by Struts |H|eH~.yg&  
      struts自动加载的一个配置文件列表 f"}14V  
d'eM(4R@  
struts.configuration.xml.reload )8A=yrTIT  
      Whether to reload the XML configuration or not A<G ;  
      是否加载xml配置(true,false) V1+o3g{}  
EXM/>PG  
struts.continuations.package eVbh$cIrZ  
      The package containing actions that use Rife continuations ywa.cq  
      含有actions的完整连续的package名称 eC1c`@C:  
EPUJa~4  
struts.custom.i18n.resources ysP/@;jC  
      Location of additional localization properties files to load }X.8.S'  
      加载附加的国际化属性文件(不包含.properties后缀)  3kzGL  
y`P7LC  
struts.custom.properties $AJy^`E^  
      Location of additional configuration properties files to load BDm H^`V  
      加载附加的配置文件的位置 u/{_0-+P  
K|' ]Hje\  
qm&53  
struts.devMode }v|[h[cZ  
      Whether Struts is in development mode or not ]r{ #268  
      是否为struts开发模式 ^`C*";8Q  
&wWGZ~T  
struts.dispatcher.parametersWorkaround {&AT}7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic xN~<<PIZ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b|pNc'u:Cn  
dIh(~KqB  
struts.enable.DynamicMethodInvocation |Z)/  
      Allows one to disable dynamic method invocation from the URL &T4Cn@  
        允许动态方法调用 _\V{X}ftqa  
 kc/H  
struts.freemarker.manager.classname KgkB)1s@n  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class LSOwa  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 9~ .BH;ku  
Ra,on&OP`*  
struts.i18n.encoding oGjYCVc  
      The encoding to use for localization messages Y&Nv>o_}5  
      国际化信息内码 Z-r0 D  
# T#FUI1p  
struts.i18n.reload ynz5Dy.d;  
      Whether the localization messages should automatically be reloaded hCx#Heh  
      是否国际化信息自动加载 ViC76aJ  
(TK cSVR  
struts.locale G37L 9IG-M  
      The default locale for the Struts application R5YtCw]i=  
      默认的国际化地区信息 Q0cf]  
xuC6EK+  
struts.mapper.class G`<1>%" F  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 53#5p;k  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 L?5t <`#lw  
rEyMSLN  
struts.multipart.maxSize a\.?{/  
      The maximize size of a multipart request (file upload) z:q'?{` I  
      multipart请求信息的最大尺寸(文件上传用) \fGYJ37  
9#ay(g  
struts.multipart.parser >L3p qK   
      The org.apache.struts2.dispatcher.multipart. S6Xw+W02  
      MultiPartRequest parser implementation for a multipart request (file upload) S)1:*>@  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) uqH! eN5  
{:!SH6 ff  
bJu,R-f  
struts.multipart.saveDir TuPxyB  
      The directory to use for storing uploaded files u(Q(UuI  
      设置存储上传文件的目录夹 ).6/ii9gt  
l@2`f#y1~<  
struts.objectFactory lJpv  
      The com.opensymphony.xwork2.ObjectFactory implementation class }LVE^6zyk  
      com.opensymphony.xwork2.ObjectFactory接口(spring) WxI]Fcb<  
I Q`aDo-V  
struts.objectFactory.spring.autoWire mTu9'/$(  
      Whether Spring should autoWire or not 5 BG&r*U  
      是否自动绑定Spring "alO"x8t  
JQv ZTwSI  
struts.objectFactory.spring.useClassCache Xrs~ove1V  
      Whether Spring should use its class cache or not NQ{Z   
      是否spring应该使用自身的cache gnK!"!nL  
 0>J4O:k  
struts.objectTypeDeterminer  o?x|y   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class }C1}T}U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9d|7#)a;  
Y2~{qY  
struts.serve.static.browserCache 'r3}=z4Y  
If static content served by the Struts filter should set browser caching header properties or not H$'kWU*l  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Y\2>y"8>$x  
=<tEc+!T3  
struts.serve.static c8 fb)`,k  
      Whether the Struts filter should serve static content or not /60=N `i  
      是否struts过滤器应该提供静态内容 >~r@*gml  
!,WRXE&j  
struts.tag.altSyntax n_ gB#L$  
      Whether to use the alterative syntax for the tags or not t$Ji{t-  
      是否可以用替代的语法替代tags Z%d4V<fn  
RB@gSHOc?  
struts.ui.templateDir VZl0)YLK  
      The directory containing UI templates / S^m!{  
      UI templates的目录夹 '4S@:.D`  
JVYYwA^ .  
struts.ui.theme B_1u<00kg  
      The default UI template theme bpCe&*\6K  
      默认的UI template主题 Z@Z`8M@Q,  
,S K6*tpI  
struts.url.http.port iC\=U  
      The HTTP port used by Struts URLs lJ2/xE]  
      设置http端口 e 2&i  
KAaeaiD  
struts.url.https.port alD|-{Bf  
      The HTTPS port used by Struts URLs >}tG^)os  
      设置https端口 6 6;O3g'  
R9HS%O6b6  
struts.url.includeParams @Kb~!y@G  
      The default includeParams method to generate Struts URLs }tq9 /\  
      在url中产生 默认的includeParams rkXSy g b  
3hjwwLKG$  
_)\,6| #  
struts.velocity.configfile ;0{*V5A  
      The Velocity configuration file path KPrxw }P  
      velocity配置文件路径 f4^_FK&  
`{;&Qcg6m  
struts.velocity.contexts IKj1{nZvDc  
      List of Velocity context names `2+52q<FO  
      velocity的context列表 'KrkC A  
cM Kh+r  
}z:=b8}  
struts.velocity.manager.classname Qc/J"<Lx  
      org.apache.struts2.views.velocity.VelocityManager implementation class M#,+p8  
      org.apache.struts2.views.velocity.VelocityManager接口名 {[iQRYD0|  
msJn;(Pn  
struts.velocity.toolboxlocation i oQlC4Y  
      The location of the Velocity toolbox !I$RE?7eY  
      velocity工具盒的位置 Sv",E@!f  
struts.xslt.nocache w N.Jyb  
      Whether or not XSLT templates should not be cached %ua5T9H Z  
      是否XSLT模版应该被缓存 $^GnY7$!>  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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