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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Hl2f`GZ   
.1}rzh}8  
struts.action.extension a}qse5Fr  
      The URL extension to use to determine if the request is meant for a Struts action M`+e'vdw  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 k CW!m  
_E1]cbIo  
struts.configuration Hdbnb[e  
      The org.apache.struts2.config.Configuration implementation class UK~B[=b9  
        org.apache.struts2.config.Configuration接口名 SeNF!k% Y  
.W@4vrp@  
struts.configuration.files K[LVT]3 n  
      A list of configuration files automatically loaded by Struts ' MS!ss=r  
      struts自动加载的一个配置文件列表 3Da,] w<  
s 9|a2/{  
struts.configuration.xml.reload @Tfwh/UN  
      Whether to reload the XML configuration or not | 2.e0Z]k  
      是否加载xml配置(true,false) e8ULf~I  
o~o6S=4,}  
struts.continuations.package 4&oXy,8LC  
      The package containing actions that use Rife continuations ,+ \4 '`  
      含有actions的完整连续的package名称 vJj:9KcP>h  
b y|?g8  
struts.custom.i18n.resources *pb:9JKi  
      Location of additional localization properties files to load N5f0| U&  
      加载附加的国际化属性文件(不包含.properties后缀) or%gTVZ  
>1a \ %G  
struts.custom.properties f05"3L:  
      Location of additional configuration properties files to load przubMt  
      加载附加的配置文件的位置 gN, k/U8  
I`"-$99|t1  
ZO%fS'n  
struts.devMode N(_ .N6  
      Whether Struts is in development mode or not z>mZT.  
      是否为struts开发模式 /nY).lSH  
e>,9]{N+$  
struts.dispatcher.parametersWorkaround 9QOr,~~s  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic o!s%h!%L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) $d2kHT  
yxG:\y b  
struts.enable.DynamicMethodInvocation 8_<&f%/  
      Allows one to disable dynamic method invocation from the URL esh$*)1  
        允许动态方法调用 u 5Eo  
^x_ >r6  
struts.freemarker.manager.classname ;zZ,3pl-E  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class qu<B%v  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 >w2Q 1!  
(zS2Ndp  
struts.i18n.encoding N /sEec  
      The encoding to use for localization messages O>SuZ>g+7  
      国际化信息内码 k(-Z@   
CQBT::  
struts.i18n.reload C7b 5%a!  
      Whether the localization messages should automatically be reloaded `i t+D  
      是否国际化信息自动加载 6^] `-4*W  
@Xq&t}*8  
struts.locale 5 Q6{(q|M  
      The default locale for the Struts application MK-a $~<  
      默认的国际化地区信息 !@^y)v  
nszpG1U:  
struts.mapper.class UzU-eyA  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^ea RgNz  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 5:*5j@/S  
:cXIO  
struts.multipart.maxSize Avs7(-L+s  
      The maximize size of a multipart request (file upload) 8S.')<-f  
      multipart请求信息的最大尺寸(文件上传用) W+d 9cM=  
~A[YnJYA#  
struts.multipart.parser -GDV[Bg  
      The org.apache.struts2.dispatcher.multipart. pAJ=f}",]E  
      MultiPartRequest parser implementation for a multipart request (file upload) j*;*Ka w  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 9Eq^B9(  
m\*&2Na  
~:/%/-^  
struts.multipart.saveDir o{{:|%m3Q  
      The directory to use for storing uploaded files 1-6gB@cvQ  
      设置存储上传文件的目录夹 ;f".'9 l^  
}.fL$,7a  
struts.objectFactory Exep+x-  
      The com.opensymphony.xwork2.ObjectFactory implementation class U;x1}eFT  
      com.opensymphony.xwork2.ObjectFactory接口(spring) B#HnPUUK  
(j8GiJ]{L,  
struts.objectFactory.spring.autoWire u;+%Qh  
      Whether Spring should autoWire or not pG,<_N@P  
      是否自动绑定Spring c&Gz> L  
kF(Ce{;z  
struts.objectFactory.spring.useClassCache 84[|qB,ML  
      Whether Spring should use its class cache or not }iPo8Ra  
      是否spring应该使用自身的cache Po Yr:=S?  
2j8Cv:{Nn%  
struts.objectTypeDeterminer sTKab :  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ELN|;^-/|Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 xNC* ]8d  
}': EJ~H  
struts.serve.static.browserCache 5wzQ?07T_  
If static content served by the Struts filter should set browser caching header properties or not F3r S6_  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 W$z#ssr  
?@Z7O.u  
struts.serve.static <KHv|)ak  
      Whether the Struts filter should serve static content or not #'J~Xk   
      是否struts过滤器应该提供静态内容 H{j~ihq7  
wD<vg3e[H  
struts.tag.altSyntax 5*JV )[  
      Whether to use the alterative syntax for the tags or not {[Uti^)m%  
      是否可以用替代的语法替代tags %:" RzHN  
-/M9 vS  
struts.ui.templateDir 9Tzc(yCY  
      The directory containing UI templates a<f;\$h]  
      UI templates的目录夹 J*}VV9H  
/lf\ E=  
struts.ui.theme <8iYL`3  
      The default UI template theme g/OI|1a  
      默认的UI template主题 ISpeV  
e ZynF<i  
struts.url.http.port :6 Uk)   
      The HTTP port used by Struts URLs  AGh~8[  
      设置http端口 536^PcJlN  
P7}t lHX  
struts.url.https.port lP}od  
      The HTTPS port used by Struts URLs 8BHL  
      设置https端口 _TZW|Dh-2F  
,"@w>WL<9  
struts.url.includeParams *GCA6X  
      The default includeParams method to generate Struts URLs |tG05+M  
      在url中产生 默认的includeParams D4AEZgC F,  
IgLVn<5n  
5XzrS-I+X@  
struts.velocity.configfile 'GrRuT<  
      The Velocity configuration file path ?$<SCN =  
      velocity配置文件路径 btUq  
jVX._bEGX  
struts.velocity.contexts ` !zQ  
      List of Velocity context names n)tU9@4Np  
      velocity的context列表 B:e.gtM5  
vAi"$e  
vz6SCGg,  
struts.velocity.manager.classname 86/.8  
      org.apache.struts2.views.velocity.VelocityManager implementation class ktN%!Mh\  
      org.apache.struts2.views.velocity.VelocityManager接口名 kclp}  
t G]N*%@  
struts.velocity.toolboxlocation d0'7efC+  
      The location of the Velocity toolbox 0o;k?4aP.c  
      velocity工具盒的位置 ]9fS@SHdx  
struts.xslt.nocache F\;2 i:(  
      Whether or not XSLT templates should not be cached ]AFj&CteZ/  
      是否XSLT模版应该被缓存 !K!)S^^Po?  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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