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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 xno\s.H%]  
Kw}'W 8`c  
struts.action.extension nN;u,}e  
      The URL extension to use to determine if the request is meant for a Struts action ]n~V!hl?A  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 }JfjX '  
?2a$*(  
struts.configuration /reX{Y  
      The org.apache.struts2.config.Configuration implementation class iso4]>LF  
        org.apache.struts2.config.Configuration接口名 @HW*09TG  
ESs\O?nO  
struts.configuration.files :Tc^y%b0  
      A list of configuration files automatically loaded by Struts iLT}oKF2N;  
      struts自动加载的一个配置文件列表 'qi}|I  
^Cmyx3O^  
struts.configuration.xml.reload 58K5ZZG  
      Whether to reload the XML configuration or not RSds8\tk  
      是否加载xml配置(true,false) )jj0^f1!j  
J,G lIv.A  
struts.continuations.package c> af  
      The package containing actions that use Rife continuations GILfbNcd  
      含有actions的完整连续的package名称 }G=M2V<L  
X]=t>   
struts.custom.i18n.resources TC. ,V_  
      Location of additional localization properties files to load (hsl~Jf  
      加载附加的国际化属性文件(不包含.properties后缀) )"LJ hLg  
m|# y >4  
struts.custom.properties Cw%{G'O   
      Location of additional configuration properties files to load c,22*.V/  
      加载附加的配置文件的位置 zi:BF60]=  
ax2B ]L2  
]Dzlp7Y}  
struts.devMode -di o5a  
      Whether Struts is in development mode or not mmsPLv6  
      是否为struts开发模式 o  K@"f9  
VL^EHb7  
struts.dispatcher.parametersWorkaround D$N /FJ8|G  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y7nvHU|+o  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) _wcNgFx  
BY*Q_Et  
struts.enable.DynamicMethodInvocation E4!Fupkpf  
      Allows one to disable dynamic method invocation from the URL \ jA~9  
        允许动态方法调用 .543N<w  
pp2~Meg  
struts.freemarker.manager.classname ~ 1pr~  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class S'14hk<  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Qd6FH2Pl  
WHI`/FM  
struts.i18n.encoding =xrv~  
      The encoding to use for localization messages E9}C  #  
      国际化信息内码 zQA`/&=Y  
H"KCK6  
struts.i18n.reload OB7hlW  
      Whether the localization messages should automatically be reloaded r>\bW)e  
      是否国际化信息自动加载 '|4!5)/K  
2tLJU  Z1  
struts.locale eQ"E   
      The default locale for the Struts application hcc/=_hA  
      默认的国际化地区信息 -&;TA0~;  
{!`4iiF  
struts.mapper.class M;NX:mX9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6RM/GM  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C?Ucu]cW  
f5k6`7Vj]  
struts.multipart.maxSize =EIkD9u  
      The maximize size of a multipart request (file upload) $N\Ja*g  
      multipart请求信息的最大尺寸(文件上传用) mTh]PPo   
zJXplvaL;  
struts.multipart.parser z=FZiH  
      The org.apache.struts2.dispatcher.multipart. .-=vx r  
      MultiPartRequest parser implementation for a multipart request (file upload) uMv1O{  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) *kVV+H<X|b  
@6d[=!9  
iUwzs&frd  
struts.multipart.saveDir m4& /s  
      The directory to use for storing uploaded files 2(nlJ7R  
      设置存储上传文件的目录夹 :!/8 Hv  
bfO=;S]b!  
struts.objectFactory `kr?j:g  
      The com.opensymphony.xwork2.ObjectFactory implementation class a> )f=uS  
      com.opensymphony.xwork2.ObjectFactory接口(spring) w:l"\Tm  
<or2  
struts.objectFactory.spring.autoWire nd(S3rct&  
      Whether Spring should autoWire or not .KC ++\{HE  
      是否自动绑定Spring @H<q"-J  
U3kyraj  
struts.objectFactory.spring.useClassCache 7rPF$ \#  
      Whether Spring should use its class cache or not 8] ikygt"  
      是否spring应该使用自身的cache bx Wa oWE0  
+O5hH8<&b  
struts.objectTypeDeterminer �{x7,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class L]Mo;kT<Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |%v^W3  
6 r_)sHf  
struts.serve.static.browserCache mqJ_W[y7  
If static content served by the Struts filter should set browser caching header properties or not !-Y3V"  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }-fl$j?9E  
b6M  
struts.serve.static *' X3z@R  
      Whether the Struts filter should serve static content or not v LZoa-w:  
      是否struts过滤器应该提供静态内容 Kg$ Mx  
`W-Fssu  
struts.tag.altSyntax 4fzZ;2sl}  
      Whether to use the alterative syntax for the tags or not akT6^cP^  
      是否可以用替代的语法替代tags c(%|: P^  
oE~Bq/p  
struts.ui.templateDir .~}1+\~5  
      The directory containing UI templates 'RRE|L,  
      UI templates的目录夹 xKC[=E>z  
yEoV[K8k  
struts.ui.theme qCO/?kW  
      The default UI template theme 0;ji65  
      默认的UI template主题 C-[1iW'  
g1o8._f.  
struts.url.http.port 3,=6@U  
      The HTTP port used by Struts URLs fX+O[j  
      设置http端口 5Ph4<f` L~  
'\GbmD^F  
struts.url.https.port v}x&?fU `  
      The HTTPS port used by Struts URLs ;GI&lpKK  
      设置https端口 Z)\@i=m  
4aY|TN/|  
struts.url.includeParams d/Q%IeEL.  
      The default includeParams method to generate Struts URLs )ANmIwmC#  
      在url中产生 默认的includeParams [9 RR8  
#,.Hr#3nI  
N?>vd*  
struts.velocity.configfile }T$p)"  
      The Velocity configuration file path f {"?%Ku#  
      velocity配置文件路径 0L KRN|@  
@R  6@]Dm  
struts.velocity.contexts U?=Dg1  
      List of Velocity context names x;')9/3  
      velocity的context列表 qv*^fiT  
e]tDy0@  
7= DdrG<  
struts.velocity.manager.classname >U3cTEs cj  
      org.apache.struts2.views.velocity.VelocityManager implementation class n}V_,:Z  
      org.apache.struts2.views.velocity.VelocityManager接口名 r4f~z$QK  
TU7' J  
struts.velocity.toolboxlocation rt| 7h>RQ  
      The location of the Velocity toolbox nvUc\7(%NW  
      velocity工具盒的位置 'eX '  
struts.xslt.nocache H4JTGt1"  
      Whether or not XSLT templates should not be cached l (%1jC8  
      是否XSLT模版应该被缓存 (M ~e?s  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八