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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6aj!Q*(WT  
`WS&rmq&'  
struts.action.extension "<gOzXpa  
      The URL extension to use to determine if the request is meant for a Struts action N2o7%gJw  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /gas2k==^  
f6p/5]=J26  
struts.configuration dc'Y `e  
      The org.apache.struts2.config.Configuration implementation class izR"+v  
        org.apache.struts2.config.Configuration接口名 ~}Pfu  
qe\5m.k  
struts.configuration.files $/ ],tSm  
      A list of configuration files automatically loaded by Struts |uJ%5y#  
      struts自动加载的一个配置文件列表 -'Mf\h 8  
;9#KeA _  
struts.configuration.xml.reload ia? c0xL  
      Whether to reload the XML configuration or not |V(0GB  
      是否加载xml配置(true,false) yt2PU_),  
6L~n.5B~o  
struts.continuations.package 4^d?D!j  
      The package containing actions that use Rife continuations 0*v2y*2V  
      含有actions的完整连续的package名称 Gq P5Kx+=  
$:^td/p J  
struts.custom.i18n.resources ,#K'PB4E  
      Location of additional localization properties files to load [D1Up  
      加载附加的国际化属性文件(不包含.properties后缀) 19] E 5'AI  
ee=D1qNu;  
struts.custom.properties +w~oH=  
      Location of additional configuration properties files to load @(lh%@hO  
      加载附加的配置文件的位置  0+8e,  
|vC~HJpuv'  
E" vS $  
struts.devMode hqdDm  
      Whether Struts is in development mode or not 1 -b_~DF  
      是否为struts开发模式 %l%HHT  
+cRn%ioVi  
struts.dispatcher.parametersWorkaround 3(UVg!t  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %}T6]S)%u  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) H;"4 C8K7  
!`r$"}g  
struts.enable.DynamicMethodInvocation ajpX L  
      Allows one to disable dynamic method invocation from the URL 8?C5L8)  
        允许动态方法调用 47B&s   
5-A\9UC*@  
struts.freemarker.manager.classname _VXN#@y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "gwSJ~:ds  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *K; ~!P  
`0R./|bv\I  
struts.i18n.encoding o !7va"  
      The encoding to use for localization messages d"Y{UE  
      国际化信息内码 yCo.cd-  
d d;T-wa}  
struts.i18n.reload %jM,W}2  
      Whether the localization messages should automatically be reloaded 3$JoDL(Z  
      是否国际化信息自动加载 @%SQFu@FJ  
W_ ZJ0GuE(  
struts.locale @o.I;}*N  
      The default locale for the Struts application jj>]9z  
      默认的国际化地区信息 Ir]\|t  
S,=|AD  
struts.mapper.class M3Kfd  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b`_Q8 J  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 B7%U_F|m  
FgO)DQm  
struts.multipart.maxSize #fM'>$N  
      The maximize size of a multipart request (file upload) IGN1gs  
      multipart请求信息的最大尺寸(文件上传用) B/C,.?Or  
,+ ~W4<f  
struts.multipart.parser I}Q2Vu<  
      The org.apache.struts2.dispatcher.multipart. J=yTbSN\v  
      MultiPartRequest parser implementation for a multipart request (file upload) 3uMy]HUQ  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Xm&L B X  
\`"ht  
Ap !lQ>p  
struts.multipart.saveDir w*Ihk)  
      The directory to use for storing uploaded files S tyfB  
      设置存储上传文件的目录夹 .|=\z9_7S8  
E} .^kc[(4  
struts.objectFactory jh$='Gn  
      The com.opensymphony.xwork2.ObjectFactory implementation class et+0FF ,  
      com.opensymphony.xwork2.ObjectFactory接口(spring) P|> ~_$W  
?fS9J  
struts.objectFactory.spring.autoWire ^C%<l( b  
      Whether Spring should autoWire or not ctV,Q3'Z  
      是否自动绑定Spring QCJM&  
cj@koA'  
struts.objectFactory.spring.useClassCache DL.!G  
      Whether Spring should use its class cache or not 'f|o{  
      是否spring应该使用自身的cache L rPkxmR  
y?!"6t7&  
struts.objectTypeDeterminer 4.(4x&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *|l/6!WM  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 :H[6Lg\*  
G / 5%.Bf@  
struts.serve.static.browserCache ^}C\zW  
If static content served by the Struts filter should set browser caching header properties or not SY8C4vb'h  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 U<-D(J  
CH/rp4NeSy  
struts.serve.static ^W@5TkkBQq  
      Whether the Struts filter should serve static content or not 8$|=P!7EO  
      是否struts过滤器应该提供静态内容 )CyS#j#=  
$]8Q(/mbK  
struts.tag.altSyntax F<w/PMb  
      Whether to use the alterative syntax for the tags or not bjS {(  
      是否可以用替代的语法替代tags 3N:D6w-R  
59-c<I/}f  
struts.ui.templateDir ,2)6s\]/b  
      The directory containing UI templates lys#G:H]  
      UI templates的目录夹 &~w}_Fjk  
BluVmM3Vj  
struts.ui.theme h7I{ 4  
      The default UI template theme E!AE4B1bd  
      默认的UI template主题 u]gxFG "   
8i,K~Bu=  
struts.url.http.port kNL\m[W8$  
      The HTTP port used by Struts URLs '3H_wd  
      设置http端口 [8*)8jP3  
(tQc  
struts.url.https.port vcd\GN*4f  
      The HTTPS port used by Struts URLs { BHO/q3  
      设置https端口 G#1GXFDO{  
PxE3K-S)G  
struts.url.includeParams \|ao`MMaD<  
      The default includeParams method to generate Struts URLs [1KuzCcK}  
      在url中产生 默认的includeParams 3k?X-|O8AZ  
Q5_o/wk  
l NBL4yM  
struts.velocity.configfile M#[{>6>iE  
      The Velocity configuration file path {zFMmPid  
      velocity配置文件路径 [fIg{Q  
 7[wieYj{  
struts.velocity.contexts yCX?!E;La  
      List of Velocity context names <^uBoKB/f  
      velocity的context列表 sT' 5%4  
]0\MmAJRn  
VD\=`r)nT  
struts.velocity.manager.classname t()c=8qF|u  
      org.apache.struts2.views.velocity.VelocityManager implementation class r"R#@V\'1b  
      org.apache.struts2.views.velocity.VelocityManager接口名 ri.I pRe  
zv"Z DRW  
struts.velocity.toolboxlocation x$%!U[!3  
      The location of the Velocity toolbox .GcKa024  
      velocity工具盒的位置 as_PoCoss  
struts.xslt.nocache u~-8d;+?y  
      Whether or not XSLT templates should not be cached eR"<33{  
      是否XSLT模版应该被缓存 BF<ikilR  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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