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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 y=pW+$k  
B#hvw'}  
struts.action.extension ?f9M59(l  
      The URL extension to use to determine if the request is meant for a Struts action Ge({sy>X  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &0f/F:M  
phG *It}  
struts.configuration F3vywN1$,  
      The org.apache.struts2.config.Configuration implementation class vCej( ))  
        org.apache.struts2.config.Configuration接口名 59$PWfi-\  
?7pn%_S  
struts.configuration.files > dVhIbG  
      A list of configuration files automatically loaded by Struts tq,^!RSbZ  
      struts自动加载的一个配置文件列表 w:nH_x#C4  
)?OdD7gd  
struts.configuration.xml.reload cQxUEY('+  
      Whether to reload the XML configuration or not :~R a}  
      是否加载xml配置(true,false) Y,L[0%  
X]9<1[f  
struts.continuations.package lH?jqp  
      The package containing actions that use Rife continuations qi~-<qW  
      含有actions的完整连续的package名称 [(g2u@  
2.</n}g  
struts.custom.i18n.resources 0827z  
      Location of additional localization properties files to load h3.CvPYy1  
      加载附加的国际化属性文件(不包含.properties后缀) g||EjCsp  
:FU?vh$)  
struts.custom.properties @i> r(X  
      Location of additional configuration properties files to load Z3MhHvvgp{  
      加载附加的配置文件的位置 LN (\B:wAY  
W4av?H  
FZ%h7Oe  
struts.devMode gnzg(Y]5w  
      Whether Struts is in development mode or not WJ-.?   
      是否为struts开发模式 AvZ5?rN$  
Zgp9Uu}"  
struts.dispatcher.parametersWorkaround &?Erkc~#  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic UW}@oP$r  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 7xB]Z;:  
|J`v w  
struts.enable.DynamicMethodInvocation R}w}G6"\  
      Allows one to disable dynamic method invocation from the URL z &P1C,n)  
        允许动态方法调用 5m'AT]5Tn_  
d3\?:}o,  
struts.freemarker.manager.classname 4D n&+=fq  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class t zd#9 #  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Z5oDj|&l}  
_#v"sGmN  
struts.i18n.encoding )TVd4s(e  
      The encoding to use for localization messages "y*3p0E  
      国际化信息内码 !oXFDC3k  
>`&2]Wc)  
struts.i18n.reload AfhJ6cSIE  
      Whether the localization messages should automatically be reloaded PfU\.[l$  
      是否国际化信息自动加载 #>KiX84  
t}I@Rmso  
struts.locale >WZbb d-  
      The default locale for the Struts application w^zqYGxG)  
      默认的国际化地区信息 zJ(DO>,p&  
" wT?$E  
struts.mapper.class xv2c8g~vD  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^/}4M'[w  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 cy(w*5Upu  
{T^D&i# o  
struts.multipart.maxSize bJ 6ivz  
      The maximize size of a multipart request (file upload) 6&'kN 2  
      multipart请求信息的最大尺寸(文件上传用) P-[})Z=  
!pRu?5  
struts.multipart.parser ?[bE/Ya+S  
      The org.apache.struts2.dispatcher.multipart. 2V% z=  
      MultiPartRequest parser implementation for a multipart request (file upload) &d6ud |  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) c\>I0HH;!  
Z2g<"M  
{Mb<on W  
struts.multipart.saveDir ng|^Zm%   
      The directory to use for storing uploaded files @8`I!fZ  
      设置存储上传文件的目录夹 3B%7SX  
o ~y{9Q  
struts.objectFactory W;R6+@I[  
      The com.opensymphony.xwork2.ObjectFactory implementation class XNx$^I=  
      com.opensymphony.xwork2.ObjectFactory接口(spring) EUI*:JU-  
:+>7m  
struts.objectFactory.spring.autoWire '?m2|9~  
      Whether Spring should autoWire or not ipMSMk7gx  
      是否自动绑定Spring - |DWPU!"  
5tkKd4VfL  
struts.objectFactory.spring.useClassCache h]~FYY  
      Whether Spring should use its class cache or not aqqo>O3 s  
      是否spring应该使用自身的cache %X\A|V&  
Hicd -'  
struts.objectTypeDeterminer F-o?tU  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k kD#Bb  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 C[%&;\3S@  
Sn'!Nq>  
struts.serve.static.browserCache 6y Muj<L  
If static content served by the Struts filter should set browser caching header properties or not '3^qW  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 RAhDSDf  
WzR)R9x]  
struts.serve.static ^J-Xy\ X  
      Whether the Struts filter should serve static content or not |[5;dt_U/  
      是否struts过滤器应该提供静态内容 2 KHT!ik  
oI`Mn3N  
struts.tag.altSyntax 1;kMbl]  
      Whether to use the alterative syntax for the tags or not 8;"%x|iBoL  
      是否可以用替代的语法替代tags 9?hF<}1XH}  
tvVf)bbz  
struts.ui.templateDir H!}L(gjEG  
      The directory containing UI templates z}-R^"40  
      UI templates的目录夹 D}}?{pe  
>*O5Ry:4  
struts.ui.theme d)biMI}<5  
      The default UI template theme rq7yNt  
      默认的UI template主题 3k>#z%//  
!wd wo0  
struts.url.http.port wDoCc:  
      The HTTP port used by Struts URLs  (t5y$b c  
      设置http端口 }yrs6pQ  
&I)tI^P}  
struts.url.https.port 8r[TM  
      The HTTPS port used by Struts URLs ?P|z,n{  
      设置https端口 !<j4*av:G  
+?3RC$jyw  
struts.url.includeParams [#\OCdb*3  
      The default includeParams method to generate Struts URLs E$:2AK{*  
      在url中产生 默认的includeParams "WGKwi=W  
la)+"uW  
dn])6Xl;i  
struts.velocity.configfile mMZrBz7r  
      The Velocity configuration file path 5M'cOJ  
      velocity配置文件路径 *]<=04v]R  
sVP\EF8PY  
struts.velocity.contexts gzVZPvTPE  
      List of Velocity context names (O09HY:  
      velocity的context列表 kzUj)  
Oz_CEMcy  
nIBeZof  
struts.velocity.manager.classname qA!4\v={  
      org.apache.struts2.views.velocity.VelocityManager implementation class u&o4? ]6  
      org.apache.struts2.views.velocity.VelocityManager接口名 G.XxlI}  
X1o R  
struts.velocity.toolboxlocation s8]%L4lvu  
      The location of the Velocity toolbox H@zv-{}T8  
      velocity工具盒的位置 jZidT9[g  
struts.xslt.nocache U)-aecB!  
      Whether or not XSLT templates should not be cached avG#0AY  
      是否XSLT模版应该被缓存 \,p?pL<'  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八