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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Q4t(@0e}  
yGg,$WM  
struts.action.extension 5-)#f?  
      The URL extension to use to determine if the request is meant for a Struts action va f&X]p  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 UN"(5a8.  
W&h[p_0  
struts.configuration QrApxiw  
      The org.apache.struts2.config.Configuration implementation class kF7(f|*  
        org.apache.struts2.config.Configuration接口名 tU"raP^ =  
.I3?7  
struts.configuration.files ,(a5@H$f  
      A list of configuration files automatically loaded by Struts tgL$"chj@x  
      struts自动加载的一个配置文件列表 !h&g7do]Z  
E2GGEKrW  
struts.configuration.xml.reload )a}"^1  
      Whether to reload the XML configuration or not X\p,%hk \  
      是否加载xml配置(true,false) jClj_E  
@{h?+ d  
struts.continuations.package =O|c-k,f@  
      The package containing actions that use Rife continuations K}[>T(0E  
      含有actions的完整连续的package名称 }U@m*dEG  
Li 2Zndp  
struts.custom.i18n.resources # N~,F@t  
      Location of additional localization properties files to load BiE08,nj  
      加载附加的国际化属性文件(不包含.properties后缀) VcK}2<8:+~  
}awzO#  
struts.custom.properties NGYyn`Lx  
      Location of additional configuration properties files to load 4 !`bZ`_Bw  
      加载附加的配置文件的位置 DaNW~rd{  
V+?]S  
3#wcKv%>&_  
struts.devMode I PE}gp  
      Whether Struts is in development mode or not ]L2Oz  
      是否为struts开发模式 fpM #XFj  
~Lfcg*  
struts.dispatcher.parametersWorkaround a )*6gf<5  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Vbh6HqAHxJ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "Clz'J]{  
P+e KZo  
struts.enable.DynamicMethodInvocation "a1O01n  
      Allows one to disable dynamic method invocation from the URL 4^c- D  
        允许动态方法调用 ~ aZedQc  
hwnx<f '  
struts.freemarker.manager.classname mxrG)n6Y  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class jW*1E *"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 (7lBID4  
6FfOH<\z6i  
struts.i18n.encoding iNcZ)m/  
      The encoding to use for localization messages ~7quTp)  
      国际化信息内码 9-*NW0  
crA :I"I  
struts.i18n.reload vnX  
      Whether the localization messages should automatically be reloaded h -_&MD/J  
      是否国际化信息自动加载 %@& a7JOL  
#*q2d  
struts.locale OVoO6F ]  
      The default locale for the Struts application {}e^eJ  
      默认的国际化地区信息 w=r&?{  
t7#lsd`_  
struts.mapper.class (VHND%7P  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class t> Q{yw  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ~JZ3a0$^  
O]u",J5  
struts.multipart.maxSize 90 { tIX  
      The maximize size of a multipart request (file upload) $,1dQeE  
      multipart请求信息的最大尺寸(文件上传用) {'3D1#SK  
?z`MPdO  
struts.multipart.parser ^,s?e.u$8`  
      The org.apache.struts2.dispatcher.multipart. (;o*eFC F  
      MultiPartRequest parser implementation for a multipart request (file upload) Q/_#k/R  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ryD%i"g<  
3VCqp13  
<Q`&o@I  
struts.multipart.saveDir :Am-8  
      The directory to use for storing uploaded files P9#)~Zm}]  
      设置存储上传文件的目录夹 &a~=b,  
?#[)C=p]z  
struts.objectFactory y]qsyR18i  
      The com.opensymphony.xwork2.ObjectFactory implementation class B#N7qoi  
      com.opensymphony.xwork2.ObjectFactory接口(spring) NXoK@Y  
6TFo|z!C  
struts.objectFactory.spring.autoWire _,; %mK  
      Whether Spring should autoWire or not aPIr_7e  
      是否自动绑定Spring ;x[pM_  
 b;vNq  
struts.objectFactory.spring.useClassCache X\2_; zwf  
      Whether Spring should use its class cache or not a+(j ?_FyI  
      是否spring应该使用自身的cache 4 eh=f!(+  
??xlA-E  
struts.objectTypeDeterminer =:K@zlO:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !'c| N9  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Xz1c6mX|o  
|$w*RI0C  
struts.serve.static.browserCache EZAm)5:]A  
If static content served by the Struts filter should set browser caching header properties or not B3b,F#  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 'C]jwxy  
h%b hrkD  
struts.serve.static 3"i% {  
      Whether the Struts filter should serve static content or not (&Q)EBdm  
      是否struts过滤器应该提供静态内容 kyAs'R @z  
)+GX<2_  
struts.tag.altSyntax ?[SVqj2-  
      Whether to use the alterative syntax for the tags or not U>3 >Ex  
      是否可以用替代的语法替代tags 0VG=?dq  
NG-`ag`s  
struts.ui.templateDir ,V2#iY.%}N  
      The directory containing UI templates ~= 9V v  
      UI templates的目录夹 9/46%=&]  
Y@:3 B:m#  
struts.ui.theme -- S"w@  
      The default UI template theme w|G~Il  
      默认的UI template主题 aJQXJ,>Lv  
m+$/DD^-zl  
struts.url.http.port 24|<<Xn  
      The HTTP port used by Struts URLs sA2o2~AmM  
      设置http端口 $~hdm$  
R<j<. h  
struts.url.https.port G-8n  
      The HTTPS port used by Struts URLs TAAR'Jz S  
      设置https端口 g^n;IE$B  
8l?w=)Qy  
struts.url.includeParams JJNmpUJ  
      The default includeParams method to generate Struts URLs 0~.)GG%R>D  
      在url中产生 默认的includeParams qa;EI ;8  
g5<ZS3tQ  
Ei~]iZ}  
struts.velocity.configfile 5F03y`@ u  
      The Velocity configuration file path xOgq-@`  
      velocity配置文件路径 j,ZW[*M  
1l~.R#WG&  
struts.velocity.contexts s #`cX0L)  
      List of Velocity context names 0O^r.&{j>  
      velocity的context列表 wK ][qZ ]  
m^Rd Iy)  
ZnQ27FcW  
struts.velocity.manager.classname |WUA1g  
      org.apache.struts2.views.velocity.VelocityManager implementation class {'&8`d  
      org.apache.struts2.views.velocity.VelocityManager接口名 K.r!?cfv  
{;;eOxOP|  
struts.velocity.toolboxlocation <JJkki  
      The location of the Velocity toolbox JN)"2}SE  
      velocity工具盒的位置 =Y:5,.U  
struts.xslt.nocache l#|J rU!  
      Whether or not XSLT templates should not be cached QZ:v  
      是否XSLT模版应该被缓存 @ikUM+A {  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五