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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 cRrJZ9  
'ZMh<M[  
struts.action.extension j;_  
      The URL extension to use to determine if the request is meant for a Struts action ?i#x13  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 JXe~ 9/!  
ly*v|(S&  
struts.configuration H(76sE  
      The org.apache.struts2.config.Configuration implementation class ]zJO)(d$>  
        org.apache.struts2.config.Configuration接口名 7UW\|r  
U.t][#<3  
struts.configuration.files ]3I a>i  
      A list of configuration files automatically loaded by Struts CV"}(1T  
      struts自动加载的一个配置文件列表 Q`AlK"G,  
1#_ pj eG  
struts.configuration.xml.reload 2h51zG#qd  
      Whether to reload the XML configuration or not s a o&  
      是否加载xml配置(true,false) h>GbJ/^  
T{+a48,;  
struts.continuations.package `+\$  
      The package containing actions that use Rife continuations i]k)wr(  
      含有actions的完整连续的package名称 /}U)|6- B  
eQ/w Mr  
struts.custom.i18n.resources #n|5ng|CJ  
      Location of additional localization properties files to load oydP}X  
      加载附加的国际化属性文件(不包含.properties后缀) =&UE67eK,  
JnK<:]LcK  
struts.custom.properties ^"?a)KC  
      Location of additional configuration properties files to load Ah7"qv'L\  
      加载附加的配置文件的位置 )?#K0o[<  
@hg[v`~  
~$T>,^K y  
struts.devMode aQx6;PC  
      Whether Struts is in development mode or not /Ls|'2J<$  
      是否为struts开发模式 zu @|"f^`  
zMP6hn  
struts.dispatcher.parametersWorkaround W1"NKg~4  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ff.k1%wr^  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) HLV8_~gQPf  
=Vs?=|r  
struts.enable.DynamicMethodInvocation PA,aYg0f  
      Allows one to disable dynamic method invocation from the URL \^dse  
        允许动态方法调用 ig.Z,R3@r  
^z)De+,!4  
struts.freemarker.manager.classname uVU)LOx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7MrHu2rZ=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ma*#*4  
}9\6!GY0  
struts.i18n.encoding 61kSCu  
      The encoding to use for localization messages BI)C\D3[  
      国际化信息内码 C;JW \J~W  
vPYHM2  
struts.i18n.reload %4!^AA%  
      Whether the localization messages should automatically be reloaded #*CMf.OCh  
      是否国际化信息自动加载 ^ei[1 #  
+\_\53  
struts.locale BE@(| U  
      The default locale for the Struts application {z 5YJ*C  
      默认的国际化地区信息 kK4 a;j.#  
>Df; 1:U  
struts.mapper.class ]m 3cm  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hIqUidJod  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 N80ogio_Tk  
AA,/AKikd  
struts.multipart.maxSize 5"57F88Y1  
      The maximize size of a multipart request (file upload) +5|k#'%5  
      multipart请求信息的最大尺寸(文件上传用) PV~D;  
cb)7$S  
struts.multipart.parser Ojl X<y.  
      The org.apache.struts2.dispatcher.multipart. E%v0@  
      MultiPartRequest parser implementation for a multipart request (file upload) [nVBnB  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) sv% E5@  
[#@lsI  
qtAt=` s  
struts.multipart.saveDir --l UEo~  
      The directory to use for storing uploaded files ^rq\kf*]  
      设置存储上传文件的目录夹 xOShO"4Z   
?C fQwY#N  
struts.objectFactory }W 5ks-L6  
      The com.opensymphony.xwork2.ObjectFactory implementation class u5Z yOZ;  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~3gazTe9  
l@GJcCufE  
struts.objectFactory.spring.autoWire ghB&wOm/  
      Whether Spring should autoWire or not 6ZHeAb]"  
      是否自动绑定Spring 3^wHL:u  
V^Z5i]zT  
struts.objectFactory.spring.useClassCache rM= :{   
      Whether Spring should use its class cache or not Lwi"K8.u  
      是否spring应该使用自身的cache e'$[PF  
qQ)1+^  
struts.objectTypeDeterminer -|}?+W  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 9rz$c, Y(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 UJqh~s  
IowXVdm@6  
struts.serve.static.browserCache +=9iq3<yfS  
If static content served by the Struts filter should set browser caching header properties or not <\$"U5"`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1K/ :  
1\@PrO35J  
struts.serve.static qZ[HILh!  
      Whether the Struts filter should serve static content or not fTR6]i;  
      是否struts过滤器应该提供静态内容 6:%lxG  
tc`3-goX  
struts.tag.altSyntax 4s:M}=]N  
      Whether to use the alterative syntax for the tags or not yN`hW&K  
      是否可以用替代的语法替代tags !YGHJwW:  
9kWI2cLzQt  
struts.ui.templateDir )N- '~<N  
      The directory containing UI templates 64U|]g d$  
      UI templates的目录夹 Vv(buG  
FD E?O]^  
struts.ui.theme >i  
      The default UI template theme G.L}VpopM  
      默认的UI template主题 deYv&=SPl  
/# Jvt  
struts.url.http.port b1#C,UWK  
      The HTTP port used by Struts URLs rAHP5dx:  
      设置http端口 GO2q"a  
Pi5MFw'v  
struts.url.https.port !\{2s!l~  
      The HTTPS port used by Struts URLs r3' DXP  
      设置https端口 EmO[-W|2  
X(x,6cC  
struts.url.includeParams @ntwdv;  
      The default includeParams method to generate Struts URLs *V:U\G  
      在url中产生 默认的includeParams XZ.D<T"  
iP9]b&  
XYP RMa?  
struts.velocity.configfile q j21#q .  
      The Velocity configuration file path Peph..8Z  
      velocity配置文件路径 y>t:flD*  
&uE )Vr4R  
struts.velocity.contexts N`IXSE  
      List of Velocity context names ~),%w*L  
      velocity的context列表 ?,riwDI 2  
/f?;,CyI  
#FAW@6QG  
struts.velocity.manager.classname /2T  W?a  
      org.apache.struts2.views.velocity.VelocityManager implementation class (Q||5  
      org.apache.struts2.views.velocity.VelocityManager接口名 ejR$N!LL  
+-;v+{  
struts.velocity.toolboxlocation XQ[\K6X5  
      The location of the Velocity toolbox ] H;E(1iU  
      velocity工具盒的位置 @BnK C&{  
struts.xslt.nocache NVkYm+J#  
      Whether or not XSLT templates should not be cached -:d{x#  
      是否XSLT模版应该被缓存 dL4VcUS.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五