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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 x9_ Lt4  
Xj-3C[ 8@  
struts.action.extension &erNVD5o  
      The URL extension to use to determine if the request is meant for a Struts action `\Npu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _+;x 4K;  
k Dv)g  
struts.configuration GS{9MGl  
      The org.apache.struts2.config.Configuration implementation class XW#4C*5?d  
        org.apache.struts2.config.Configuration接口名 Zwt!nh   
rzTyHK[  
struts.configuration.files p~mB;pZ%;  
      A list of configuration files automatically loaded by Struts nK|";  
      struts自动加载的一个配置文件列表 8p211MQ<  
d)G-K+&B  
struts.configuration.xml.reload =[k9{cVW  
      Whether to reload the XML configuration or not ji8 Rd"S  
      是否加载xml配置(true,false) xxiLi46/  
y1'/@A1  
struts.continuations.package {'ZnxK'  
      The package containing actions that use Rife continuations 4YCGh  
      含有actions的完整连续的package名称 T#BOrT>V  
-12v/an]L7  
struts.custom.i18n.resources @E)XT\;3  
      Location of additional localization properties files to load .U3p~M+  
      加载附加的国际化属性文件(不包含.properties后缀) i Bi/9  
p&\uF#I;  
struts.custom.properties ]d[q:N]z  
      Location of additional configuration properties files to load 2 g8PU$T  
      加载附加的配置文件的位置 vLke,MKW  
%x *f{(8h  
#X8[g_d/  
struts.devMode .Sn1YAhE  
      Whether Struts is in development mode or not Ov|j{}=L=9  
      是否为struts开发模式 J91`wA&r  
/{U{smtdFl  
struts.dispatcher.parametersWorkaround =,'Z6?%p  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  @bx2=  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) F,zJdJ  
?gtkf[0B|  
struts.enable.DynamicMethodInvocation |l|]Tw  
      Allows one to disable dynamic method invocation from the URL .3&m:P8zV  
        允许动态方法调用 q- Qws0\v.  
H5AY6),  
struts.freemarker.manager.classname $>UzXhf}\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 6)$_2G%Zq  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 c`.:"i" k3  
}B- A*TI<h  
struts.i18n.encoding T82_`u  
      The encoding to use for localization messages v(^rq  
      国际化信息内码 (`NRF6'&1L  
US|vYd}u+  
struts.i18n.reload 39j d}]e  
      Whether the localization messages should automatically be reloaded (Gn[T1p?  
      是否国际化信息自动加载 w(j9[  
O2G+ '  
struts.locale JdHc'WtS!|  
      The default locale for the Struts application ^sKXn:)  
      默认的国际化地区信息 ASvPr*q/  
#+;=ijyF  
struts.mapper.class L@Z &v'A  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ?5Fj]Bk]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 >D<=9G(a  
rd)) H  
struts.multipart.maxSize }'W^Ki$  
      The maximize size of a multipart request (file upload) uFm-HR@4  
      multipart请求信息的最大尺寸(文件上传用) yLx.*I^6  
!iVFzG @m  
struts.multipart.parser DBUwf1=qj  
      The org.apache.struts2.dispatcher.multipart. L\ %_<2  
      MultiPartRequest parser implementation for a multipart request (file upload) 1l_}O1  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) S nHAY <  
.6 NSt  
=]a@)6y  
struts.multipart.saveDir Q*.FUV&;  
      The directory to use for storing uploaded files *u/|NU&X  
      设置存储上传文件的目录夹 }|Tg_+   
7]%il[  
struts.objectFactory `tG_O  
      The com.opensymphony.xwork2.ObjectFactory implementation class _,FoXf7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 4C%>/*%8>  
-ZP&zOsDr  
struts.objectFactory.spring.autoWire \&5@yh  
      Whether Spring should autoWire or not *BsDHq-F~  
      是否自动绑定Spring EcoUpiL%2  
Jche79B  
struts.objectFactory.spring.useClassCache k8e"5 he  
      Whether Spring should use its class cache or not 1gm/{w6O  
      是否spring应该使用自身的cache $ bNe0  
e6HlOGPVQH  
struts.objectTypeDeterminer i\;&CzC:  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 15 o.j!S  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -]\E}Ti  
lE)rRG+JLW  
struts.serve.static.browserCache C;q}3c*L  
If static content served by the Struts filter should set browser caching header properties or not kA%OF*%|6  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _qt;{,t  
^HFU@/  
struts.serve.static |Xm4(FN\  
      Whether the Struts filter should serve static content or not &8+6!TN7  
      是否struts过滤器应该提供静态内容 8EG8!,\I  
-ouJf}#R  
struts.tag.altSyntax a^c ,=X3  
      Whether to use the alterative syntax for the tags or not NB5L{Gf6-  
      是否可以用替代的语法替代tags x;FO|fH  
M.:@<S  
struts.ui.templateDir h0 GdFWN  
      The directory containing UI templates s$>m0^  
      UI templates的目录夹 ;Nf hKu%K  
Ag#5.,B-  
struts.ui.theme r(1pvcWY-  
      The default UI template theme xUo)_P\_  
      默认的UI template主题 7tl)4A6  
|:=b9kv  
struts.url.http.port  TXD^Do5^  
      The HTTP port used by Struts URLs J;=aIiN]R  
      设置http端口 QE#-A@c  
oyN+pFVB:$  
struts.url.https.port $qlqW y-s  
      The HTTPS port used by Struts URLs ADyNNMcx  
      设置https端口 TtwJ,&b  
z<[.MH`ln  
struts.url.includeParams UQ$\ an'  
      The default includeParams method to generate Struts URLs  { 7TJgS  
      在url中产生 默认的includeParams QVSsi j  
c(Uj'uLc  
}GN kB  
struts.velocity.configfile SJ@8[n.x  
      The Velocity configuration file path v;bM.OL  
      velocity配置文件路径 1RI#kti-"  
k\Z;Cmh>  
struts.velocity.contexts &Qtp"#{  
      List of Velocity context names 1(:b{Bl  
      velocity的context列表 igRDt{}  
Nn,vdu{^2  
dEQReD  
struts.velocity.manager.classname #"o6OEy$A#  
      org.apache.struts2.views.velocity.VelocityManager implementation class $dx1[ V+_  
      org.apache.struts2.views.velocity.VelocityManager接口名 &v3D" J  
f0cYvL ]  
struts.velocity.toolboxlocation 4uO @`0:x  
      The location of the Velocity toolbox h=v[i!U-eY  
      velocity工具盒的位置 u,Q_WR-wJ  
struts.xslt.nocache $vgmoJ@X0  
      Whether or not XSLT templates should not be cached vGPf`2/j.  
      是否XSLT模版应该被缓存 f\x@ C)E  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五