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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 }+JLn%H)  
Xr2 Wa  
struts.action.extension U2=hSzY  
      The URL extension to use to determine if the request is meant for a Struts action ax]9QrA  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K /ZHJkJ7  
q06@SD$   
struts.configuration 4%>+Wh[  
      The org.apache.struts2.config.Configuration implementation class ^@N`e1  
        org.apache.struts2.config.Configuration接口名 (l2<+R%1  
gQ,4xTX  
struts.configuration.files ;3 dM@>5[  
      A list of configuration files automatically loaded by Struts ?M]u$Te/.  
      struts自动加载的一个配置文件列表 mVHFT~x7}  
}Oh5Nm)  
struts.configuration.xml.reload _]_LF[  
      Whether to reload the XML configuration or not a^x  0 l  
      是否加载xml配置(true,false) ja:\W\xhJ  
ME,duY/>Q  
struts.continuations.package v'$ykZ!Z  
      The package containing actions that use Rife continuations uAQg"j  
      含有actions的完整连续的package名称 3m~U(yho  
6<+8}`@B>G  
struts.custom.i18n.resources X; 5S  
      Location of additional localization properties files to load vS2(Q0+TZi  
      加载附加的国际化属性文件(不包含.properties后缀) r=|vad$  
lkyJ;}_**  
struts.custom.properties Lm.Ik}Gli  
      Location of additional configuration properties files to load fW[_+r]  
      加载附加的配置文件的位置 ?Cc$]  
.;j"+Ef   
y "<JE<X  
struts.devMode }Uq/kei^P  
      Whether Struts is in development mode or not ![j(o!6&  
      是否为struts开发模式 ;wp W2%&  
R<t&F\>  
struts.dispatcher.parametersWorkaround 8db6(Q~P  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic HK? Foo?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) `} ZL'\G  
|})rt5|f1!  
struts.enable.DynamicMethodInvocation ruWye1X;  
      Allows one to disable dynamic method invocation from the URL bf{Ep=-  
        允许动态方法调用 VgUvD1v?}  
hN!.@L  
struts.freemarker.manager.classname k:W=5{[  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class cx<h_  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 vDWr|M%``l  
n/Or~@pHD  
struts.i18n.encoding Scf.4~H 0  
      The encoding to use for localization messages &,F elB0*  
      国际化信息内码 40rZ~!}  
;\1b{-' l  
struts.i18n.reload !(}OBZ[*  
      Whether the localization messages should automatically be reloaded 9B& }7kk  
      是否国际化信息自动加载 >&g2 IvDS  
x={kjym L  
struts.locale  hgNY[,  
      The default locale for the Struts application Sw/J+FO2  
      默认的国际化地区信息 A<]&JbIt  
,Z >JvTnH  
struts.mapper.class OrzM hQaf  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class L/c4"f|.*v  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3KR2TcT#{  
|:{g?4Mi  
struts.multipart.maxSize hLCsQYNDU  
      The maximize size of a multipart request (file upload) 9$8X> T^   
      multipart请求信息的最大尺寸(文件上传用) $]xE$dzJ  
"Fo  
struts.multipart.parser rE9Ta8j6  
      The org.apache.struts2.dispatcher.multipart. .Ydr[  
      MultiPartRequest parser implementation for a multipart request (file upload) :A,O(   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5R& x{jf$  
4,o %e,z  
`e4o1 *  
struts.multipart.saveDir ZE{aS4c  
      The directory to use for storing uploaded files dVij <! Lu  
      设置存储上传文件的目录夹 r{bgTG  
 ?L`MFR  
struts.objectFactory I=Gr^\x=  
      The com.opensymphony.xwork2.ObjectFactory implementation class "tEj`eR  
      com.opensymphony.xwork2.ObjectFactory接口(spring) \z&03@Sw  
J{a Q1)  
struts.objectFactory.spring.autoWire R994R@gz  
      Whether Spring should autoWire or not MYKs??]Y1  
      是否自动绑定Spring +qE,<c}}  
p`shY yE  
struts.objectFactory.spring.useClassCache )zo#1$C-  
      Whether Spring should use its class cache or not = E##},N"  
      是否spring应该使用自身的cache L.R"~3  
mYzsT Uq  
struts.objectTypeDeterminer oUnq"]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -Y5YCY!`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 W9:fKP  
$K5ni{M;  
struts.serve.static.browserCache 7[(Lrx.pM  
If static content served by the Struts filter should set browser caching header properties or not i7Y s_8A"9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 BXagSenc  
<>ZBW9  
struts.serve.static %g2/ o^c*  
      Whether the Struts filter should serve static content or not GGYX!=]~  
      是否struts过滤器应该提供静态内容 r3*+8 D~a_  
@2-Hj~  
struts.tag.altSyntax s|fCR  
      Whether to use the alterative syntax for the tags or not jAD+:@  
      是否可以用替代的语法替代tags S.zg&   
,<R>Hiwg/s  
struts.ui.templateDir ,AGM?&A  
      The directory containing UI templates hpd(d$j  
      UI templates的目录夹 Fr938q6^-  
6{Krw \0  
struts.ui.theme Tw`F?i~  
      The default UI template theme H8(0. IR  
      默认的UI template主题 we6+2  
9;;]q?*  
struts.url.http.port ,(1vEE[9-  
      The HTTP port used by Struts URLs ]<&B BQ  
      设置http端口 @]?? +f}#  
:mCw.Jz<h  
struts.url.https.port K|P9uHD  
      The HTTPS port used by Struts URLs uK+9gTv  
      设置https端口 \;A50U|r  
# CP9^R S  
struts.url.includeParams ~*,Ddwr0a  
      The default includeParams method to generate Struts URLs uD0(aqAZ  
      在url中产生 默认的includeParams DctX9U(  
x9FLr}e  
wdN>KS2!  
struts.velocity.configfile N2+mN0k;  
      The Velocity configuration file path bUY:XmA  
      velocity配置文件路径 ,)B~cic'u  
{ziYd;Ys1  
struts.velocity.contexts =rf )yp-D  
      List of Velocity context names (Von;U  
      velocity的context列表 WcV\kemf  
wsdB; 6%$  
[RGC!}"mr  
struts.velocity.manager.classname ,6y-.m7>  
      org.apache.struts2.views.velocity.VelocityManager implementation class /r::68_KQP  
      org.apache.struts2.views.velocity.VelocityManager接口名 s K""  
'PmHBQvt&  
struts.velocity.toolboxlocation i{1)=_$Vt`  
      The location of the Velocity toolbox bv:0EdVr  
      velocity工具盒的位置 n',9#I(!L  
struts.xslt.nocache Y%n{`9=  
      Whether or not XSLT templates should not be cached )sqp7["-  
      是否XSLT模版应该被缓存 : pE-{3I  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八