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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ',?v7&  
3'8B rK  
struts.action.extension rY_)N^B|nF  
      The URL extension to use to determine if the request is meant for a Struts action m+||t  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =0TnH<`  
:TqvL'9o  
struts.configuration \%z#|oV#<  
      The org.apache.struts2.config.Configuration implementation class LCx{7bN1ro  
        org.apache.struts2.config.Configuration接口名 &WE|9  
+',[q  
struts.configuration.files jt?4raNW  
      A list of configuration files automatically loaded by Struts H%> E6rVB  
      struts自动加载的一个配置文件列表 at]=SA  
`@q[&^  
struts.configuration.xml.reload I3]-$  
      Whether to reload the XML configuration or not OF&{mJH"g'  
      是否加载xml配置(true,false) S:4'k^E  
NypM+y  
struts.continuations.package 2%i_SX[  
      The package containing actions that use Rife continuations O-y/K2MC*  
      含有actions的完整连续的package名称 lxx)l(&  
e3,TY.,Ay  
struts.custom.i18n.resources oa$-o/DhB  
      Location of additional localization properties files to load ma[%,u`  
      加载附加的国际化属性文件(不包含.properties后缀) QE*O~Yj  
iZ % KHqG  
struts.custom.properties  \B) a57  
      Location of additional configuration properties files to load kIhP 73M  
      加载附加的配置文件的位置 e\%+~GUTC=  
}kzGuNj  
:so2 {.t-  
struts.devMode =(:{>tO_"  
      Whether Struts is in development mode or not ivDmPHj{  
      是否为struts开发模式 ZDuP|" ^  
@q:v?AO  
struts.dispatcher.parametersWorkaround L[o;@+32  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ([SrIG>X  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) f.8Jp<S2K  
)Be?axI  
struts.enable.DynamicMethodInvocation F5la:0fb  
      Allows one to disable dynamic method invocation from the URL (?R;u>  
        允许动态方法调用 \Jm fQrBQ  
ATx6YP@7~  
struts.freemarker.manager.classname ^'>kZ^w0  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class };;\&#  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 u"eO&Vc  
!lQGoXQ'4  
struts.i18n.encoding qYo"-D*  
      The encoding to use for localization messages aK>5r^7S  
      国际化信息内码 aDEz |>q  
wMFo8;L  
struts.i18n.reload 5@l[!Jl0k  
      Whether the localization messages should automatically be reloaded ?4>uGaU\  
      是否国际化信息自动加载 |^!#x Tj  
4#hDt^N~  
struts.locale pkTg.70wU  
      The default locale for the Struts application }xhat,9  
      默认的国际化地区信息 4HX qRFUD  
7 0pt5O3]  
struts.mapper.class LF o{,%B  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >! u@>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 4cZig\mE;  
QY14N{]T\p  
struts.multipart.maxSize CbPCj.MH  
      The maximize size of a multipart request (file upload) o=/Cje  
      multipart请求信息的最大尺寸(文件上传用) % 1f, 8BM  
&qR1fbw"  
struts.multipart.parser Mou@G3  
      The org.apache.struts2.dispatcher.multipart. Hgu:*iYA  
      MultiPartRequest parser implementation for a multipart request (file upload) YA(_*h  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) e| AA7  
dFdll3bC  
/48W]a}JS  
struts.multipart.saveDir r]!<iw  
      The directory to use for storing uploaded files Cjvgf .>$  
      设置存储上传文件的目录夹  ?gZJ v  
1-z*'Ghys  
struts.objectFactory Zmx[u_NG  
      The com.opensymphony.xwork2.ObjectFactory implementation class 'Na \9b(  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3,`.$   
Y>OL2g  
struts.objectFactory.spring.autoWire M :m-iX  
      Whether Spring should autoWire or not n])-+[F  
      是否自动绑定Spring iz|mJUx  
,!`94{Ggv  
struts.objectFactory.spring.useClassCache e"jA#Y #  
      Whether Spring should use its class cache or not ,H{ /@|RW  
      是否spring应该使用自身的cache {d|R67~V  
R=D\VIu,Z  
struts.objectTypeDeterminer pB @l+ n^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E\M{/.4 4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,+p&ZpH  
d2H&@80  
struts.serve.static.browserCache  KR  
If static content served by the Struts filter should set browser caching header properties or not ~;ink   
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wu*WA;FnA  
JOj\#!\>k0  
struts.serve.static =k4yWC5-  
      Whether the Struts filter should serve static content or not NJYx.TL  
      是否struts过滤器应该提供静态内容 lYd#pNN  
vP G!S{4  
struts.tag.altSyntax ;qI5GQ {  
      Whether to use the alterative syntax for the tags or not 7R\!'`]\M  
      是否可以用替代的语法替代tags 0F'75  
)k&pp^q\  
struts.ui.templateDir ?KxI|os  
      The directory containing UI templates ArkFC  
      UI templates的目录夹 ,5\:\e0H  
>/"XX,3  
struts.ui.theme 0w >DU^+  
      The default UI template theme PN:8H>  
      默认的UI template主题 ;(w=}s%]+  
YtQKsM  
struts.url.http.port }iy`Ko+B"b  
      The HTTP port used by Struts URLs A>L(#lz#ek  
      设置http端口 KmV>tn BQ  
f{e*R#+&  
struts.url.https.port ErC~,5dj;n  
      The HTTPS port used by Struts URLs K*J8(/WkD  
      设置https端口 Y51XpcXQ  
S&-sl   
struts.url.includeParams TJY$<:  
      The default includeParams method to generate Struts URLs gb:Cc,F,%  
      在url中产生 默认的includeParams ej,MmLu~^  
k;3P;@3,W  
ilK8V4k<T)  
struts.velocity.configfile AW'tZF"  
      The Velocity configuration file path whNRUOK:  
      velocity配置文件路径 EpGe'S  
kyJv,!};  
struts.velocity.contexts )ymF: ]QC  
      List of Velocity context names s)=L6t^a6  
      velocity的context列表 &3{:h  
^OG^% x"  
5*buRYck0  
struts.velocity.manager.classname *Oz5I  
      org.apache.struts2.views.velocity.VelocityManager implementation class JXj`  
      org.apache.struts2.views.velocity.VelocityManager接口名 LWbWj ^  
.WL507*"Ce  
struts.velocity.toolboxlocation E08AZOY&g  
      The location of the Velocity toolbox +:&(Ag  
      velocity工具盒的位置 svpWABO  
struts.xslt.nocache P[P!WLr""  
      Whether or not XSLT templates should not be cached U7crbj;c)d  
      是否XSLT模版应该被缓存 jo<sN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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