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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 sYB2{w   
|{MXDx  
struts.action.extension V/RV,K1/  
      The URL extension to use to determine if the request is meant for a Struts action 2_TFc2d  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k&npC8oA  
3;AJp_;  
struts.configuration I~nz~U:ak  
      The org.apache.struts2.config.Configuration implementation class Lzx2An@R  
        org.apache.struts2.config.Configuration接口名 T&j:gg  
 }- wK  
struts.configuration.files ~VV$wU!A  
      A list of configuration files automatically loaded by Struts HrUE?Sq  
      struts自动加载的一个配置文件列表 BadnL<cj]  
BN6cu9a  
struts.configuration.xml.reload EtQ:x$S_  
      Whether to reload the XML configuration or not 24\^{3nOK  
      是否加载xml配置(true,false) cI-@nV  
Cv;#8Wj}  
struts.continuations.package JD9=gBN\?  
      The package containing actions that use Rife continuations N;4wbUPL7h  
      含有actions的完整连续的package名称 B &3sV+  
Kaji&Ibd  
struts.custom.i18n.resources o3:BH@@  
      Location of additional localization properties files to load D5Z)"~'  
      加载附加的国际化属性文件(不包含.properties后缀) -op)X>  
JW"n#sR4  
struts.custom.properties w8zr0z  
      Location of additional configuration properties files to load eV"Uv3  
      加载附加的配置文件的位置 FM|3'a-z  
.UvDew/Y  
,:0!+1  
struts.devMode ((M>To_l  
      Whether Struts is in development mode or not fh` }~ aQ  
      是否为struts开发模式 MjbgAH-  
h)s&Nqg1B  
struts.dispatcher.parametersWorkaround w%(D4ldp   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic lHE \Z`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Z6&bUZF$bE  
ZuKOscVS#T  
struts.enable.DynamicMethodInvocation &#OF,_6"m  
      Allows one to disable dynamic method invocation from the URL [MD"JW?4B  
        允许动态方法调用 ;WgzR_'!'  
EA z>`~  
struts.freemarker.manager.classname fP 3t0cp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class PJ,G_+b!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (-VH=,Md  
f`8?]@y{  
struts.i18n.encoding B;nIKZ  
      The encoding to use for localization messages 3,J{!  
      国际化信息内码 V;gC[7H  
L1&` 3a?pL  
struts.i18n.reload bGK-?BE5+A  
      Whether the localization messages should automatically be reloaded ^ Z3y  
      是否国际化信息自动加载 ft~QVe!  
'r1X6?d J  
struts.locale RFq=`/>dG  
      The default locale for the Struts application ;@O8y\@  
      默认的国际化地区信息 Ml/K~H tN  
@VyF' ?}  
struts.mapper.class QHd|cg  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,rOh*ebF  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :d~mlyFI6P  
<- R%  
struts.multipart.maxSize 'C@yJf  
      The maximize size of a multipart request (file upload) =%|f-x  
      multipart请求信息的最大尺寸(文件上传用) Z A}!Rzo  
i8%Z(@_`  
struts.multipart.parser |W*2L] &  
      The org.apache.struts2.dispatcher.multipart. j$4lyDfD  
      MultiPartRequest parser implementation for a multipart request (file upload) *%%n9T  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) iH>b"H >  
s~k62  
UG]x CkDS  
struts.multipart.saveDir iF_u/#  
      The directory to use for storing uploaded files Y oZd,} i  
      设置存储上传文件的目录夹 ygd*zy9  
O9RnS\  
struts.objectFactory U !%IC7@  
      The com.opensymphony.xwork2.ObjectFactory implementation class Nh !U  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4tSh.qBht  
R<^E?FI   
struts.objectFactory.spring.autoWire 9f CU+s  
      Whether Spring should autoWire or not q(BRJ(  
      是否自动绑定Spring ;Mr Q1  
OaY]}4tI$  
struts.objectFactory.spring.useClassCache 3h6,x0AG  
      Whether Spring should use its class cache or not Jg$ NYs.xZ  
      是否spring应该使用自身的cache Q+'fTmT[,  
nYO$ |/e  
struts.objectTypeDeterminer O#<S\66  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class y^D3}ds  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u,~+ho@  
^ '_Fd  
struts.serve.static.browserCache a(uQGyr[k1  
If static content served by the Struts filter should set browser caching header properties or not !e~d,NIy  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 aHPx'R  
ob/HO (h3  
struts.serve.static ;KG}Yr72  
      Whether the Struts filter should serve static content or not sosIu  
      是否struts过滤器应该提供静态内容 .!'rI7Kz'i  
)&-n-m@E  
struts.tag.altSyntax 3%u: c]-wF  
      Whether to use the alterative syntax for the tags or not c~d*SDca  
      是否可以用替代的语法替代tags yr)e."#S  
ZIc-^&`r=  
struts.ui.templateDir g^U-^ f  
      The directory containing UI templates ]SN5 &S  
      UI templates的目录夹 K3&k+~$  
8jiBLZkRf  
struts.ui.theme (~(FQ:L %U  
      The default UI template theme swMR+F#u*  
      默认的UI template主题 a;(,$q3M  
^}kYJvqA  
struts.url.http.port |=W>4>  
      The HTTP port used by Struts URLs [P]M)vJ**  
      设置http端口 3Qp6$m  
c~6ywuq+M`  
struts.url.https.port {@s6ly].  
      The HTTPS port used by Struts URLs $>Gf;k  
      设置https端口 tq*{Hil>P`  
;cb='s  
struts.url.includeParams [?da BXS  
      The default includeParams method to generate Struts URLs :ra[e(l9  
      在url中产生 默认的includeParams `g{eWY1l  
y }h2  
YL[y3&K  
struts.velocity.configfile <4^y7]] F  
      The Velocity configuration file path 9~ifST \  
      velocity配置文件路径 f Qw|SW  
_HAr0R8BY  
struts.velocity.contexts y;hco  
      List of Velocity context names }-&#vP~I  
      velocity的context列表 ^SS9BQ*m  
$:?=A5ttuo  
%F<3_#Y  
struts.velocity.manager.classname t'C9;  
      org.apache.struts2.views.velocity.VelocityManager implementation class N9z!-y'X  
      org.apache.struts2.views.velocity.VelocityManager接口名 K81&BVx/  
+ Cq&~<B  
struts.velocity.toolboxlocation 1+-F3ROP  
      The location of the Velocity toolbox l%`~aVGJ  
      velocity工具盒的位置 |~=4Z rcCP  
struts.xslt.nocache -Q1~lN m:  
      Whether or not XSLT templates should not be cached b+BX >$  
      是否XSLT模版应该被缓存 0%3T'N%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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