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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 <LW|m7  
x 0  
struts.action.extension (Df<QC`0v  
      The URL extension to use to determine if the request is meant for a Struts action  ZW2#'$b  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 K74oRKv  
.;tO;j |6  
struts.configuration uz4mHyS6  
      The org.apache.struts2.config.Configuration implementation class 4C /8hsn  
        org.apache.struts2.config.Configuration接口名 nRQIrUNq  
xgR*j  
struts.configuration.files }bznx[4?I  
      A list of configuration files automatically loaded by Struts L>UYR++<6  
      struts自动加载的一个配置文件列表 ) WIlj  
FbM5Bqv  
struts.configuration.xml.reload V8&/O)}o  
      Whether to reload the XML configuration or not MatC2-aV1  
      是否加载xml配置(true,false) bT-G<h*M  
Wsz='@XvB  
struts.continuations.package <J-OwO a-1  
      The package containing actions that use Rife continuations 8"LaP3U  
      含有actions的完整连续的package名称 _3p:q.  
l``1^&K  
struts.custom.i18n.resources }WGi9\9T&  
      Location of additional localization properties files to load UKK}$B  
      加载附加的国际化属性文件(不包含.properties后缀) M{kPEl&Z  
(P#2Am$  
struts.custom.properties o33{tUp'  
      Location of additional configuration properties files to load ,:\2Lf  
      加载附加的配置文件的位置 A?}OOjA  
X}z KV  
wI}'wALhA  
struts.devMode l*Y~h3  
      Whether Struts is in development mode or not 0HD1Ob^@  
      是否为struts开发模式 W,{`)NWg  
_R(5?rG,  
struts.dispatcher.parametersWorkaround p>eD{#2  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic xYu~}kMu  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @?]-5~3;  
!v;r3*#Nky  
struts.enable.DynamicMethodInvocation UuT[UB=x5  
      Allows one to disable dynamic method invocation from the URL )N=b<%WD   
        允许动态方法调用 lIjHd#q-C  
Aq'%a)Y2  
struts.freemarker.manager.classname h/TPd]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Bh' vr3|  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 eBAB7r/7  
JNp`@`0V  
struts.i18n.encoding 1yB;"q&Xd  
      The encoding to use for localization messages V2FE|+R%g  
      国际化信息内码 M<$l&%<`G  
` `;$Kr  
struts.i18n.reload MZjiJZaO:L  
      Whether the localization messages should automatically be reloaded Mqh~5NM  
      是否国际化信息自动加载 Mz++SPG7  
^Js9E  
struts.locale c?R.SBr,'  
      The default locale for the Struts application _TPo=}Z  
      默认的国际化地区信息 jATU b-  
UdI>x 4bI  
struts.mapper.class DpS6>$v8t  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o mjLQp[%  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ONjc},_  
O[L8(+Sn  
struts.multipart.maxSize '6 'XBL?  
      The maximize size of a multipart request (file upload) >Au<y,Tw  
      multipart请求信息的最大尺寸(文件上传用) >A,WXzAK}S  
3N*Shzusbt  
struts.multipart.parser 2mlE;.}8  
      The org.apache.struts2.dispatcher.multipart. $GO'L2oLwn  
      MultiPartRequest parser implementation for a multipart request (file upload) 0KQ8; &a|  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) rbtV,Y  
4P~<_]yf  
 <aHt6s'  
struts.multipart.saveDir \34|9#*z-  
      The directory to use for storing uploaded files %|,<\~P  
      设置存储上传文件的目录夹 RrZjC  
QNJG}Upl  
struts.objectFactory #wjBMR%  
      The com.opensymphony.xwork2.ObjectFactory implementation class .FXQ,7mZ-  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 654%X(:q  
;Z`)*TRp4  
struts.objectFactory.spring.autoWire |Gf{}  
      Whether Spring should autoWire or not {f&ga  
      是否自动绑定Spring _uu:)%  
:> q?s  
struts.objectFactory.spring.useClassCache Y>#c2@^i<  
      Whether Spring should use its class cache or not (KQt%]  
      是否spring应该使用自身的cache OXacI~C  
*(scSC>  
struts.objectTypeDeterminer r#Fu<so,  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qJ/C*Wqic  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 8Cqs@<r4Od  
"|G,P-5G"  
struts.serve.static.browserCache *"CvB{XF&Z  
If static content served by the Struts filter should set browser caching header properties or not lhI;K4#  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 IcoL/7k3  
f!J^vDl  
struts.serve.static ^`!Daqk  
      Whether the Struts filter should serve static content or not e"CLhaT  
      是否struts过滤器应该提供静态内容 +-nQ, fOV  
>eTlew<5  
struts.tag.altSyntax YiCDV(prT  
      Whether to use the alterative syntax for the tags or not <M7* N .  
      是否可以用替代的语法替代tags  j%}Jl  
xKr,XZu  
struts.ui.templateDir -&EmEXs%  
      The directory containing UI templates JgB# EoF  
      UI templates的目录夹 I7~|!d6  
=z3jFaZ  
struts.ui.theme op-#Ig$#  
      The default UI template theme /)I9+s#q9o  
      默认的UI template主题 vvM)Rb,  
hjG1fgEj  
struts.url.http.port }gW}Vr <  
      The HTTP port used by Struts URLs 7asq]Y}<  
      设置http端口 XJzXxhk2  
qc6IH9i`  
struts.url.https.port %yMzgk[u  
      The HTTPS port used by Struts URLs `-H:j:U{  
      设置https端口 ?W n(ciO  
:65HMWy.  
struts.url.includeParams f$>orVm%.  
      The default includeParams method to generate Struts URLs EDo@J2A  
      在url中产生 默认的includeParams 4PWr;&  
-"zu"H~t4  
8[C6LG  
struts.velocity.configfile 6b/b} vl  
      The Velocity configuration file path ':V_V. :  
      velocity配置文件路径 ]1&9~TL  
~{+{pcO}  
struts.velocity.contexts h2%:;phH  
      List of Velocity context names #I?iR 3u  
      velocity的context列表 n{t',r50  
'| }}o g  
[tzSr=,Cg  
struts.velocity.manager.classname  {K9E% ,w  
      org.apache.struts2.views.velocity.VelocityManager implementation class c Vn+~m_%  
      org.apache.struts2.views.velocity.VelocityManager接口名 V)2_T!e%*  
=b7&(x  
struts.velocity.toolboxlocation  z\tJ~  
      The location of the Velocity toolbox 6EU4  
      velocity工具盒的位置 r(i)9RI+(  
struts.xslt.nocache pCmJY  
      Whether or not XSLT templates should not be cached {{3H\ rR  
      是否XSLT模版应该被缓存 GX)QIe~;qJ  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五