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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 TiH) 5  
)5 R=Z<  
struts.action.extension GAAm0;  
      The URL extension to use to determine if the request is meant for a Struts action mml z&h  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 x,'!eCKN  
z<5m fAm  
struts.configuration =Qn ;_+Ct  
      The org.apache.struts2.config.Configuration implementation class ccL~#c0P7  
        org.apache.struts2.config.Configuration接口名 3'X.}>o   
(P`3 @H  
struts.configuration.files +U@<\kIF  
      A list of configuration files automatically loaded by Struts ZzX~&95G  
      struts自动加载的一个配置文件列表 n?c]M  
&zo|Lfe  
struts.configuration.xml.reload Sf r&p>{,  
      Whether to reload the XML configuration or not S.a%  
      是否加载xml配置(true,false) XO'l Nb.  
BGfzslK  
struts.continuations.package y8DhOlewQ  
      The package containing actions that use Rife continuations FLY Ca  
      含有actions的完整连续的package名称 12+>5BA  
FKmFo^^0  
struts.custom.i18n.resources  Sr?#S  
      Location of additional localization properties files to load LlSZr)X  
      加载附加的国际化属性文件(不包含.properties后缀) Hik3wPnp  
m?&1yU9  
struts.custom.properties Y &K;l_  
      Location of additional configuration properties files to load B2O}1.  
      加载附加的配置文件的位置 plZ>03(6Q  
CJ++?hB]X  
28=O03q  
struts.devMode =J~ x  
      Whether Struts is in development mode or not &>Vfa  
      是否为struts开发模式 &e8s65`  
t N2Md}@e  
struts.dispatcher.parametersWorkaround !e?.6% %   
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic R,Vd.-5M  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) c?@T1h4  
OiP!vn}k  
struts.enable.DynamicMethodInvocation n-@j5w+k4  
      Allows one to disable dynamic method invocation from the URL -xP!"  
        允许动态方法调用 4f;HQ-Iv  
RZCq{|L  
struts.freemarker.manager.classname SZXY/~=h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \oZ5JoO  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 NrJKbk^4u/  
R`~z0 d.  
struts.i18n.encoding 9cj9SB4  
      The encoding to use for localization messages LA)[ip4  
      国际化信息内码 %?Ev|:i`@  
~T89_L  
struts.i18n.reload mN19WQ(r  
      Whether the localization messages should automatically be reloaded lMbAs.!  
      是否国际化信息自动加载 %Ijj=wW  
f1(+ bE%  
struts.locale D~\$~&_]=  
      The default locale for the Struts application &EnuE0BD  
      默认的国际化地区信息 3F<VH  
@W9x$  
struts.mapper.class IOV(seEY  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Dmu/RD5X:  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 x UD-iSY  
qZA).12qS  
struts.multipart.maxSize `FC(  
      The maximize size of a multipart request (file upload) Kc^;vT>3  
      multipart请求信息的最大尺寸(文件上传用) LoGVwRmoC  
Y(cGk#0  
struts.multipart.parser W}]%X4<#rN  
      The org.apache.struts2.dispatcher.multipart. NSDv ;|f  
      MultiPartRequest parser implementation for a multipart request (file upload) _zwUE  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'uxX5k/D@t  
s]JF0584  
_> *j H'  
struts.multipart.saveDir !U~WK$BP  
      The directory to use for storing uploaded files $ <#KA3o\  
      设置存储上传文件的目录夹 8M`#pN^  
HF.^ysI  
struts.objectFactory 82DmG@"s2  
      The com.opensymphony.xwork2.ObjectFactory implementation class KkE9KwZ]W  
      com.opensymphony.xwork2.ObjectFactory接口(spring) fw RZ5`v<  
RSfzRnhmr  
struts.objectFactory.spring.autoWire ^!by3Elqqk  
      Whether Spring should autoWire or not {7/0< N G  
      是否自动绑定Spring Zc`BiLzrIG  
#gcF"L||  
struts.objectFactory.spring.useClassCache =Yt R`  
      Whether Spring should use its class cache or not #*(t d<Cp  
      是否spring应该使用自身的cache 5EebPXBzB  
$+I;oHWI  
struts.objectTypeDeterminer ^~A>8CQOU  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class bG(3^"dS  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 AlIpsJ[UU  
ut I"\1hQ  
struts.serve.static.browserCache Aj4T"^fv  
If static content served by the Struts filter should set browser caching header properties or not UTH_^HAN#G  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Sh8"F@P8  
" _ka<R..  
struts.serve.static ;h jwD  
      Whether the Struts filter should serve static content or not CtSl  
      是否struts过滤器应该提供静态内容 hBX!iukT|{  
LmnymcH  
struts.tag.altSyntax <fFTY130:  
      Whether to use the alterative syntax for the tags or not dp*u9z~NA  
      是否可以用替代的语法替代tags F;<xnC{[  
CLJ;<  
struts.ui.templateDir TBT:/Vfun  
      The directory containing UI templates ={xE!"  
      UI templates的目录夹 7 !JQB  
WV_.Tiy<  
struts.ui.theme *N<&GH(j  
      The default UI template theme O|M{-)  
      默认的UI template主题 &Ob!4+v/GP  
.ODR]7{  
struts.url.http.port q*7VqB  
      The HTTP port used by Struts URLs 5w@4:$=I  
      设置http端口 ] A+?EE2/  
)(384@'"u  
struts.url.https.port A'&K/)Z  
      The HTTPS port used by Struts URLs -u8NF_{c  
      设置https端口 @("a.;1#o  
p$3sME$L  
struts.url.includeParams  _ "VkGG  
      The default includeParams method to generate Struts URLs ?pB>0b~3-  
      在url中产生 默认的includeParams [6XF=L,!  
Xn%pNxUL  
L>R P-x>  
struts.velocity.configfile Ls] g  
      The Velocity configuration file path R'@9]99  
      velocity配置文件路径 #odIEC/  
20nP/ e  
struts.velocity.contexts < RH UH)I  
      List of Velocity context names "*srx]  
      velocity的context列表 VeQg -#&I  
N<-gI9_  
j4R(B  
struts.velocity.manager.classname l.NEkAYPmH  
      org.apache.struts2.views.velocity.VelocityManager implementation class ry`z(f  
      org.apache.struts2.views.velocity.VelocityManager接口名 ZU%[guf  
>)M`IU[d^.  
struts.velocity.toolboxlocation T, )__h  
      The location of the Velocity toolbox 428>BQA  
      velocity工具盒的位置 |='z{WS  
struts.xslt.nocache z-.+x3&o @  
      Whether or not XSLT templates should not be cached 1NgCw\  
      是否XSLT模版应该被缓存 ZWKg9%y7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八