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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 NJs )2  
L\nWhmwl  
struts.action.extension bY+Hf\A  
      The URL extension to use to determine if the request is meant for a Struts action + ?*,J=/  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 h:" <x$F  
-} 9ZZ#K  
struts.configuration "J, ErnM  
      The org.apache.struts2.config.Configuration implementation class $oq&uL  
        org.apache.struts2.config.Configuration接口名 #p*{p)]HiA  
z^{VqC*o+  
struts.configuration.files H1 n`A#6?  
      A list of configuration files automatically loaded by Struts MCe =RR  
      struts自动加载的一个配置文件列表 KSqWq:W+  
pHni"i T  
struts.configuration.xml.reload uV52ko,  
      Whether to reload the XML configuration or not PS`v3|d}}}  
      是否加载xml配置(true,false) (Pin9^`ALc  
"%<Oadz ap  
struts.continuations.package 6~&4>2b0f  
      The package containing actions that use Rife continuations `WC~cb\  
      含有actions的完整连续的package名称 6 jRF[N8  
;-n+=@]7  
struts.custom.i18n.resources /=lrdp!a  
      Location of additional localization properties files to load 3Q~ng2Wv%  
      加载附加的国际化属性文件(不包含.properties后缀) puL1A?Y8UM  
|0B h  
struts.custom.properties 9FX'Uws  
      Location of additional configuration properties files to load 4ZQX YwfC|  
      加载附加的配置文件的位置 /tJJ2 =%l  
_Wk!d3bsx  
#`<|W5  
struts.devMode QlSZr[^v  
      Whether Struts is in development mode or not OY51~#BF  
      是否为struts开发模式 'd|_i6:y&  
KFLIO>hE  
struts.dispatcher.parametersWorkaround F,P,dc  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic L 2Os\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Ue^upx  
or]8;eQ?  
struts.enable.DynamicMethodInvocation ?%iAkV  
      Allows one to disable dynamic method invocation from the URL kJlRdt2  
        允许动态方法调用 U"aFi  
?X]7jH<iw;  
struts.freemarker.manager.classname EbY%:jR  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ts{Tk5+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 tl CgW)<?  
Sl   
struts.i18n.encoding Pp@P]  
      The encoding to use for localization messages \H*"UgS  
      国际化信息内码 y%cg  
z./u;/:  
struts.i18n.reload #Ji&.T^U/  
      Whether the localization messages should automatically be reloaded F[l{pc "C  
      是否国际化信息自动加载 SH<Nt[8C  
F9]GEBLr  
struts.locale BQ)zm  
      The default locale for the Struts application -wW%+wH  
      默认的国际化地区信息 U5Q `r7  
7$\;G82_  
struts.mapper.class yw{GO([ZQ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class hJkIFyQ{j  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 I yL2{5  
^ bexXYh  
struts.multipart.maxSize W.HM!HQp  
      The maximize size of a multipart request (file upload) <Ktx*(D  
      multipart请求信息的最大尺寸(文件上传用) R3jhq3F\Y  
=Mc*~[D/  
struts.multipart.parser MJt?^G (w?  
      The org.apache.struts2.dispatcher.multipart. ^^{K[sLB  
      MultiPartRequest parser implementation for a multipart request (file upload) ?Sh]m/WZd[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =xw) [  
,~hvFTJI  
&+xNR2";  
struts.multipart.saveDir "/(J*)%{  
      The directory to use for storing uploaded files |/Ggsfmby  
      设置存储上传文件的目录夹 <omSK- T-  
qYl%v  
struts.objectFactory 1Vp['&  
      The com.opensymphony.xwork2.ObjectFactory implementation class bvUjH5.7  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GghZ".O  
W+cmn)8  
struts.objectFactory.spring.autoWire h&{9 &D1t  
      Whether Spring should autoWire or not Elo m_   
      是否自动绑定Spring ~Z=Q+'Hu0  
^}a..@|%W  
struts.objectFactory.spring.useClassCache ^I5k+cL  
      Whether Spring should use its class cache or not gH,^XZe  
      是否spring应该使用自身的cache P@`@?kMU  
\uc]+nV!o  
struts.objectTypeDeterminer ,?3r-bM  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class lSPQXu*[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mcP]k8?C  
-S"YEH9  
struts.serve.static.browserCache ,_!pUal  
If static content served by the Struts filter should set browser caching header properties or not ;*BG{rkr  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 T[`o$j6  
fk<0~ tE  
struts.serve.static 9G[!"eZ}  
      Whether the Struts filter should serve static content or not U6t>UE6k  
      是否struts过滤器应该提供静态内容 eBFsKOtu  
%|*tL7  
struts.tag.altSyntax sy.FMy+  
      Whether to use the alterative syntax for the tags or not _rdEur C6  
      是否可以用替代的语法替代tags [6`8^-}?  
^a0{"|Lq  
struts.ui.templateDir CCNrjaA  
      The directory containing UI templates E].hoq7WiB  
      UI templates的目录夹 Bk_23ygO_  
%?Yf!)owh  
struts.ui.theme w<!F& kQB  
      The default UI template theme 6U Q~Fv`]  
      默认的UI template主题 4QARrG%  
M2W4 RovfR  
struts.url.http.port z\]]d?d?;  
      The HTTP port used by Struts URLs _ho9}7 >  
      设置http端口 :XC~G&HuF6  
9. 6"C<eYt  
struts.url.https.port p[2`H$A  
      The HTTPS port used by Struts URLs F0qpJM,  
      设置https端口 g`i?]6c}jt  
;.Zgt8/.  
struts.url.includeParams "oz : & #+  
      The default includeParams method to generate Struts URLs  l+HmG< P  
      在url中产生 默认的includeParams +DmfqKKbd  
w &1_k:Z&  
!nQ_<  
struts.velocity.configfile _ I"}3*  
      The Velocity configuration file path v*iD)k:|t  
      velocity配置文件路径 K| %.mc s4  
_C2iP[YwQ{  
struts.velocity.contexts 2w_[c.  
      List of Velocity context names HL]8E}e\"  
      velocity的context列表 t6DgWKT6  
K~$A2b95  
-+?ZJ^A   
struts.velocity.manager.classname wX Z"}uT<}  
      org.apache.struts2.views.velocity.VelocityManager implementation class $REz {xgA=  
      org.apache.struts2.views.velocity.VelocityManager接口名 R&KFF'%  
&OQ37(<_  
struts.velocity.toolboxlocation <|8N\FU{  
      The location of the Velocity toolbox 1Bp?HyCR  
      velocity工具盒的位置 td JA?  
struts.xslt.nocache *eL&fC  
      Whether or not XSLT templates should not be cached @rI+.X  
      是否XSLT模版应该被缓存 NXo$rf:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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