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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 jD<xpD  
zT}vaU 6  
struts.action.extension erv94acq  
      The URL extension to use to determine if the request is meant for a Struts action nN.Gn+Cl  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l(x0d  
Zs|Ga,T  
struts.configuration g/l:q&Q<  
      The org.apache.struts2.config.Configuration implementation class XXm7rn  
        org.apache.struts2.config.Configuration接口名 " ;Cf@}i>  
Fa`%MR1  
struts.configuration.files Tei2[siA5  
      A list of configuration files automatically loaded by Struts  7L:Eg  
      struts自动加载的一个配置文件列表 ,_$J-F?  
`uLr^G=;  
struts.configuration.xml.reload WnGi;AGH=1  
      Whether to reload the XML configuration or not ~u!V_su]GY  
      是否加载xml配置(true,false) ?zP 2   
t+d7{&B  
struts.continuations.package [&P @0F n  
      The package containing actions that use Rife continuations va QsG6q[  
      含有actions的完整连续的package名称 rF}Q(<Y86  
#c' B2Jn  
struts.custom.i18n.resources }; 7I   
      Location of additional localization properties files to load '>"blfix8  
      加载附加的国际化属性文件(不包含.properties后缀) '+l"zK ]L-  
L1+s0g>  
struts.custom.properties k$5l kP.  
      Location of additional configuration properties files to load Q)XH5C2X  
      加载附加的配置文件的位置 Hr=|xw8.  
k:V9_EI=  
#mJRL[V5^  
struts.devMode X'\h^\yOo  
      Whether Struts is in development mode or not T9J&^I  
      是否为struts开发模式 E;`^`T40  
]jI<Js* F  
struts.dispatcher.parametersWorkaround OpazWcMoo  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic +VQD'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :Hb`vH3 x  
QoUdTIIL  
struts.enable.DynamicMethodInvocation ^B%ki  
      Allows one to disable dynamic method invocation from the URL 'y>Y*/  
        允许动态方法调用 @J>JZ7m]\  
SHSfe{n  
struts.freemarker.manager.classname H}_R`S  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [%yj' )R/  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 teb(gUy}L6  
9%SC#V'  
struts.i18n.encoding 569p/?  
      The encoding to use for localization messages `<~=6H  
      国际化信息内码 ~}{_/8'5  
PP\ bDEPy  
struts.i18n.reload B R  
      Whether the localization messages should automatically be reloaded 4 7mT  
      是否国际化信息自动加载 }8YY8|]LI  
/ ~".GZ&29  
struts.locale <-' !I&  
      The default locale for the Struts application B#IUSHC  
      默认的国际化地区信息 &RbP N^  
Tc"J(GWG  
struts.mapper.class 7vRp<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class wC%qSy'  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 qe(gKKA%q  
7@g0>1Fz  
struts.multipart.maxSize P RUl-v  
      The maximize size of a multipart request (file upload) rqp]{?33  
      multipart请求信息的最大尺寸(文件上传用) qAd=i0{N  
6&;GC<].(y  
struts.multipart.parser KX;JX*)J  
      The org.apache.struts2.dispatcher.multipart. ?Bq^#i |m  
      MultiPartRequest parser implementation for a multipart request (file upload) 8 3/WWL }  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) LauGT* z!  
zjow %  
->?tB1}^  
struts.multipart.saveDir J2 )h":2  
      The directory to use for storing uploaded files ?%~^PHgZ|  
      设置存储上传文件的目录夹 S[7^#O.)  
v,*C>u\3s  
struts.objectFactory *aS+XnT/  
      The com.opensymphony.xwork2.ObjectFactory implementation class jTg~]PQ^  
      com.opensymphony.xwork2.ObjectFactory接口(spring) LjGZp"&{  
<[ 2?~s  
struts.objectFactory.spring.autoWire R{Zd ]HT  
      Whether Spring should autoWire or not s I\-0og  
      是否自动绑定Spring <%d!Sk4  
?M|1'`!c8  
struts.objectFactory.spring.useClassCache {irc~||4  
      Whether Spring should use its class cache or not XC;Icr)  
      是否spring应该使用自身的cache gjz-CY.hz  
AWMJ/ E*T  
struts.objectTypeDeterminer n6t@ e^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class `C|];mf(#  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 KiI+ V;o  
o9sPyY$aQ  
struts.serve.static.browserCache <"K*O9 nst  
If static content served by the Struts filter should set browser caching header properties or not z7sDaZL?_  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 H#V&5|K%  
>EFWevT{  
struts.serve.static Wq+GlB*  
      Whether the Struts filter should serve static content or not  yZ[g2*1L  
      是否struts过滤器应该提供静态内容 "@hd\w{.  
#\=7A  
struts.tag.altSyntax e Csk\f`  
      Whether to use the alterative syntax for the tags or not U+>M@!=  
      是否可以用替代的语法替代tags A-uIZ zC  
LWTPNp:"{w  
struts.ui.templateDir 1,) yEeHjU  
      The directory containing UI templates 8TAJ#Lm  
      UI templates的目录夹 ^<-r57pz  
@q>Hl`a  
struts.ui.theme V7nOT*N:Q  
      The default UI template theme l"}_+5  
      默认的UI template主题 F xm:m  
?$)5NQB%  
struts.url.http.port _iq62[i3^  
      The HTTP port used by Struts URLs u<cnz% @  
      设置http端口 2YKa <?_  
 &qdhxc4  
struts.url.https.port IKP GqoM  
      The HTTPS port used by Struts URLs S:}"gwFM  
      设置https端口 &*7KQd  
$57b.+2n  
struts.url.includeParams p$|7T31 *  
      The default includeParams method to generate Struts URLs 6*>Lud  
      在url中产生 默认的includeParams @j}%{Km]Y  
m#8 PX$_  
;9h;oB@  
struts.velocity.configfile %EVgSF!r  
      The Velocity configuration file path D@68_sn  
      velocity配置文件路径 #I453  
w5%i  
struts.velocity.contexts =HsE:@  
      List of Velocity context names 300w\9fn&  
      velocity的context列表 VSDua.  
R^/SBrWve  
0stc$~~v  
struts.velocity.manager.classname X)~wB7_0G  
      org.apache.struts2.views.velocity.VelocityManager implementation class #L+:MA7H  
      org.apache.struts2.views.velocity.VelocityManager接口名 h,m 90Hd+  
b\`S[  
struts.velocity.toolboxlocation `a MU2  
      The location of the Velocity toolbox lcm [l  
      velocity工具盒的位置 Z#H<+S(  
struts.xslt.nocache  =s4(Y  
      Whether or not XSLT templates should not be cached ;T WLo_  
      是否XSLT模版应该被缓存 3rKJ<(-2/  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五