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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Eo@rrM:  
!8tqYY?>@\  
struts.action.extension -c#vWuLl  
      The URL extension to use to determine if the request is meant for a Struts action n>,? V3ly  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k=X)ax t1  
F <{k~   
struts.configuration QV -ZP'e^  
      The org.apache.struts2.config.Configuration implementation class <3x:nH @  
        org.apache.struts2.config.Configuration接口名 $|VdGRZ1  
Z>*a:|  
struts.configuration.files rr2^sQ;_  
      A list of configuration files automatically loaded by Struts Ct$\!|aR  
      struts自动加载的一个配置文件列表 =FQH5iSd  
/< Dtu UM  
struts.configuration.xml.reload 1w+)ne_&  
      Whether to reload the XML configuration or not 7gREcL2  
      是否加载xml配置(true,false) tO3#kV\,  
$<L@B|}F)  
struts.continuations.package Ob]J!.  
      The package containing actions that use Rife continuations ycf)*0k  
      含有actions的完整连续的package名称 i0~Af`v  
9ZDbZc  
struts.custom.i18n.resources 9&s>RJ  
      Location of additional localization properties files to load g|j15&x  
      加载附加的国际化属性文件(不包含.properties后缀) +y\o^w4sT  
-}RGz_LO/  
struts.custom.properties j%gle%_  
      Location of additional configuration properties files to load xEufbFAN?  
      加载附加的配置文件的位置 g O/\Yi  
[@@EE> y  
ADA}_|O  
struts.devMode BY@l:y4  
      Whether Struts is in development mode or not v=DC3oh-  
      是否为struts开发模式 zX6Q7Bc  
)!FheoR  
struts.dispatcher.parametersWorkaround &,* ILz  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <KX+j,4  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) wGWv<<Qw"  
i"mQ  
struts.enable.DynamicMethodInvocation spWo{  
      Allows one to disable dynamic method invocation from the URL ^OK;swDW  
        允许动态方法调用 HrUE?Sq  
c7nbHJi  
struts.freemarker.manager.classname EtQ:x$S_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class u,]qrlx{  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 @Thrizh  
lBudC  
struts.i18n.encoding  u5Mg  
      The encoding to use for localization messages Y/ %XkDC~  
      国际化信息内码 )!;20Po  
-op)X>  
struts.i18n.reload !t?5U_on  
      Whether the localization messages should automatically be reloaded 8[#EC3  
      是否国际化信息自动加载 .UvDew/Y  
N$u: !  
struts.locale V5gr-^E  
      The default locale for the Struts application @?gRWH;Pq  
      默认的国际化地区信息 @h(Z;  
x:c'ek  
struts.mapper.class 7Dw. 9EQ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |W}D_2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 "`h.8=-  
+}eK8>2  
struts.multipart.maxSize w*X(bua@  
      The maximize size of a multipart request (file upload) m ;wj|@cF  
      multipart请求信息的最大尺寸(文件上传用) ^2i$AM1t  
M|R\[ Zf  
struts.multipart.parser ;D@F  
      The org.apache.struts2.dispatcher.multipart. L1&` 3a?pL  
      MultiPartRequest parser implementation for a multipart request (file upload) V(Cxd.u   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P G zwS  
yoz-BS  
[WXcp1p  
struts.multipart.saveDir S'`RP2P  
      The directory to use for storing uploaded files !e+Sa{X  
      设置存储上传文件的目录夹 !E,|EdIr  
# wyjb:Ql  
struts.objectFactory SZ:R~4 A  
      The com.opensymphony.xwork2.ObjectFactory implementation class <[=[|DS l  
      com.opensymphony.xwork2.ObjectFactory接口(spring) n^nQrRIp  
R _2#7Xs  
struts.objectFactory.spring.autoWire JURg=r]LI  
      Whether Spring should autoWire or not .=) *Qx+  
      是否自动绑定Spring C~PP}|<~V  
Q8_5g$X\  
struts.objectFactory.spring.useClassCache %}unlSTPP  
      Whether Spring should use its class cache or not F4:5 >*:  
      是否spring应该使用自身的cache h;mOfF  
;Mr Q1  
struts.objectTypeDeterminer @6-3D/=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class M7#CMLy  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 s !I I}'Je  
bPMf='F{r  
struts.serve.static.browserCache Z=l2Po n  
If static content served by the Struts filter should set browser caching header properties or not '1d0 *5+6k  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 X>Z83qV5d!  
fT<3~Z>m  
struts.serve.static YVk +zt~S  
      Whether the Struts filter should serve static content or not ~/Y8wxg  
      是否struts过滤器应该提供静态内容 4$4Tx9C  
)i:"cyoE  
struts.tag.altSyntax B5_QH8kt7  
      Whether to use the alterative syntax for the tags or not g^U-^ f  
      是否可以用替代的语法替代tags 24f N3  
j`_Z`eG  
struts.ui.templateDir J3'0^JP*  
      The directory containing UI templates ncpA\E;ff^  
      UI templates的目录夹 -:wV3D  
#nKGU"$+  
struts.ui.theme aw7pr464  
      The default UI template theme i,L"%q)C  
      默认的UI template主题 "AIS6%,  
[TT:^F(Y  
struts.url.http.port RG/P]  
      The HTTP port used by Struts URLs MW0CqMi]T  
      设置http端口 V3axwg_  
=wa5\p/  
struts.url.https.port YT@N$kOg_  
      The HTTPS port used by Struts URLs p4K 8L'nZ  
      设置https端口 _HAr0R8BY  
o Y<vKs^  
struts.url.includeParams ^SS9BQ*m  
      The default includeParams method to generate Struts URLs /#}%c'  
      在url中产生 默认的includeParams "eI">`!g  
])WIw'L!  
9y)}-TcSpY  
struts.velocity.configfile w_Z*X5u  
      The Velocity configuration file path ">nFzg?Y  
      velocity配置文件路径 b+BX >$  
D.h<!?E%  
struts.velocity.contexts ],wzZhA  
      List of Velocity context names ^ .Q/iXgh  
      velocity的context列表 O)r>AdLGn  
|mz0 ]  
P?y{ 9H*  
struts.velocity.manager.classname fJY b)sN  
      org.apache.struts2.views.velocity.VelocityManager implementation class ~s[Yu!(  
      org.apache.struts2.views.velocity.VelocityManager接口名 ` $[`C/h  
IZ]L.0,  
struts.velocity.toolboxlocation XP65  
      The location of the Velocity toolbox ?=?9a  
      velocity工具盒的位置 `]<~lf  
struts.xslt.nocache ,E4qxZC(X  
      Whether or not XSLT templates should not be cached 3[To"You  
      是否XSLT模版应该被缓存 l3kBt-m  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五