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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 G4;3cT3'  
Cb@3M"1:  
struts.action.extension |*Yf.-  
      The URL extension to use to determine if the request is meant for a Struts action LIVU^Os.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 -0eq_+oQ  
uy^   
struts.configuration V&|Ed  
      The org.apache.struts2.config.Configuration implementation class ?EpSC&S\  
        org.apache.struts2.config.Configuration接口名 c$`4*6  
7,MS '2nz  
struts.configuration.files 0lsXCr_X  
      A list of configuration files automatically loaded by Struts ;k86"W  
      struts自动加载的一个配置文件列表 za9)Q=6FD  
)VK }m9Ae  
struts.configuration.xml.reload Za7q$7F7Bc  
      Whether to reload the XML configuration or not P^Q[-e{  
      是否加载xml配置(true,false) maY4g&'f  
sv(f;ib  
struts.continuations.package _#s=h_ FD  
      The package containing actions that use Rife continuations uV hCxUMQ  
      含有actions的完整连续的package名称 ZBG}3Z   
G633Lm`ri  
struts.custom.i18n.resources ;HBC Ue<_  
      Location of additional localization properties files to load 7HJS.047  
      加载附加的国际化属性文件(不包含.properties后缀) <uk1?Q g  
P;8>5;U4-  
struts.custom.properties Enq|Y$qm  
      Location of additional configuration properties files to load T<joR R  
      加载附加的配置文件的位置 0T5=W U  
=!UR=Hq  
deeU@x`f<  
struts.devMode ?Xo*1Z =  
      Whether Struts is in development mode or not <0.$'M~E  
      是否为struts开发模式 c$,_>tcP  
`L5~mb;7*  
struts.dispatcher.parametersWorkaround h~,JdDV8l*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic qr50E[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) X$b={]b  
ORWm C!  
struts.enable.DynamicMethodInvocation &G>(9  
      Allows one to disable dynamic method invocation from the URL [;oCYb$9  
        允许动态方法调用  ,chf~-d  
dj&}Gedy  
struts.freemarker.manager.classname ZC 4*{  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class iH2n.M "  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 m&0"<V!H/B  
"SoHt]%#  
struts.i18n.encoding 5ZPzPUa8~  
      The encoding to use for localization messages Q2%QLM:.,  
      国际化信息内码 O:/y Ac`  
0l#)fJo  
struts.i18n.reload RF!1oZ  
      Whether the localization messages should automatically be reloaded :9Y$'+ <&H  
      是否国际化信息自动加载 %_aMl  
w$5A|%Y+V}  
struts.locale PS" .R_"  
      The default locale for the Struts application wFIh6[3  
      默认的国际化地区信息 KZ:8[d  
/<3<. ~  
struts.mapper.class geefnb  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class a>B[5I5  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 DrvtH+e  
m:O(+Fl  
struts.multipart.maxSize y8bM<e2 U  
      The maximize size of a multipart request (file upload) OAZ#|U   
      multipart请求信息的最大尺寸(文件上传用) '69ZdP/xX  
tNmy& nsA  
struts.multipart.parser ! sA_?2$  
      The org.apache.struts2.dispatcher.multipart. yWHiw<  
      MultiPartRequest parser implementation for a multipart request (file upload) Zx?b<"k  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5lJ )(|_  
Q1&P@Io$  
'!Kf#@';u  
struts.multipart.saveDir x q-$\#O  
      The directory to use for storing uploaded files =]Hs|{  
      设置存储上传文件的目录夹 z&$/EP-  
&yz&LNn'  
struts.objectFactory Er:?M_ev  
      The com.opensymphony.xwork2.ObjectFactory implementation class =S]a&*M  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Px'!;  
F[7x*-NO-  
struts.objectFactory.spring.autoWire ` e{BId  
      Whether Spring should autoWire or not B7-RU<n  
      是否自动绑定Spring d2ENm%q*PX  
[{<dbW\ 9  
struts.objectFactory.spring.useClassCache 6a>H|"P NE  
      Whether Spring should use its class cache or not W*xX{$NL  
      是否spring应该使用自身的cache >^"BEG9i:  
<3O T>E[  
struts.objectTypeDeterminer "!Rw)=7O  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class IdRdW{o  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 &,-p',\-  
#G,XDW2"w  
struts.serve.static.browserCache xwzT#DXGJ  
If static content served by the Struts filter should set browser caching header properties or not Rh] P8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 {R&ZqEo'D  
;? uC=o>Z{  
struts.serve.static _NdLcpBT?  
      Whether the Struts filter should serve static content or not OalP1Gy  
      是否struts过滤器应该提供静态内容 P-JfV7(O8  
{rkn q_;0  
struts.tag.altSyntax  8R69q:  
      Whether to use the alterative syntax for the tags or not af+}S9To  
      是否可以用替代的语法替代tags ZAg;q#z j  
3On JWuVfZ  
struts.ui.templateDir q:HoKJv4  
      The directory containing UI templates Ew^ @Aq  
      UI templates的目录夹 dNV v4{S  
dTD5(}+J  
struts.ui.theme qq+MBW*  
      The default UI template theme $-@$i`Kf/  
      默认的UI template主题 ^ZQCIS-R  
K:qOoY  
struts.url.http.port 8gmn6dCf  
      The HTTP port used by Struts URLs eZO9GMO  
      设置http端口 s5Fr)q// !  
FyEDt@J  
struts.url.https.port ":d*dl  
      The HTTPS port used by Struts URLs e.6Dl_  
      设置https端口 bGh0<r7R  
Q.(51]'  
struts.url.includeParams 2A$0CUMb  
      The default includeParams method to generate Struts URLs <~%t$:  
      在url中产生 默认的includeParams cq^sq1A:  
S[@6Lp3q_  
U \Dca&=  
struts.velocity.configfile s%dF~DSK  
      The Velocity configuration file path .{N\<01  
      velocity配置文件路径 *=^[VV!  
=O^7TrM  
struts.velocity.contexts $k(9 U\y-  
      List of Velocity context names AZ8UXq  
      velocity的context列表 l/V&s<  
#DaP=k"XV  
c57bf  
struts.velocity.manager.classname F|]rA*2u  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~&[u]u[  
      org.apache.struts2.views.velocity.VelocityManager接口名 > I%zd/q?  
Rk[8Bd?  
struts.velocity.toolboxlocation "=`~iXT{e  
      The location of the Velocity toolbox Pw #2<>  
      velocity工具盒的位置 2?*1~ 5~I  
struts.xslt.nocache |7S:l9;  
      Whether or not XSLT templates should not be cached =w,(M  
      是否XSLT模版应该被缓存 xDe47&qKM  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五