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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 SCjVzvG$yg  
xXJzE|)1h!  
struts.action.extension %Rf{v5  
      The URL extension to use to determine if the request is meant for a Struts action 4-9cp=\PE  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "&\(:#L  
\aN5:Yy  
struts.configuration p*JP='p  
      The org.apache.struts2.config.Configuration implementation class @P[%6 d  
        org.apache.struts2.config.Configuration接口名 F5{GMn;j  
rLbFaLeQ  
struts.configuration.files AP9\]qZ(7  
      A list of configuration files automatically loaded by Struts m"o=R\C  
      struts自动加载的一个配置文件列表 Mb97S]878I  
Ifq|MZ\  
struts.configuration.xml.reload ;a[3RqmKW  
      Whether to reload the XML configuration or not 1y eD-M"w  
      是否加载xml配置(true,false) Djf~8q V!  
"V,dH%&j  
struts.continuations.package @JOsG-VW~  
      The package containing actions that use Rife continuations ) }k"7"  
      含有actions的完整连续的package名称 @[1,i~H  
*48LQzc  
struts.custom.i18n.resources J+`gr_&  
      Location of additional localization properties files to load TC ;Aj|)N  
      加载附加的国际化属性文件(不包含.properties后缀) [7[$P.MS{  
uL^X$8K;(  
struts.custom.properties \\ZhM  
      Location of additional configuration properties files to load r%LG>c`^  
      加载附加的配置文件的位置 [p )2!]y  
y }h2  
YL[y3&K  
struts.devMode 2(GLc*B>  
      Whether Struts is in development mode or not =wa5\p/  
      是否为struts开发模式 e)i-$0L"  
K%SfTA1TCB  
struts.dispatcher.parametersWorkaround u@zT~\ h*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic "T}HH  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) M[e{(iQ:  
GF0Utp:Zf;  
struts.enable.DynamicMethodInvocation rNgAzH  
      Allows one to disable dynamic method invocation from the URL ~\zIb/ #  
        允许动态方法调用 _b &Aa%  
ON"V`_dq+M  
struts.freemarker.manager.classname NNRKYdp,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t2qWB[r  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 :k~ p=ko  
w!Z,3Yc)  
struts.i18n.encoding /|<0,ozoJ  
      The encoding to use for localization messages r?`7i'  
      国际化信息内码 u;8bbv4  
[Vou G{  
struts.i18n.reload x/ P\qI  
      Whether the localization messages should automatically be reloaded D.h<!?E%  
      是否国际化信息自动加载 ]`}EOS-Q  
T8vMBaU!qY  
struts.locale [VOw:|Tt  
      The default locale for the Struts application ;bq EfV0`2  
      默认的国际化地区信息 hiaTJE|J?  
;kVo? W]  
struts.mapper.class pf0uwXo  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &<C&(g{Z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 m h|HEkM  
ry4:i4/[  
struts.multipart.maxSize >*}m .'u  
      The maximize size of a multipart request (file upload) dw7h@9\ y  
      multipart请求信息的最大尺寸(文件上传用) {7=k/Y*U  
`UkPXCC\1  
struts.multipart.parser EtcXzq>w  
      The org.apache.struts2.dispatcher.multipart. v2mqM5Z  
      MultiPartRequest parser implementation for a multipart request (file upload) BFn}~\wzK  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?=?9a  
yF^)H{yx  
opCQ=G1  
struts.multipart.saveDir AOCiIPw  
      The directory to use for storing uploaded files dr4m}v.  
      设置存储上传文件的目录夹 E+eC #!&w  
_?>f9K$1  
struts.objectFactory l3kBt-m  
      The com.opensymphony.xwork2.ObjectFactory implementation class l`{JxVg  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Oin:5K)4-  
r}t%DH  
struts.objectFactory.spring.autoWire uC1v^!D  
      Whether Spring should autoWire or not et}s yPH  
      是否自动绑定Spring w"j[c#vM  
?^: xNRE$j  
struts.objectFactory.spring.useClassCache `ln= D$  
      Whether Spring should use its class cache or not pB,@<\l %  
      是否spring应该使用自身的cache iS28p  
}5ONDg(I~  
struts.objectTypeDeterminer \Eyy^pb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !q*]_1  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =/HTe&  
;p)fW/<  
struts.serve.static.browserCache [kZe6gYP&  
If static content served by the Struts filter should set browser caching header properties or not }-M% $ ~`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 1Q9e S&  
79MB_Is]s  
struts.serve.static 7ZgFCK,8m,  
      Whether the Struts filter should serve static content or not z^9df(  
      是否struts过滤器应该提供静态内容 $qhVow5~  
p"J\+R  
struts.tag.altSyntax .{k^ tf4  
      Whether to use the alterative syntax for the tags or not Xdc>Z\0V  
      是否可以用替代的语法替代tags <' b%  
HoKN<w  
struts.ui.templateDir `LVX|l62  
      The directory containing UI templates FYeUz$/  
      UI templates的目录夹 `)eqTeW  
C$EvcF% 1  
struts.ui.theme %g%#=a;]q  
      The default UI template theme 9=;ETLL "  
      默认的UI template主题 jo=,j/,l  
XAc#ywophi  
struts.url.http.port !8>tT  
      The HTTP port used by Struts URLs F!yejn [  
      设置http端口 ?gOZY\[ma  
.e%B'  
struts.url.https.port U}<;4Px]7v  
      The HTTPS port used by Struts URLs $`/J V?Z  
      设置https端口 :ug j+  
qnR{'d  
struts.url.includeParams eVbaxL!Q^  
      The default includeParams method to generate Struts URLs X2p9KC  
      在url中产生 默认的includeParams rgg3{bU/  
l=< :  
> 9wEx[  
struts.velocity.configfile fdTyY ;  
      The Velocity configuration file path @~<M_63  
      velocity配置文件路径 cLe659&  
kVe_2oQ_>  
struts.velocity.contexts uia-w^F e  
      List of Velocity context names {sL(PS.z  
      velocity的context列表 ?k*s!YCZ  
O WVa&8O  
c~+l|r=u?  
struts.velocity.manager.classname `l95I7  
      org.apache.struts2.views.velocity.VelocityManager implementation class bI~(<-S~K  
      org.apache.struts2.views.velocity.VelocityManager接口名 Y r^C+Oyg  
NbnuQPb'  
struts.velocity.toolboxlocation 9rsty{J8  
      The location of the Velocity toolbox h $}&N  
      velocity工具盒的位置 j*jO809%^  
struts.xslt.nocache X6]eQ PN2  
      Whether or not XSLT templates should not be cached gyW##M@{  
      是否XSLT模版应该被缓存 n/5)}( }K  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五