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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 GEXT8f(7  
R| t"(6  
struts.action.extension ^?(A|krFg  
      The URL extension to use to determine if the request is meant for a Struts action M0DdrL/ L  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .Y[sQO~%  
&bBK#d*-u?  
struts.configuration H[ocIw  
      The org.apache.struts2.config.Configuration implementation class \k_0wt2x1  
        org.apache.struts2.config.Configuration接口名 q[1:h  
rVq=,>M9  
struts.configuration.files s2L|J[Y"s  
      A list of configuration files automatically loaded by Struts [_Y\TdR  
      struts自动加载的一个配置文件列表 7!.%HhU0  
X64OX9:YF  
struts.configuration.xml.reload DbFTNoVR  
      Whether to reload the XML configuration or not S/v+7oT  
      是否加载xml配置(true,false) &Al9%W  
%m1k^  
struts.continuations.package 7 N+;K0  
      The package containing actions that use Rife continuations (nfra,'  
      含有actions的完整连续的package名称 My0h9'K  
ZvEcExA-  
struts.custom.i18n.resources {@1.2AWg  
      Location of additional localization properties files to load x&7% U  
      加载附加的国际化属性文件(不包含.properties后缀) EU.vw0}u8  
qN}kDT  
struts.custom.properties 8v"tOa4D7  
      Location of additional configuration properties files to load +,<\LIP  
      加载附加的配置文件的位置 Y%:FawR  
QPjmIO  
uhvmh  
struts.devMode @gc lks/M  
      Whether Struts is in development mode or not [RG&1~  
      是否为struts开发模式 3UgusH3  
K[Bq,nPo  
struts.dispatcher.parametersWorkaround 3 G/#OJ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ]C^D5(t/cd  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &x19]?D"+  
6z@OGExmd#  
struts.enable.DynamicMethodInvocation j>X;a39|  
      Allows one to disable dynamic method invocation from the URL 9H:5XR  
        允许动态方法调用 B8-v!4b0`  
vUl5%r2O4  
struts.freemarker.manager.classname g=.~_&O  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g9(zJ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 itb0dF1G  
}7YDe'5V  
struts.i18n.encoding ),%/T,!@  
      The encoding to use for localization messages 0mo^I==J1  
      国际化信息内码 {bnNY  
r(NfVQF  
struts.i18n.reload N+)4]ir>  
      Whether the localization messages should automatically be reloaded {Buoo~  
      是否国际化信息自动加载 .CH0P K=l  
_l,?Y;OF  
struts.locale ZK<kn8JJ  
      The default locale for the Struts application > ^fY`x,  
      默认的国际化地区信息 9'F-D  
?P4@U9i  
struts.mapper.class Dt?O_Bdv[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 3?I^D /K^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?PORPv#  
<Ur(< WTV  
struts.multipart.maxSize vr5 6 f1  
      The maximize size of a multipart request (file upload) 49n.Gc  
      multipart请求信息的最大尺寸(文件上传用) A3ad9?LR[R  
2zR*`9$  
struts.multipart.parser Vr/UbgucJ  
      The org.apache.struts2.dispatcher.multipart. =$601r  
      MultiPartRequest parser implementation for a multipart request (file upload) x bF*4;^SI  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) u%?u`n2'  
8>a/x,  
n's3!HQY[  
struts.multipart.saveDir R_ J=x  
      The directory to use for storing uploaded files Jhu<^pjs  
      设置存储上传文件的目录夹 @!6eRp>Z  
F4X/ )$Dk  
struts.objectFactory r4caIV  
      The com.opensymphony.xwork2.ObjectFactory implementation class l=*^FK]L`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) p#~' xq  
*0M#{HQ  
struts.objectFactory.spring.autoWire |8}f  
      Whether Spring should autoWire or not _ b}\h,Ky  
      是否自动绑定Spring =BJ/ZM  
1) V,>)Ak  
struts.objectFactory.spring.useClassCache c/ %5IhX?  
      Whether Spring should use its class cache or not hKjvD.6]%  
      是否spring应该使用自身的cache LB%_FT5  
Pi::cf>3  
struts.objectTypeDeterminer KTxdZt  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0?l|A1I%   
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ^qqP):0y1V  
HRi~TZ?\  
struts.serve.static.browserCache d$)'?Sf]h  
If static content served by the Struts filter should set browser caching header properties or not g(<02t!OT=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 "T5?<c  
Dr6"~5~9w  
struts.serve.static xjOy3_Js  
      Whether the Struts filter should serve static content or not 1Lwi?~!LI  
      是否struts过滤器应该提供静态内容 :xZ/c\  
R[ S*ON  
struts.tag.altSyntax -yfyd$5j  
      Whether to use the alterative syntax for the tags or not VpMpZ9oM<  
      是否可以用替代的语法替代tags @va{&i`%A7  
=]oBBokV  
struts.ui.templateDir uoFH{.)  
      The directory containing UI templates $1oU^V Y  
      UI templates的目录夹 )/2* <jr  
%*OKhrM  
struts.ui.theme ? Ldw\  
      The default UI template theme YD2M<.U  
      默认的UI template主题 \*6%o0c  
H7G*Vg  
struts.url.http.port aAO[Y"-:,Y  
      The HTTP port used by Struts URLs ',8]vWsl  
      设置http端口 $=iz&{9  
VY<v?Of i-  
struts.url.https.port U6FM`w<  
      The HTTPS port used by Struts URLs r S/Q  
      设置https端口 NFY,$  
AM##:4   
struts.url.includeParams R+lKQAyC0=  
      The default includeParams method to generate Struts URLs )vO Zp&  
      在url中产生 默认的includeParams #QZg{  
^R1 nOo/  
<;#d*&]  
struts.velocity.configfile bj(U?$  
      The Velocity configuration file path JXBW0|8b  
      velocity配置文件路径 *gHOH!K,S  
,!kqEIp%  
struts.velocity.contexts X55Eemg/  
      List of Velocity context names X1:|   
      velocity的context列表 Cst\_j  
A)040n  
9g >]m 6  
struts.velocity.manager.classname ;z#D%#Ztq  
      org.apache.struts2.views.velocity.VelocityManager implementation class 8~:qn@ Z|E  
      org.apache.struts2.views.velocity.VelocityManager接口名 )gvX eJ  
T_6,o[b8  
struts.velocity.toolboxlocation 4 u X<sJ*  
      The location of the Velocity toolbox m^U\l9LE  
      velocity工具盒的位置 F0bmGDp@-  
struts.xslt.nocache INW8Q`[F  
      Whether or not XSLT templates should not be cached HYLU]9aH8  
      是否XSLT模版应该被缓存 =Z2U  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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