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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 f& Vx`oj  
fvj  
struts.action.extension b?:?"   
      The URL extension to use to determine if the request is meant for a Struts action Wz;@Rl|F  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 b{;LbHq+G  
$Km~x  
struts.configuration x M{SFF  
      The org.apache.struts2.config.Configuration implementation class w@H@[x  
        org.apache.struts2.config.Configuration接口名 K;]Dh?  
9&{HD  
struts.configuration.files NG: f>R  
      A list of configuration files automatically loaded by Struts f/U~X;  
      struts自动加载的一个配置文件列表 (#+81 Dr  
'rrnTd c  
struts.configuration.xml.reload AI-ZZ6lzR  
      Whether to reload the XML configuration or not fJ+4H4K  
      是否加载xml配置(true,false) kNX8y--  
YMj iJTl  
struts.continuations.package qyjVB/ko  
      The package containing actions that use Rife continuations =]o2{d  
      含有actions的完整连续的package名称 ~Xc1y!"9*  
z&z5EtFUTh  
struts.custom.i18n.resources ,r;E[k@  
      Location of additional localization properties files to load #JR$RH  
      加载附加的国际化属性文件(不包含.properties后缀) `bWc<4T  
@{ L|&Mk!  
struts.custom.properties r|y\FL  
      Location of additional configuration properties files to load n<ecVFft  
      加载附加的配置文件的位置 E5\>mf ,;u  
L;fz7?_j  
B.~[m}  
struts.devMode rdH^"(  
      Whether Struts is in development mode or not 0Z{u;FI  
      是否为struts开发模式 DPfN*a-P(  
,nJCqX~ /G  
struts.dispatcher.parametersWorkaround EjP)e;  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic .2y @@g  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eF?jNO3  
K6,d{n  
struts.enable.DynamicMethodInvocation !8tqYY?>@\  
      Allows one to disable dynamic method invocation from the URL IiV]lxiE]  
        允许动态方法调用 QT4vjz+|  
 ~;uU{TT  
struts.freemarker.manager.classname B^.:dn  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .g_^! t  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 6iY(RYZ7-  
5kCXy$"%  
struts.i18n.encoding j{@li1W@  
      The encoding to use for localization messages ~xcU6@/  
      国际化信息内码 h<7@3Ur  
]'Gz~Z%>F  
struts.i18n.reload K{XE|g  
      Whether the localization messages should automatically be reloaded rr2^sQ;_  
      是否国际化信息自动加载 [@NW  
Fe2t[y:8h  
struts.locale  {IT xHt  
      The default locale for the Struts application f]2;s#cu  
      默认的国际化地区信息 f||S?ns_  
EmyE%$*T  
struts.mapper.class 1w+)ne_&  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =[0| qGzg  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 q-S#[I+g  
tO3#kV\,  
struts.multipart.maxSize /xd|mo)D  
      The maximize size of a multipart request (file upload) cDz^jC   
      multipart请求信息的最大尺寸(文件上传用) C1OiMb(:  
@ ZN@EOM$+  
struts.multipart.parser +ijxv  
      The org.apache.struts2.dispatcher.multipart. \ *A!@T  
      MultiPartRequest parser implementation for a multipart request (file upload) P.djR)YI  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) JO~62='J  
| NyANsI  
<slrzc_>&  
struts.multipart.saveDir '@1C$0tx  
      The directory to use for storing uploaded files sVe<l mL  
      设置存储上传文件的目录夹 34L1Gxf  
.]N`]3$=  
struts.objectFactory "O_)~u  
      The com.opensymphony.xwork2.ObjectFactory implementation class ak{XLzn  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 3~Ll<8fv  
~DS.b-E  
struts.objectFactory.spring.autoWire PmtXD6p3(  
      Whether Spring should autoWire or not K*M1$@5  
      是否自动绑定Spring .u]d5z BR  
(/ -90u  
struts.objectFactory.spring.useClassCache #Fkp6`Q$x  
      Whether Spring should use its class cache or not [J55%N;#1  
      是否spring应该使用自身的cache TV/EC#48  
BC#O.93`  
struts.objectTypeDeterminer (~fv;}}v  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ep{/m-h(!_  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 xRZ/[1f!  
 hRqr  
struts.serve.static.browserCache DeI3(o7  
If static content served by the Struts filter should set browser caching header properties or not u[nLrEnD  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^OK;swDW  
i;\n\p1  
struts.serve.static orAr3`AR3  
      Whether the Struts filter should serve static content or not c7nbHJi  
      是否struts过滤器应该提供静态内容 LtV,djk  
"d2JNFIHb  
struts.tag.altSyntax ,lVQ-qw5  
      Whether to use the alterative syntax for the tags or not FJB B@<>:  
      是否可以用替代的语法替代tags csV3mzP  
% zO>]f&  
struts.ui.templateDir [rz5tfMp  
      The directory containing UI templates YUT I)&y  
      UI templates的目录夹 +K ,T^<F;  
7tne/Yz  
struts.ui.theme szD9z{9"y  
      The default UI template theme #X0Xc2}{f  
      默认的UI template主题 _/YM@%d  
xl9S=^`=  
struts.url.http.port tjQ6[`  
      The HTTP port used by Struts URLs dV /Es  
      设置http端口 .UvDew/Y  
>u]9(o7I  
struts.url.https.port ((M>To_l  
      The HTTPS port used by Struts URLs fh` }~ aQ  
      设置https端口 z G`|)  
V`G^Jyj  
struts.url.includeParams '=J|IN7WT  
      The default includeParams method to generate Struts URLs k7]4TIUD*  
      在url中产生 默认的includeParams 7/iN`3Bz  
#k,.xMJ~  
\y+^r|IL  
struts.velocity.configfile WP'.o  
      The Velocity configuration file path "`h.8=-  
      velocity配置文件路径 [MD"JW?4B  
AqH GBH0  
struts.velocity.contexts w*X(bua@  
      List of Velocity context names <YrsS-9  
      velocity的context列表 Y Azj>c&  
'Z)#SzY  
g'2}Y5m$`  
struts.velocity.manager.classname VO /b&%  
      org.apache.struts2.views.velocity.VelocityManager implementation class GGU wS  
      org.apache.struts2.views.velocity.VelocityManager接口名 +jO#?J  
bGK-?BE5+A  
struts.velocity.toolboxlocation ^ Z3y  
      The location of the Velocity toolbox &PX!'%X68h  
      velocity工具盒的位置 . HAFKB;  
struts.xslt.nocache g"`jWSt7Q  
      Whether or not XSLT templates should not be cached 3N4kW[J2i  
      是否XSLT模版应该被缓存 [WXcp1p  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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