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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 +F%tBUY{<  
0LSJQ9\p  
struts.action.extension `I4E': ZG  
      The URL extension to use to determine if the request is meant for a Struts action F~hH>BH9  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 pSEaE9AX%  
kY6_n4  
struts.configuration 'cAS>s"$}V  
      The org.apache.struts2.config.Configuration implementation class ;j[:tt\k  
        org.apache.struts2.config.Configuration接口名 9'e<{mlM  
 =zDvZ(5  
struts.configuration.files ):nC%0V  
      A list of configuration files automatically loaded by Struts (_+ux1h6^  
      struts自动加载的一个配置文件列表 R3LIN-g(  
:zvAlt'q=  
struts.configuration.xml.reload fC[~X[H  
      Whether to reload the XML configuration or not )O$S3ojZ  
      是否加载xml配置(true,false) tA,J~|+f:  
M _lLP8W}  
struts.continuations.package JiuA"ks)  
      The package containing actions that use Rife continuations U.b|3E/^  
      含有actions的完整连续的package名称 Y7 K2@257  
k7L4~W  
struts.custom.i18n.resources R~|(]#com  
      Location of additional localization properties files to load ${}9/(x/^  
      加载附加的国际化属性文件(不包含.properties后缀) 2- (}=N  
~O!E&~  
struts.custom.properties -v|lM8  
      Location of additional configuration properties files to load k,; (`L  
      加载附加的配置文件的位置 PnB2a'(^@?  
<OJqeUo+*\  
$!_}d  
struts.devMode yD`pUE$  
      Whether Struts is in development mode or not NS TO\36  
      是否为struts开发模式 AxF$7J(  
Ul'H(eH.v  
struts.dispatcher.parametersWorkaround 1mR@Bh  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 52,'8` ]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6D`.v@  
-^;,m=4{3  
struts.enable.DynamicMethodInvocation Uz[#ye  
      Allows one to disable dynamic method invocation from the URL y@7CY-1  
        允许动态方法调用 OsVz[wN  
9C7HL;MF  
struts.freemarker.manager.classname Fg'{K%t4  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g[~J107%A  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 h0$ \JXk  
Nez '1  
struts.i18n.encoding x{GFCy7  
      The encoding to use for localization messages so| U&`G  
      国际化信息内码 =<zlg~i  
-mo4`F  
struts.i18n.reload \%%M>4c  
      Whether the localization messages should automatically be reloaded 8<KC-|y.  
      是否国际化信息自动加载 Ol>/^3 a=  
\5=4!Ez  
struts.locale |}/KueZ  
      The default locale for the Struts application Qw|y%Td8r  
      默认的国际化地区信息 hst Ge>f[6  
r>PKl'IbE  
struts.mapper.class )KkV<$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class LfK/wSvWw  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 N pQOLX/<?  
{0AlQ6.@>  
struts.multipart.maxSize d>c`hQ(V  
      The maximize size of a multipart request (file upload) [a}Idi` K  
      multipart请求信息的最大尺寸(文件上传用) 8YgRJQZ!  
78<fbN5}r  
struts.multipart.parser oz[G'[\}F  
      The org.apache.struts2.dispatcher.multipart. ; TwqZw[.  
      MultiPartRequest parser implementation for a multipart request (file upload) i .eMrzJ|  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) O'.{6H;t  
S&k/Pc  
oYJ<.Yxeb  
struts.multipart.saveDir xon^=Wo;  
      The directory to use for storing uploaded files c? GV  
      设置存储上传文件的目录夹 f.E{s*z>  
jZvIqR/  
struts.objectFactory se}$/Y}t  
      The com.opensymphony.xwork2.ObjectFactory implementation class g2 mq?q(g  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \yLFV9P}EL  
7uF @Xh  
struts.objectFactory.spring.autoWire w !<-e>  
      Whether Spring should autoWire or not knb0_nA  
      是否自动绑定Spring Mii&doU  
9y} J|z  
struts.objectFactory.spring.useClassCache > %Hw008  
      Whether Spring should use its class cache or not v:>sS_^  
      是否spring应该使用自身的cache [biz[ fm  
Zw%:mZN  
struts.objectTypeDeterminer wqap~X  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S@~ReRew2  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 f}ch1u>  
Nd@/U c  
struts.serve.static.browserCache 02(Ob  
If static content served by the Struts filter should set browser caching header properties or not c|(Q[=   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ra_TN ;(  
<;jg/  
struts.serve.static 3vQVk  
      Whether the Struts filter should serve static content or not m")p]B&i=  
      是否struts过滤器应该提供静态内容 M-F{I%Vx  
KF!d?  
struts.tag.altSyntax AI,E9  
      Whether to use the alterative syntax for the tags or not 300[2}Y]  
      是否可以用替代的语法替代tags 9+.3GRt7  
W3^^aD-  
struts.ui.templateDir U^K8^an$  
      The directory containing UI templates ou]jm=4[  
      UI templates的目录夹 o>m*e7l,  
U9 Q[K`  
struts.ui.theme ) :Px`] 5  
      The default UI template theme f'qM?GlET  
      默认的UI template主题 lR`.V0xA   
RmO kb~  
struts.url.http.port uBC#4cX`D*  
      The HTTP port used by Struts URLs 1Vz3N/AP%?  
      设置http端口 [i> D|X  
Eq8:[o  
struts.url.https.port "avG#rsH  
      The HTTPS port used by Struts URLs R?}%rP+^e  
      设置https端口 E5*pD*#  
\Il?$Kb/  
struts.url.includeParams 5a2;@ }%V  
      The default includeParams method to generate Struts URLs gl2l%]=\'  
      在url中产生 默认的includeParams e<~bDFH  
OF;"%IW~}  
&0d5".|s  
struts.velocity.configfile X]\; f  
      The Velocity configuration file path E% Ko[G  
      velocity配置文件路径 fj9&J[  
bz [?M}  
struts.velocity.contexts 3-[+g}kak?  
      List of Velocity context names 1&Mpx!K*T  
      velocity的context列表 )2u_c=  
UjyrmQf  
9PaV*S(\TR  
struts.velocity.manager.classname (S6>^:;=~  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^$rqyWZYp  
      org.apache.struts2.views.velocity.VelocityManager接口名 <u?\%iJ"  
6\y?+H1  
struts.velocity.toolboxlocation 'I>geW?{QK  
      The location of the Velocity toolbox OL@$RTh  
      velocity工具盒的位置 GK3cQw  
struts.xslt.nocache -afNiNiY  
      Whether or not XSLT templates should not be cached };gcM @]]E  
      是否XSLT模版应该被缓存 b/E3Kse?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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