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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 n\ 'PNB  
%W}YtDf\  
struts.action.extension hbdB67,  
      The URL extension to use to determine if the request is meant for a Struts action Mfn^v:Q#  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T)MX]T  
{S@gjMuN  
struts.configuration 6E@TcN~ ,!  
      The org.apache.struts2.config.Configuration implementation class A$g'/QM  
        org.apache.struts2.config.Configuration接口名 j/t)=c  
T mK[^  
struts.configuration.files :F8h}\a*  
      A list of configuration files automatically loaded by Struts \G0YLV~>P  
      struts自动加载的一个配置文件列表 dQn , 0  
=AcK9?%5  
struts.configuration.xml.reload frokl5L@  
      Whether to reload the XML configuration or not 2BKiA[ ;;  
      是否加载xml配置(true,false) kyi"U A82  
0"}=A,o(w  
struts.continuations.package D&o ~4Qvc]  
      The package containing actions that use Rife continuations +H:}1sT;n  
      含有actions的完整连续的package名称 DHg)]FQ/  
(: P#l&f  
struts.custom.i18n.resources A("\m>g$b  
      Location of additional localization properties files to load }<qZXb1  
      加载附加的国际化属性文件(不包含.properties后缀) CwM 1 _3cE  
e:l7 w3?O  
struts.custom.properties <a&w$Zc/  
      Location of additional configuration properties files to load C2CR#b=)i  
      加载附加的配置文件的位置 {[4.<|26  
Up1 n0  
tkYPfUvTE  
struts.devMode cOf.z)kf6  
      Whether Struts is in development mode or not e ?7y$H-  
      是否为struts开发模式 :q c?FQ ;  
pocXQEg$]  
struts.dispatcher.parametersWorkaround z}Lf]w?  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Y[N@ )E_G  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >Hu3Guik]  
B)*1[Jf{4  
struts.enable.DynamicMethodInvocation Quwq_.DU  
      Allows one to disable dynamic method invocation from the URL J`4V\D}n  
        允许动态方法调用 ?bH`  
bE,#,  
struts.freemarker.manager.classname :N !s@6  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class =Fc}T%  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q[Tl#*P?y  
:-_"[:t 5Z  
struts.i18n.encoding -_xTs(;|8  
      The encoding to use for localization messages SP\s{,'F-b  
      国际化信息内码 |No9eZ8>.  
_?]W%R|  
struts.i18n.reload :IX,mDO  
      Whether the localization messages should automatically be reloaded DUSQh+C  
      是否国际化信息自动加载 :%gM Xsb  
DS+BX`i%#p  
struts.locale HVdB*QEH  
      The default locale for the Struts application xS(VgP&YGO  
      默认的国际化地区信息 Uw]o9 e0S  
t7yvd7  
struts.mapper.class LSR0yCU  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class i=R%MH+  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 EERCb%M 8Z  
u+y3( 0  
struts.multipart.maxSize vmv6y*qU  
      The maximize size of a multipart request (file upload) Scug wSB  
      multipart请求信息的最大尺寸(文件上传用) 3&I3ViAH  
r0wAh/J|  
struts.multipart.parser 8`s*+.LI!  
      The org.apache.struts2.dispatcher.multipart. Pv=]7> e  
      MultiPartRequest parser implementation for a multipart request (file upload) f9OY> |a9  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Y[|9 +T  
La28%10  
ly69:TR7I  
struts.multipart.saveDir /U,(u9bq  
      The directory to use for storing uploaded files u aYI3w@^  
      设置存储上传文件的目录夹 1Vkb}A,'  
7|"l/s9,  
struts.objectFactory  Ci 'V  
      The com.opensymphony.xwork2.ObjectFactory implementation class 7xM4=\~OG  
      com.opensymphony.xwork2.ObjectFactory接口(spring) g:.LCF  
-'}#j\  
struts.objectFactory.spring.autoWire \?wKs  
      Whether Spring should autoWire or not g##<d(e!}  
      是否自动绑定Spring  #]QS   
Q8A+\LR~)  
struts.objectFactory.spring.useClassCache }+}Cl T  
      Whether Spring should use its class cache or not d}  5  
      是否spring应该使用自身的cache l*(L"]  
o^/ fr&,9  
struts.objectTypeDeterminer ]yQqx*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class M1]w0~G  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Ve qB/Q X  
A8QUfg@uK~  
struts.serve.static.browserCache [0 rH/{  
If static content served by the Struts filter should set browser caching header properties or not >sdF:(JV&  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 #S] O|$&*  
Q E pCU)  
struts.serve.static {3SK|J`  
      Whether the Struts filter should serve static content or not <Qr*!-Kc6  
      是否struts过滤器应该提供静态内容 elR1NhB|p  
Bp5 %&T k  
struts.tag.altSyntax oB@)!'  
      Whether to use the alterative syntax for the tags or not cuI&Q?+c}  
      是否可以用替代的语法替代tags y<~(}xsHh  
 ^Y!$WP  
struts.ui.templateDir H]*B5Jv~  
      The directory containing UI templates ^$mCF%e8H  
      UI templates的目录夹 JvEW0-B^l,  
3UF^Ff<wo  
struts.ui.theme 3sRI 7g  
      The default UI template theme V lkJ$f5l  
      默认的UI template主题 xXnSo0`L F  
(#x&Y#5  
struts.url.http.port @Z7s3b  
      The HTTP port used by Struts URLs vXZP>  
      设置http端口 (uX"n`Dk  
Uu@qS  
struts.url.https.port Q);}1'c  
      The HTTPS port used by Struts URLs 5z_Kkf?o  
      设置https端口 @+_pj.D  
gK"(;Jih$  
struts.url.includeParams <IBUl}|\  
      The default includeParams method to generate Struts URLs *y(UI/c  
      在url中产生 默认的includeParams <;@E .I\N  
 $C,` ^n'  
\rT>&o .i  
struts.velocity.configfile c,]fw2  
      The Velocity configuration file path yRD tPK"E-  
      velocity配置文件路径 >p#_ L^oZ%  
OlptO60{ ]  
struts.velocity.contexts *=]UWM~]  
      List of Velocity context names [S-#}C?~  
      velocity的context列表  ;\f0II3  
Ic^ (6  
.Wi%V"  
struts.velocity.manager.classname ,,1y0s0`  
      org.apache.struts2.views.velocity.VelocityManager implementation class >L8 & 6aU  
      org.apache.struts2.views.velocity.VelocityManager接口名 IGo5b-ds  
0+)1K U)I  
struts.velocity.toolboxlocation @ *uZ+$  
      The location of the Velocity toolbox -O r\  
      velocity工具盒的位置 !HtW~8|:  
struts.xslt.nocache oA:`=f%\  
      Whether or not XSLT templates should not be cached "HwlN_PA  
      是否XSLT模版应该被缓存  ;5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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