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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 >FhK #*Pa  
,+qVu,  
struts.action.extension 22kpl)vbU  
      The URL extension to use to determine if the request is meant for a Struts action )$w*V9d  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 r'CM  
r1ws1 rr=  
struts.configuration wU#F_De)R:  
      The org.apache.struts2.config.Configuration implementation class o7B[R) 4  
        org.apache.struts2.config.Configuration接口名 t9&c E:n  
`cx]e  
struts.configuration.files $?,a[79  
      A list of configuration files automatically loaded by Struts Tirux ;  
      struts自动加载的一个配置文件列表 Xh J,"=E+  
5TBp'7 /s~  
struts.configuration.xml.reload IHgeQ F ~  
      Whether to reload the XML configuration or not *lef=:&,,  
      是否加载xml配置(true,false) 5XuT={o  
i"|$(2  
struts.continuations.package bs9aE< j  
      The package containing actions that use Rife continuations X7,PEA  
      含有actions的完整连续的package名称 Q'k\8'x  
[4fU+D2\d  
struts.custom.i18n.resources iK?b~Q  
      Location of additional localization properties files to load i,13b e  
      加载附加的国际化属性文件(不包含.properties后缀) [1Ydo`  
A2}Rl%+X]6  
struts.custom.properties MNH1D! }  
      Location of additional configuration properties files to load Y(\T- bI  
      加载附加的配置文件的位置 )BfT7{WN  
qQ!1t>j+H  
Soie^$ Y  
struts.devMode {0! ~C=P  
      Whether Struts is in development mode or not bYz&P`o}  
      是否为struts开发模式 =A Vg Iv  
:V2bS  
struts.dispatcher.parametersWorkaround a[lY S{  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic GE>[*zN  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) q1E:l!2al  
)2,eFNB#n  
struts.enable.DynamicMethodInvocation T[= S$n -'  
      Allows one to disable dynamic method invocation from the URL gyS+9)gY  
        允许动态方法调用 v/*Y#(X  
2<mW\$  
struts.freemarker.manager.classname sH[ -W-  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class K[chjp!$l  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 C"lJl k9g^  
! _2n  
struts.i18n.encoding `OymAyEYQ  
      The encoding to use for localization messages g*w<*  
      国际化信息内码 Ll MpS<2NO  
1<ro7A4hK  
struts.i18n.reload X-Wz:NA  
      Whether the localization messages should automatically be reloaded 65ly2gl  
      是否国际化信息自动加载 fC}R4f7C  
m]*Bx%-1c  
struts.locale vK$"# F~  
      The default locale for the Struts application *5<Sr q'  
      默认的国际化地区信息 1 nvTce  
cI]WrI2CQa  
struts.mapper.class ?Qb<-~~ j1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @\&m+;6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 smG>sEp2  
_2btfY1U  
struts.multipart.maxSize ;,&8QcSVY  
      The maximize size of a multipart request (file upload) &[2U$`P`V  
      multipart请求信息的最大尺寸(文件上传用) +.y .Mp  
uP\lCqK,  
struts.multipart.parser iqnJ~g  
      The org.apache.struts2.dispatcher.multipart. /~4 "No@  
      MultiPartRequest parser implementation for a multipart request (file upload) %!ebO*8q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b| SE<\  
kj+#Tn F-  
VL[)[~^  
struts.multipart.saveDir gPC*b+  
      The directory to use for storing uploaded files 'WHHc 9rG,  
      设置存储上传文件的目录夹 `>DP,D)w(  
g+-;J+X8  
struts.objectFactory I ];M7  
      The com.opensymphony.xwork2.ObjectFactory implementation class ylKmj]A  
      com.opensymphony.xwork2.ObjectFactory接口(spring) #k3t3az2{  
1Y_w5dU  
struts.objectFactory.spring.autoWire "^I mb,  
      Whether Spring should autoWire or not -/ ]W+[  
      是否自动绑定Spring t>B^q3\q?  
zo;^m|  
struts.objectFactory.spring.useClassCache ?j^=u:<  
      Whether Spring should use its class cache or not ]a2W e`  
      是否spring应该使用自身的cache C@N1ljXJT  
q_ =b<.;  
struts.objectTypeDeterminer e6=]m#O9  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class  ]*O/+  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +l^LlqA  
5-)#f?  
struts.serve.static.browserCache CukC6u b  
If static content served by the Struts filter should set browser caching header properties or not 1>Q{Gs^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 nS()u}c;r  
yBLK$@9  
struts.serve.static 7=@jARW&  
      Whether the Struts filter should serve static content or not cNzt%MjP  
      是否struts过滤器应该提供静态内容 (]/9-\6(#  
4[ryKPa,  
struts.tag.altSyntax {%w!@-  
      Whether to use the alterative syntax for the tags or not o`khz{SU:  
      是否可以用替代的语法替代tags hVj NZ  
a:~@CUD >I  
struts.ui.templateDir _w@qr\4i=  
      The directory containing UI templates 7j5f ;O^+  
      UI templates的目录夹 2tayP@$  
\b[9ebME  
struts.ui.theme @eqeN9e  
      The default UI template theme hzI *{  
      默认的UI template主题 4YZS"K'E  
zb6ju]2  
struts.url.http.port wPbkUVO  
      The HTTP port used by Struts URLs x*oWa,  
      设置http端口 &iN--~}!$  
Qy#)Gxp  
struts.url.https.port wV?,Z!\Z  
      The HTTPS port used by Struts URLs ~.PP30 '  
      设置https端口 GFSt<k)  
[NnauItI  
struts.url.includeParams i` A  
      The default includeParams method to generate Struts URLs M(|   
      在url中产生 默认的includeParams uGdp@]z&8Q  
BiE08,nj  
AvR2_  
struts.velocity.configfile '2hbJk  
      The Velocity configuration file path >Ps7I  
      velocity配置文件路径 t+CWeCp,  
NGYyn`Lx  
struts.velocity.contexts h5 Vv:C  
      List of Velocity context names ! #wdVe_(  
      velocity的context列表 IB.yU,v  
S\y%4}j  
Z?MoJ{.!?R  
struts.velocity.manager.classname x0a.!  
      org.apache.struts2.views.velocity.VelocityManager implementation class O!D/|.Q#%  
      org.apache.struts2.views.velocity.VelocityManager接口名 u% 2<\:~j  
]L2Oz  
struts.velocity.toolboxlocation elJ)4Em  
      The location of the Velocity toolbox 2EQ 6J  
      velocity工具盒的位置 l? #xAZx&_  
struts.xslt.nocache a )*6gf<5  
      Whether or not XSLT templates should not be cached KsAH]2Q%  
      是否XSLT模版应该被缓存 F=G{)*Ih  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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