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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 h@h!,;  
RGU\h[  
struts.action.extension r4f~z$QK  
      The URL extension to use to determine if the request is meant for a Struts action 4H-'Dr=G  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Tqk\XILG N  
iyp=lLk  
struts.configuration yA>nli=  
      The org.apache.struts2.config.Configuration implementation class z~Q>V]a>;  
        org.apache.struts2.config.Configuration接口名 4{l,  
LrK,_)r:~  
struts.configuration.files T5:G$-qL(  
      A list of configuration files automatically loaded by Struts l\?c}7k  
      struts自动加载的一个配置文件列表 B+0hzkPY  
hG:|9Sol,  
struts.configuration.xml.reload j w9b )  
      Whether to reload the XML configuration or not \j)E 5b+  
      是否加载xml配置(true,false) I9Fr5p-%O  
$j?1g#  
struts.continuations.package ~!3r&(  
      The package containing actions that use Rife continuations PzR[KUK  
      含有actions的完整连续的package名称 9$m|'$p3sG  
C/&-l{7  
struts.custom.i18n.resources ,=mS,r7  
      Location of additional localization properties files to load 'Qo*y%{@5  
      加载附加的国际化属性文件(不包含.properties后缀) -S+zmo8  
LraWcO\or'  
struts.custom.properties ))i}7 chc  
      Location of additional configuration properties files to load G/mXq-  
      加载附加的配置文件的位置 `V3Fx{  
*~H Sy8s  
Y)a^(!<H<  
struts.devMode evJ.<{M  
      Whether Struts is in development mode or not pXK^Y'2C!  
      是否为struts开发模式 &yol_%C  
 0{ [,E.  
struts.dispatcher.parametersWorkaround C{b gkzr  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic BV+ Bk+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S/I/-Bp~  
(2 a`XwR  
struts.enable.DynamicMethodInvocation :Xd<74Nu  
      Allows one to disable dynamic method invocation from the URL .y,0[i V N  
        允许动态方法调用 ,i@:5X/t  
Z87|Zl  
struts.freemarker.manager.classname d5z`BH.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class dw7$Vh0y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~F?u)~QZ #  
hDq`Z$_+KX  
struts.i18n.encoding 0nD/;\OU  
      The encoding to use for localization messages tlt*fH$ .  
      国际化信息内码 13=.H5  
^w06<m  
struts.i18n.reload uL/m u<  
      Whether the localization messages should automatically be reloaded Ji 0 tQV  
      是否国际化信息自动加载 FjI`uP  
1~QPG\cdIX  
struts.locale U!Z,xx[]  
      The default locale for the Struts application A$xF$l  
      默认的国际化地区信息 (/*]?Ehd  
%-e 82J1  
struts.mapper.class ~**.|%Kc  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '-/xyAzS  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -8rjgB~."/  
xpx\=iAe  
struts.multipart.maxSize A6iq[b]  
      The maximize size of a multipart request (file upload) a+T.^koY  
      multipart请求信息的最大尺寸(文件上传用) K>l~SDcZ3  
qXjxNrK  
struts.multipart.parser Nm>A'bLM  
      The org.apache.struts2.dispatcher.multipart. W1FI mlXS  
      MultiPartRequest parser implementation for a multipart request (file upload) 4vV:EF-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +|>kCtZH%  
,T8~L#M~  
nmi|\mof  
struts.multipart.saveDir e,XYVWY%  
      The directory to use for storing uploaded files w~?~g<q  
      设置存储上传文件的目录夹 \A6B,|@  
:'&brp3ii=  
struts.objectFactory Zdo'{ $  
      The com.opensymphony.xwork2.ObjectFactory implementation class HuKc9U'7A  
      com.opensymphony.xwork2.ObjectFactory接口(spring) yD6[\'%  
gy9U2Wgf|  
struts.objectFactory.spring.autoWire _1L![-ac  
      Whether Spring should autoWire or not }:*]aL<7_  
      是否自动绑定Spring x*&|0n.D  
#3 pb(fbw  
struts.objectFactory.spring.useClassCache B|AV$N*  
      Whether Spring should use its class cache or not RT J3qhY  
      是否spring应该使用自身的cache fCobzDy  
g]yBA7/S"  
struts.objectTypeDeterminer yU}qOgXx  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 8d-t|HkN  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1"M]3Kl  
:e%Pvk  
struts.serve.static.browserCache 1!T1Y,w  
If static content served by the Struts filter should set browser caching header properties or not =-lb)Z"d  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 u21EP[[,  
"djw>|,N<  
struts.serve.static tlp@?(u  
      Whether the Struts filter should serve static content or not 3az&<Pqb  
      是否struts过滤器应该提供静态内容 b e^6i:  
9lH?-~9  
struts.tag.altSyntax a1y-3 z  
      Whether to use the alterative syntax for the tags or not } c }_<#I  
      是否可以用替代的语法替代tags w+E,INd i  
pKrN:ExB"\  
struts.ui.templateDir Yv!a88+A8M  
      The directory containing UI templates E6gI,f/p0X  
      UI templates的目录夹 ]Y8<`;8/  
W+X6@/BO  
struts.ui.theme #@~+HC=  
      The default UI template theme B[-v[K2  
      默认的UI template主题 *zL}&RUKM  
<=0 u2~E  
struts.url.http.port /& +tf*  
      The HTTP port used by Struts URLs ^ tg<K  
      设置http端口 wInh~p  
%vhnl'  
struts.url.https.port Z//+Gw<'  
      The HTTPS port used by Struts URLs sAD}#Zw$  
      设置https端口 |CZ@te)>  
r_6ZO&  
struts.url.includeParams QR0Q{}wbqU  
      The default includeParams method to generate Struts URLs 0C6-GKbZ  
      在url中产生 默认的includeParams Hi1JLW,  
bPt!yI:  
l +OFw)8od  
struts.velocity.configfile u=7J /!H7^  
      The Velocity configuration file path 7.#F,Ue_0T  
      velocity配置文件路径 R1GEh&U{  
\\dM y9M-  
struts.velocity.contexts | Aw%zw1@  
      List of Velocity context names  Qq;Foa  
      velocity的context列表 CZI66pDy  
|NC*7/}  
:G2k5xD/E  
struts.velocity.manager.classname 'd$P`Vw:  
      org.apache.struts2.views.velocity.VelocityManager implementation class Rt!FPoN,y  
      org.apache.struts2.views.velocity.VelocityManager接口名 m6CI{Sa](l  
@A89eZbW  
struts.velocity.toolboxlocation <\ :Yk  
      The location of the Velocity toolbox gPsi  
      velocity工具盒的位置 (l- ab2'  
struts.xslt.nocache UsQ+`\|  
      Whether or not XSLT templates should not be cached ;J2zp*|  
      是否XSLT模版应该被缓存 5}]"OXQ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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