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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 -gk2$P-  
+])<}S!M  
struts.action.extension A&p@iE*/  
      The URL extension to use to determine if the request is meant for a Struts action [5!}+8]W  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 tpEy-"D&  
wpt$bqs|1  
struts.configuration nW"O+s3  
      The org.apache.struts2.config.Configuration implementation class _ h5d~  
        org.apache.struts2.config.Configuration接口名 w8R7Ksn(  
gd]S;<Jh  
struts.configuration.files C?>d$G8  
      A list of configuration files automatically loaded by Struts Q~qM;l\i  
      struts自动加载的一个配置文件列表 pfHjs3A=  
y< j7iN  
struts.configuration.xml.reload wK7w[Xt  
      Whether to reload the XML configuration or not m$^5{qpg  
      是否加载xml配置(true,false) y0(.6HI  
A{J?I:  
struts.continuations.package ^)Awjj9  
      The package containing actions that use Rife continuations Yl>Y.SO  
      含有actions的完整连续的package名称 _u^3uzu  
m"/..&'GC  
struts.custom.i18n.resources vA!IcDP"  
      Location of additional localization properties files to load :Ae#+([V  
      加载附加的国际化属性文件(不包含.properties后缀) 4'*-[TKC  
0)g]pG8&ro  
struts.custom.properties V0Oqq0\  
      Location of additional configuration properties files to load }BU%<5CQ  
      加载附加的配置文件的位置 ?A7 AVR  
X/cb1#  
BJb,  
struts.devMode !reOYt|  
      Whether Struts is in development mode or not =pi,]m  
      是否为struts开发模式 NfPWcK [  
iKV|~7nwO  
struts.dispatcher.parametersWorkaround YVa,?&i=N  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Zv!XNc!"$y  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;`LG WT-<F  
du$M  
struts.enable.DynamicMethodInvocation ?%$O7_ThvA  
      Allows one to disable dynamic method invocation from the URL M1Ff ,]w  
        允许动态方法调用 ,cS#  
&'&)E((  
struts.freemarker.manager.classname aVK,( j9u  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class mj e9i  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 mz%l4w?'  
8.. |-<w  
struts.i18n.encoding DJ<+" .v!  
      The encoding to use for localization messages .O'~s/h  
      国际化信息内码 aT Izf qCM  
No6-i{HZ  
struts.i18n.reload XP o#qT8n  
      Whether the localization messages should automatically be reloaded poW%Fzj  
      是否国际化信息自动加载 d]E={}qo&  
;YY<KuT  
struts.locale YR0AI l:L  
      The default locale for the Struts application jY%.t)>)  
      默认的国际化地区信息 au+Jz_$)  
A :KZyd"Z  
struts.mapper.class )Cj1VjAg  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class M0xhcU_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 G.<0^q,  
LYL_Ah'=  
struts.multipart.maxSize XZ]ji9'  
      The maximize size of a multipart request (file upload) [pEb`s  
      multipart请求信息的最大尺寸(文件上传用) ()Kaxcs?+  
kN1R8|pv  
struts.multipart.parser "*D9.LyM  
      The org.apache.struts2.dispatcher.multipart. {+_p?8X  
      MultiPartRequest parser implementation for a multipart request (file upload) 8g!79q\c4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) t?-a JU  
d3q.i5']G  
Qd YYWD   
struts.multipart.saveDir =cS5f#0  
      The directory to use for storing uploaded files JD0s0>q_  
      设置存储上传文件的目录夹 aV|V C $  
h M7 SGEV  
struts.objectFactory 9#P~cW?  
      The com.opensymphony.xwork2.ObjectFactory implementation class i"iy 0 ?  
      com.opensymphony.xwork2.ObjectFactory接口(spring) K/Yeh<_&  
t !6sU]{  
struts.objectFactory.spring.autoWire R|8L'H+1x  
      Whether Spring should autoWire or not #~/9cVm$  
      是否自动绑定Spring (0Br`%!F  
.6$=]hdAp  
struts.objectFactory.spring.useClassCache X)hpbHa  
      Whether Spring should use its class cache or not 1ow,'FztPt  
      是否spring应该使用自身的cache  rn( drG  
4[x` \  
struts.objectTypeDeterminer 2;"vF9WMm  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8%u|[Si;  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #z&R9$  
6M7GPHah  
struts.serve.static.browserCache }JST(d&  
If static content served by the Struts filter should set browser caching header properties or not N atC}k  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v5\ALWy+p  
[Z2[Iy  
struts.serve.static j0+D99{R  
      Whether the Struts filter should serve static content or not e#k rr  
      是否struts过滤器应该提供静态内容 ]zyT_}&  
AN:s%w2  
struts.tag.altSyntax "IQYy~ /  
      Whether to use the alterative syntax for the tags or not >SvS(N{  
      是否可以用替代的语法替代tags IoJI|lP  
.wq j  
struts.ui.templateDir 0lniu=xmQ-  
      The directory containing UI templates 8g)$%Fy+N  
      UI templates的目录夹 C}<e3BXc  
D=z="p\  
struts.ui.theme ]!sCWR  
      The default UI template theme $mKExW  
      默认的UI template主题 ]!^wB 3j  
HLqN=vE6  
struts.url.http.port +,YK}?e  
      The HTTP port used by Struts URLs 7K.],eo0  
      设置http端口 hy;V~J#  
kZG; \  
struts.url.https.port C4ktCN  
      The HTTPS port used by Struts URLs qonStIP  
      设置https端口 Hs8JJGXWB  
3=oxT6"k  
struts.url.includeParams fA<os+*9i  
      The default includeParams method to generate Struts URLs =J)-#|eZG  
      在url中产生 默认的includeParams SC%HHu\l  
m%})H"5  
/~WBqcl  
struts.velocity.configfile !9HWx_,|Z  
      The Velocity configuration file path oXh t$Q  
      velocity配置文件路径 P3W3+pwq  
Ig?9"{9p  
struts.velocity.contexts Zy9IRZe4U  
      List of Velocity context names /*fx`0mY)  
      velocity的context列表 G)NqIur*Z  
wAW{{ p  
8r"-3<*  
struts.velocity.manager.classname (z)#}TC  
      org.apache.struts2.views.velocity.VelocityManager implementation class r*mSnPz\q  
      org.apache.struts2.views.velocity.VelocityManager接口名 H1q,w|O9j  
<m~8pM  
struts.velocity.toolboxlocation ~"\v(\Pe  
      The location of the Velocity toolbox Q'3tDc<  
      velocity工具盒的位置 Z]{=Jy !F  
struts.xslt.nocache DeW{#c6  
      Whether or not XSLT templates should not be cached g.!k>_g`  
      是否XSLT模版应该被缓存 PB"=\>]`N  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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