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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 b5 Q NEi  
jA`a/v Wu  
struts.action.extension W_<4WG  
      The URL extension to use to determine if the request is meant for a Struts action iBvOJs  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ty- r&  
y/R+$h(%  
struts.configuration j Z'&0x"U  
      The org.apache.struts2.config.Configuration implementation class - L~Uu^o  
        org.apache.struts2.config.Configuration接口名 0HbJKix!  
;~/4d-  
struts.configuration.files a [C&e,)}  
      A list of configuration files automatically loaded by Struts "!q?P" @C  
      struts自动加载的一个配置文件列表 MUcN C\`z  
7rIlTrG  
struts.configuration.xml.reload u!1/B4!'O  
      Whether to reload the XML configuration or not kwar}:`  
      是否加载xml配置(true,false) `&g:d E(j  
yJ/#"z=h?  
struts.continuations.package M#M?1(O/NE  
      The package containing actions that use Rife continuations |I1+"Mp  
      含有actions的完整连续的package名称 ~@fR[sg<  
d=F-L  
struts.custom.i18n.resources `K?1L{p'4  
      Location of additional localization properties files to load ~B_ D@gV|  
      加载附加的国际化属性文件(不包含.properties后缀) _!:@w9  
MY F#A  
struts.custom.properties LK+felL  
      Location of additional configuration properties files to load _A-V@%3  
      加载附加的配置文件的位置 )iSy@*nY  
\dV Too  
/DU*M,  
struts.devMode kxo.v|)8  
      Whether Struts is in development mode or not \cZfg%PN  
      是否为struts开发模式 8p =>?wG  
`C'}e  
struts.dispatcher.parametersWorkaround afm_Rrg[  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic f z%tA39m  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) KXe ka  
( V4G<-jG  
struts.enable.DynamicMethodInvocation O5-;I,)H  
      Allows one to disable dynamic method invocation from the URL x!?Z *v@I  
        允许动态方法调用 'F5)ACA%  
 :]c=pH  
struts.freemarker.manager.classname Jsn <,4DO8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ]kS7n @8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q^Inb)FeN  
`d*b]2  
struts.i18n.encoding [g|Hj)(  
      The encoding to use for localization messages v@_in(dk  
      国际化信息内码 h7?.2Q&S  
H8i+'5x,?  
struts.i18n.reload uaxB -PZ  
      Whether the localization messages should automatically be reloaded !}q."%%J_%  
      是否国际化信息自动加载 rzV"Dm$'  
Z#7U "G-A  
struts.locale F^rl$#pCS  
      The default locale for the Struts application AgsR-"uh  
      默认的国际化地区信息 W)-hU~^OM  
kfCKhx   
struts.mapper.class wLMvC{5  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bi,mM,N/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Ab g$W/(|  
W5/};K\.  
struts.multipart.maxSize evOb  
      The maximize size of a multipart request (file upload) 7@P656{  
      multipart请求信息的最大尺寸(文件上传用) h5!d  
T.@sq  
struts.multipart.parser qLRE}$P  
      The org.apache.struts2.dispatcher.multipart. HRHrSf7  
      MultiPartRequest parser implementation for a multipart request (file upload) D rTM$)  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) o+^Eu}[.  
vYzVY\   
C BlXC7_Mi  
struts.multipart.saveDir ;+%Z@b%  
      The directory to use for storing uploaded files XU-*[\K  
      设置存储上传文件的目录夹 {!t=n   
g7Z9F[d  
struts.objectFactory DMMLzS0A  
      The com.opensymphony.xwork2.ObjectFactory implementation class PP-kz;|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) xt))]aH  
>zR14VO`_|  
struts.objectFactory.spring.autoWire q{@P+2<wF  
      Whether Spring should autoWire or not XnA6/^  
      是否自动绑定Spring V}:'Xgp*N  
;+/NjC1  
struts.objectFactory.spring.useClassCache [; @):28"  
      Whether Spring should use its class cache or not CB({Rn  
      是否spring应该使用自身的cache (}0S1)7t  
cY~M4:vgT  
struts.objectTypeDeterminer O PiaG!3<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class M.[wKGX(  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Ff)@L-Y\K  
P;c0L;/  
struts.serve.static.browserCache 8[HZ@@  
If static content served by the Struts filter should set browser caching header properties or not NL-_#N$  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _BwKY#09Zp  
,Hh*3rR^  
struts.serve.static 5)*6V&  
      Whether the Struts filter should serve static content or not -fPT}v  
      是否struts过滤器应该提供静态内容 e YDUon  
2Oi'E  
struts.tag.altSyntax 4d-q!lRpa  
      Whether to use the alterative syntax for the tags or not YkI9d&ib+  
      是否可以用替代的语法替代tags DZP*x  
1RA }aX  
struts.ui.templateDir Yj3*)k  
      The directory containing UI templates QQ~23TlA  
      UI templates的目录夹 yM|g|;U  
qmID-t"  
struts.ui.theme cz>mhD  
      The default UI template theme J {!'f| J  
      默认的UI template主题 - 3]|[  
9m~t j_  
struts.url.http.port J7m`]!*t  
      The HTTP port used by Struts URLs ?\M)WDO  
      设置http端口 mR,O0O}&  
]|y}\7Aa  
struts.url.https.port U/5$%0)  
      The HTTPS port used by Struts URLs K=o:V&  
      设置https端口 AZBC P  
OA5f}+  
struts.url.includeParams %-r?=L  
      The default includeParams method to generate Struts URLs XLocg  
      在url中产生 默认的includeParams \-d '9b?  
7@@<5&mN  
LU G9 #.  
struts.velocity.configfile p2^)2v  
      The Velocity configuration file path j%u8=  
      velocity配置文件路径 E@mkm  
HT-PWk>2  
struts.velocity.contexts 8? F 2jv  
      List of Velocity context names _eh3qs:  
      velocity的context列表 l_b_-p  
|G=FqAX H  
kz_M;h>  
struts.velocity.manager.classname kkL(;H:%  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]7l{g9?ZtV  
      org.apache.struts2.views.velocity.VelocityManager接口名 ( QKsB3X  
{RJ52Gx(  
struts.velocity.toolboxlocation }v&K~!*  
      The location of the Velocity toolbox ( mt*y]p?  
      velocity工具盒的位置 )WclV~  
struts.xslt.nocache i=V-@|Z  
      Whether or not XSLT templates should not be cached z g)|rm  
      是否XSLT模版应该被缓存 d^y86pq.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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