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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 1x]G/I*  
q :gH`5N  
struts.action.extension >*&[bW'}?  
      The URL extension to use to determine if the request is meant for a Struts action \W4SZR%u  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 OWU]gh@r  
}0 Z3Lrv  
struts.configuration ugz1R+f_4{  
      The org.apache.struts2.config.Configuration implementation class TSeAC[%pL  
        org.apache.struts2.config.Configuration接口名 b.F2m(e2  
f-PDgs   
struts.configuration.files 6xwC1V?:0t  
      A list of configuration files automatically loaded by Struts }0I! n@  
      struts自动加载的一个配置文件列表 5we1q7  
q?wB h^  
struts.configuration.xml.reload \|kU{d0  
      Whether to reload the XML configuration or not ry:tL0;;e#  
      是否加载xml配置(true,false) 2ma.zI@^u9  
zK}.Bhj#  
struts.continuations.package -7CkOZT  
      The package containing actions that use Rife continuations n']@Spm  
      含有actions的完整连续的package名称 ,+XQ!y%  
RSy1 wp4W  
struts.custom.i18n.resources 1'h?qv^(  
      Location of additional localization properties files to load )<+Z,6  
      加载附加的国际化属性文件(不包含.properties后缀) ) E5ax~  
&}WSfZ0{  
struts.custom.properties gxF3gM  
      Location of additional configuration properties files to load 'n\ZmG{  
      加载附加的配置文件的位置 qzq>C"z\Y$  
/%~`B[4F  
FYzl-7!Y  
struts.devMode % nR:Rc!  
      Whether Struts is in development mode or not eb7`R81G  
      是否为struts开发模式 K-K+%U  
:E.mU{  
struts.dispatcher.parametersWorkaround !JJY ( o  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "p<f#s}  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) wI)W:mUZZ  
*}FoeDe  
struts.enable.DynamicMethodInvocation w\a\I  
      Allows one to disable dynamic method invocation from the URL ],#9L   
        允许动态方法调用  7p{lDQ  
.S[5CO^  
struts.freemarker.manager.classname :iq1-Pw  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class a XwFQ,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4o'0lz]  
p< XjiRq  
struts.i18n.encoding OA[w|Tt  
      The encoding to use for localization messages .iw+ #  
      国际化信息内码 :[F w c  
{R(q7ALR  
struts.i18n.reload o+&/ N-t  
      Whether the localization messages should automatically be reloaded T2k5\r8  
      是否国际化信息自动加载 F<o J  
_T H'v:C  
struts.locale o)w'w34FCT  
      The default locale for the Struts application Uj_%U2S$  
      默认的国际化地区信息 =VDN9-/.  
pDW .Pav  
struts.mapper.class  </7J:#  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class +3VY0J  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 j  $L  
%h^; "|Z  
struts.multipart.maxSize Bp9 u6R  
      The maximize size of a multipart request (file upload) ! @|"84  
      multipart请求信息的最大尺寸(文件上传用) ofsua?lSe  
PM ,I?lJ,  
struts.multipart.parser V;9.7v  
      The org.apache.struts2.dispatcher.multipart. 23 3jT@Z  
      MultiPartRequest parser implementation for a multipart request (file upload) uV{cvq$jy  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) q^EG'\<^  
/1Ndir^c  
y "gYv  
struts.multipart.saveDir s(-$|f+s  
      The directory to use for storing uploaded files x-cg df  
      设置存储上传文件的目录夹 -K PbA`j+  
TEv3;Z*N  
struts.objectFactory lRn>/7sg$  
      The com.opensymphony.xwork2.ObjectFactory implementation class ^dRB(E}|)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ~r+;i,,X  
kz]qk15w  
struts.objectFactory.spring.autoWire %-> X$,Q :  
      Whether Spring should autoWire or not A=>%KQc?  
      是否自动绑定Spring dQTJC %]O  
H&l/o  
struts.objectFactory.spring.useClassCache DdPU\ ZWR  
      Whether Spring should use its class cache or not Lk4gjs,V  
      是否spring应该使用自身的cache ~ #Vrf0w/  
Ea 0 j}  
struts.objectTypeDeterminer o#CNr5/  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class =#^\ 9|?$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ]v$VZ '  
 9/`T]s"  
struts.serve.static.browserCache W A-\2  
If static content served by the Struts filter should set browser caching header properties or not 'jqkDPn  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .*i.Z   
l.El3+  
struts.serve.static ^_n(>$ EK  
      Whether the Struts filter should serve static content or not >E6w,Ab  
      是否struts过滤器应该提供静态内容 vT)FLhH6*  
,x&T8o/a  
struts.tag.altSyntax #,lJ>mTe4  
      Whether to use the alterative syntax for the tags or not [s"xOP9R  
      是否可以用替代的语法替代tags VI/77  
$zKf>[K  
struts.ui.templateDir qJj"WU5  
      The directory containing UI templates 6;Wns'  
      UI templates的目录夹 b dP @^Q  
=wtu  
struts.ui.theme PF~w$ eeQ  
      The default UI template theme Bz!SZpW(M  
      默认的UI template主题 Gg$4O8  
90X<Qs  
struts.url.http.port J4"?D9T3G  
      The HTTP port used by Struts URLs D.su^m_1  
      设置http端口 "MOM@4\  
 ]?M3X_Mq  
struts.url.https.port N6EG!*  
      The HTTPS port used by Struts URLs f@rR2xZoQ  
      设置https端口 }Ox5,S}ra  
f:bUM/Ud  
struts.url.includeParams 9=TjSRS  
      The default includeParams method to generate Struts URLs N"L@  
      在url中产生 默认的includeParams b"k1N9  
EIug)S~  
sYE|  
struts.velocity.configfile :"{("!x   
      The Velocity configuration file path eaB6e@]@  
      velocity配置文件路径 rK(TekU  
_X;xW#go  
struts.velocity.contexts 9(eTCe-~6  
      List of Velocity context names LYhjI  
      velocity的context列表 'ioX,KD  
UXgeL2`;  
V(wm?Cc]  
struts.velocity.manager.classname /fgy07T  
      org.apache.struts2.views.velocity.VelocityManager implementation class yzWVUqtXm  
      org.apache.struts2.views.velocity.VelocityManager接口名 1)Z4 (_  
'3R o`p{  
struts.velocity.toolboxlocation S+2we  
      The location of the Velocity toolbox Cs9o_Z~  
      velocity工具盒的位置 C)hS^D:  
struts.xslt.nocache 7!F<Uf,V3  
      Whether or not XSLT templates should not be cached l^!raoH]q  
      是否XSLT模版应该被缓存 = Zi'L48  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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