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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 DmU,}]#:  
M.fAFL  
struts.action.extension 'yxN1JF  
      The URL extension to use to determine if the request is meant for a Struts action O+x"c3@Z)D  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $`j%z@[g  
,1/O2aQ%\0  
struts.configuration 9$[6\jMh  
      The org.apache.struts2.config.Configuration implementation class Ipro6 I  
        org.apache.struts2.config.Configuration接口名 \4Uhc3  
|j$r@  
struts.configuration.files cq]JD6937  
      A list of configuration files automatically loaded by Struts ^POHQQ  
      struts自动加载的一个配置文件列表 V%h,JA  
p0*qv"lA  
struts.configuration.xml.reload ' ` _TFTO  
      Whether to reload the XML configuration or not 4> k"$l/:  
      是否加载xml配置(true,false) /T _{k.  
L$L/5/  
struts.continuations.package F!7dGa$  
      The package containing actions that use Rife continuations `eZzYe(N  
      含有actions的完整连续的package名称 Y TpiOPf  
QN47+)cVt"  
struts.custom.i18n.resources Vu.VH([b]Q  
      Location of additional localization properties files to load Gyx4}pV  
      加载附加的国际化属性文件(不包含.properties后缀) 8;6j  
pwvzs`[;  
struts.custom.properties 1WjNFi  
      Location of additional configuration properties files to load @k=UB&?I  
      加载附加的配置文件的位置 0JFS%Yjw[  
&!P' M  
X*cDn.(I  
struts.devMode &Va="HNKt  
      Whether Struts is in development mode or not E{;F4wT_@  
      是否为struts开发模式 v[;R(pt?  
{p\ll  
struts.dispatcher.parametersWorkaround e"oTlB  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /H4Z.|@  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) .RNY}bbk  
E7'  
struts.enable.DynamicMethodInvocation '0-YFx'U0V  
      Allows one to disable dynamic method invocation from the URL Tp46K\}Uf  
        允许动态方法调用 8Q%g<jX*  
CvhVV"n  
struts.freemarker.manager.classname >$$z6A[  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u9nJ;:  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ai%*s&0/Y  
.;rE4B  
struts.i18n.encoding P~ : N  
      The encoding to use for localization messages d1P|v( `S9  
      国际化信息内码 Qb%o%z?hee  
"I3 #/~q  
struts.i18n.reload 8 Y4mTW  
      Whether the localization messages should automatically be reloaded vA3wn><  
      是否国际化信息自动加载 dx@|M{jz'  
f=k_U[b4>  
struts.locale [Dhqyjq  
      The default locale for the Struts application <%o9*)F  
      默认的国际化地区信息 dGyrzuPJ  
K| dI'TnW  
struts.mapper.class 44NM of8N  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]d67 HOyK  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 1rx, qfCq  
2&"qNpPtE  
struts.multipart.maxSize xi51,y+(5  
      The maximize size of a multipart request (file upload) y'aK92pF:  
      multipart请求信息的最大尺寸(文件上传用) },n?  
q9 :g  
struts.multipart.parser +GJPj(S  
      The org.apache.struts2.dispatcher.multipart. =oBlUE  
      MultiPartRequest parser implementation for a multipart request (file upload) rD+mI/_J`  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) V7b;qC'  
]_BH"ng}  
Q,K$)bM  
struts.multipart.saveDir _9g-D9  
      The directory to use for storing uploaded files O8 OAXRt/Y  
      设置存储上传文件的目录夹 e2e!"kEF  
oXjoQ  
struts.objectFactory 9X?RJ."J  
      The com.opensymphony.xwork2.ObjectFactory implementation class +4$][3.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :8K}e]!c1  
?K+q~DzNSD  
struts.objectFactory.spring.autoWire Fc#Sn2p*  
      Whether Spring should autoWire or not A XhP3B]  
      是否自动绑定Spring {d XTj7  
N4#D&5I",  
struts.objectFactory.spring.useClassCache Ngj&1Ta&[  
      Whether Spring should use its class cache or not dz?On\66  
      是否spring应该使用自身的cache M8V c5  
h!@7'Q  
struts.objectTypeDeterminer Jd^Lnp6?  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class T|8:_4/l  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @@j:z;^|  
iC3C~?,7  
struts.serve.static.browserCache |Fz ^(US  
If static content served by the Struts filter should set browser caching header properties or not o$eo\X?J?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 QChncIqc  
Q 0G5<:wc  
struts.serve.static +OqEe[Wk#  
      Whether the Struts filter should serve static content or not ]#Cc7wa  
      是否struts过滤器应该提供静态内容 9: .m]QN  
35Fxzj $  
struts.tag.altSyntax 42~.N =2  
      Whether to use the alterative syntax for the tags or not )X;051Q  
      是否可以用替代的语法替代tags j+fib} 8}  
J5(0J7C  
struts.ui.templateDir G^N@ r:RS  
      The directory containing UI templates 4Q/{lqG  
      UI templates的目录夹 |h }4J  
\-pqqSy  
struts.ui.theme IU<lF)PF$  
      The default UI template theme (i L*1f   
      默认的UI template主题 8v z h5,U  
x3g4r_  
struts.url.http.port J/fnSy  
      The HTTP port used by Struts URLs @I}VD\pF  
      设置http端口 !zvjgDlZv  
PtYG%/s  
struts.url.https.port .uVd'  
      The HTTPS port used by Struts URLs 6I: 6+n  
      设置https端口 ,jEc4ih4  
O/|))H?C  
struts.url.includeParams U(0FL6sPC  
      The default includeParams method to generate Struts URLs d#TA20`  
      在url中产生 默认的includeParams Q-<Qm?  
Ml$<x"Q  
7nNNc[d*=  
struts.velocity.configfile j g//I<D  
      The Velocity configuration file path e pp04~  
      velocity配置文件路径 lP*n%Pn)  
m";..V  
struts.velocity.contexts 9Vqy<7i1  
      List of Velocity context names N2k<W?wQ  
      velocity的context列表 .dMdb7  
6_<~]W&  
;@T0wd_i|  
struts.velocity.manager.classname DI8<0.L  
      org.apache.struts2.views.velocity.VelocityManager implementation class `3 i<jZMG  
      org.apache.struts2.views.velocity.VelocityManager接口名 PxgJ7d  
a _+?#m  
struts.velocity.toolboxlocation `vMhrn  
      The location of the Velocity toolbox y+T[="W  
      velocity工具盒的位置 ~uH_y-  
struts.xslt.nocache 04jvrde8-O  
      Whether or not XSLT templates should not be cached 70GBf"  
      是否XSLT模版应该被缓存 'AX5V-t  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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