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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _rOKif?5  
t68h$u  
struts.action.extension OPar"z^EV  
      The URL extension to use to determine if the request is meant for a Struts action qm2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 dF"Sz4DY#  
5TqX;=B  
struts.configuration ~nw]q<7r  
      The org.apache.struts2.config.Configuration implementation class mV6\gR[h  
        org.apache.struts2.config.Configuration接口名 El ,p}Bi.  
M(xd:Fa?  
struts.configuration.files ;a2TONW   
      A list of configuration files automatically loaded by Struts 42mdak}\  
      struts自动加载的一个配置文件列表 C*=#=.~~{  
p "u5wJ_  
struts.configuration.xml.reload ?Yxk1Y4ig)  
      Whether to reload the XML configuration or not jT%k{"+>+?  
      是否加载xml配置(true,false) i!9yN: m0  
R["_Mff  
struts.continuations.package ^8-CUH\  
      The package containing actions that use Rife continuations s-[_%  
      含有actions的完整连续的package名称 xDm^f^}>  
ULj'DzlfH  
struts.custom.i18n.resources J"# o #~  
      Location of additional localization properties files to load &jr'vS[b  
      加载附加的国际化属性文件(不包含.properties后缀) y]yp8Bs+  
qhc3 oRe  
struts.custom.properties 5 ^+> *z  
      Location of additional configuration properties files to load &^9 2z:?  
      加载附加的配置文件的位置 (bY#!16C:  
v [\' M  
?"\X46Gz;  
struts.devMode '7 SFa]tH  
      Whether Struts is in development mode or not a!vF;J-Zqa  
      是否为struts开发模式  1)U%p  
F<VoPqHq  
struts.dispatcher.parametersWorkaround \hoYQK j  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;b-Y$<  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ^^1rjh1I  
Q E1DTU  
struts.enable.DynamicMethodInvocation # **vIwX-Q  
      Allows one to disable dynamic method invocation from the URL 2Ck'A0d  
        允许动态方法调用 bd_&=VLTC  
0j@gC0xu)|  
struts.freemarker.manager.classname <KlG#7M>  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class eX;C.[&7;8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 CvS}U%   
Z(k7&^d  
struts.i18n.encoding )OpB\k  
      The encoding to use for localization messages NBU[>P  
      国际化信息内码 \$LrL  
E]/` JI'%  
struts.i18n.reload &==X.2XW  
      Whether the localization messages should automatically be reloaded hE@s~ ~JYd  
      是否国际化信息自动加载 $)8b)Tb  
gTa6%GM>  
struts.locale Y%m^V?k  
      The default locale for the Struts application KF(N=?KO  
      默认的国际化地区信息 FwKT_XkY  
b\& |030+  
struts.mapper.class ?VaWOwWI  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class lky{<jZ%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 K =nW|^  
m WN9/+!  
struts.multipart.maxSize 4EQ-48h17  
      The maximize size of a multipart request (file upload) .sCi9d WR  
      multipart请求信息的最大尺寸(文件上传用) V/"P};n  
ancs  
struts.multipart.parser ]n _OQ)VO  
      The org.apache.struts2.dispatcher.multipart. I@ "%iYL  
      MultiPartRequest parser implementation for a multipart request (file upload) ~?`V$G=?,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) qD0sD2 x  
HE6 kt6  
f}qR'ognUu  
struts.multipart.saveDir Gpv9~&  
      The directory to use for storing uploaded files (CDwl,  
      设置存储上传文件的目录夹 jg%HaA<zO  
9[31EiT  
struts.objectFactory apFY//(yu  
      The com.opensymphony.xwork2.ObjectFactory implementation class Uskz~~}G  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :.u[^_   
tgz  
struts.objectFactory.spring.autoWire <Wqk5mR  
      Whether Spring should autoWire or not bLSXQStB  
      是否自动绑定Spring N{rC#A3  
Ky(=O1Ufu  
struts.objectFactory.spring.useClassCache ixJ%wnz  
      Whether Spring should use its class cache or not ':Avh|q3N  
      是否spring应该使用自身的cache 6'E3Q=}d  
Teo&V  
struts.objectTypeDeterminer (^,4{;YQ5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class u6tD5Y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Ut|G.%1Vd%  
q3Tp /M.  
struts.serve.static.browserCache :70n%3a  
If static content served by the Struts filter should set browser caching header properties or not 57PoJ+  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 gN./u   
dB`3"aSN7  
struts.serve.static }fzv9$]$  
      Whether the Struts filter should serve static content or not (x"TM),Q  
      是否struts过滤器应该提供静态内容 `GGACH3#s  
[3&Y* W  
struts.tag.altSyntax #RIo6 3  
      Whether to use the alterative syntax for the tags or not #*r u*  
      是否可以用替代的语法替代tags 0uZ 'j  
Dj0`#~  
struts.ui.templateDir ^ hoz<Ns  
      The directory containing UI templates e(t,~(  
      UI templates的目录夹 ^dc~hD  
KNH.4A  ,  
struts.ui.theme >'\cNM~nf  
      The default UI template theme 02|f@bP.  
      默认的UI template主题 ctqXzM `  
_DlkTi5(w  
struts.url.http.port 4|PNsHXt  
      The HTTP port used by Struts URLs \*24NB  
      设置http端口 1lAx"VL  
"'M>%m u  
struts.url.https.port @#wBK3Ut^  
      The HTTPS port used by Struts URLs Tno[LP,  
      设置https端口 kaK0'l2%  
G?`x$UU  
struts.url.includeParams Hjho!np  
      The default includeParams method to generate Struts URLs y}TiN!M  
      在url中产生 默认的includeParams {i}z|'!  
R[ 'k&jyi  
JYQ.Y!X1O  
struts.velocity.configfile 7x,c)QES`  
      The Velocity configuration file path 67916  
      velocity配置文件路径 z@\r V@W5  
~KtA0BtC  
struts.velocity.contexts [5KzawV  
      List of Velocity context names HkH!B.H]  
      velocity的context列表 ^Md]e<WAp  
k{fTq KS%h  
qT U(]O1  
struts.velocity.manager.classname O^tH43C  
      org.apache.struts2.views.velocity.VelocityManager implementation class }digw(  
      org.apache.struts2.views.velocity.VelocityManager接口名 .Fdqn?c|+  
Q"2t :  
struts.velocity.toolboxlocation F.nJX ZnJ  
      The location of the Velocity toolbox o\Ocu>:  
      velocity工具盒的位置 WGxe3(d  
struts.xslt.nocache a-P 'h1hbH  
      Whether or not XSLT templates should not be cached "Zu hN(-`  
      是否XSLT模版应该被缓存 {|{}]B  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八