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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Dwp-*QK^G  
O &De!Gx  
struts.action.extension o+T %n1$+V  
      The URL extension to use to determine if the request is meant for a Struts action d%='W|i\p&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 | ?])]F  
ZpTT9{PT=:  
struts.configuration 9H4NvB{  
      The org.apache.struts2.config.Configuration implementation class C Nt  
        org.apache.struts2.config.Configuration接口名 u!WjG@  
5 U{}A\q  
struts.configuration.files ] M#OS$_O@  
      A list of configuration files automatically loaded by Struts c$[cDf~  
      struts自动加载的一个配置文件列表 vpl> 5%  
@z1Yj"^Pm  
struts.configuration.xml.reload )"Vd8*e  
      Whether to reload the XML configuration or not .gK>O2hI  
      是否加载xml配置(true,false) ?* %J Gz_  
^saH^kg1"  
struts.continuations.package @mB*fl?-  
      The package containing actions that use Rife continuations 1:r8p6  
      含有actions的完整连续的package名称 y.'5*08S0  
ZdjmZx%%  
struts.custom.i18n.resources Xitsb f=Gg  
      Location of additional localization properties files to load G`1FD  
      加载附加的国际化属性文件(不包含.properties后缀) Sx", Zb  
eURj'8o),  
struts.custom.properties "<y0D!&  
      Location of additional configuration properties files to load D[ -Gzqh  
      加载附加的配置文件的位置 > R5<D'cEN  
_:0  
i{ " g 7  
struts.devMode k&h3"  
      Whether Struts is in development mode or not {BA1C (  
      是否为struts开发模式 ev_4!+ko  
bdUe,2Yin  
struts.dispatcher.parametersWorkaround ?i8a)!U  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic i)pAFv<$,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) R;68C6 4  
hH|moj]  
struts.enable.DynamicMethodInvocation #M5R>&?Jqz  
      Allows one to disable dynamic method invocation from the URL @ !UuK;  
        允许动态方法调用 );zLy?n  
a*4l!-7  
struts.freemarker.manager.classname ~j&#DG&L  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class [h GS*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^+m6lsuA  
7;T6hKWV[  
struts.i18n.encoding L(bYG0ZI5C  
      The encoding to use for localization messages G(~ s(r{%I  
      国际化信息内码 cU^Z=B  
I#m0n%-[  
struts.i18n.reload nYc8+5CcK'  
      Whether the localization messages should automatically be reloaded zFn-V EJ)  
      是否国际化信息自动加载 6ofi8( n[  
NQx`u"=  
struts.locale O_u2V'jy9  
      The default locale for the Struts application <lBY  
      默认的国际化地区信息 };z[x2l^  
Q,.[y"m9Y.  
struts.mapper.class 5w# Ceg9  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class sfv{z!mo  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 2Bf]#l{z  
rLU+-_  
struts.multipart.maxSize f""+jc1  
      The maximize size of a multipart request (file upload) U;l!.mze  
      multipart请求信息的最大尺寸(文件上传用) ;ORT#7CU  
iAOm[=W  
struts.multipart.parser tocZO  
      The org.apache.struts2.dispatcher.multipart. sSM^net0  
      MultiPartRequest parser implementation for a multipart request (file upload) |V 3AA   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 1${lHVx]  
Vl0 J!JK_  
-/k;VT|  
struts.multipart.saveDir ]CFh0N|(L  
      The directory to use for storing uploaded files <)vjoRv  
      设置存储上传文件的目录夹 +EtL+Y (U  
#fy#G}c  
struts.objectFactory 6WN1D W  
      The com.opensymphony.xwork2.ObjectFactory implementation class YL$#6d  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Fjc4[ C  
eq|G\XJ  
struts.objectFactory.spring.autoWire ?W#>9WQi  
      Whether Spring should autoWire or not 7~2/NU?  
      是否自动绑定Spring zPC&p{S>  
x2^Yvgc-  
struts.objectFactory.spring.useClassCache ^X&n-ui   
      Whether Spring should use its class cache or not ) N8 [@  
      是否spring应该使用自身的cache C1/<t)^  
eC9nOwp]xH  
struts.objectTypeDeterminer !OVTs3}  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class !zd]6YL$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 1nt VM+  
D 2U")g}U  
struts.serve.static.browserCache BRTM]tRZ  
If static content served by the Struts filter should set browser caching header properties or not 9{{|P=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 cZ!%#A z  
@+9x8*~S'  
struts.serve.static YkPc&&#  
      Whether the Struts filter should serve static content or not Ac0^`  
      是否struts过滤器应该提供静态内容 i|@lUXBp  
Qj?qWVapA  
struts.tag.altSyntax $*%ipD}f  
      Whether to use the alterative syntax for the tags or not Yt 9{:+[RK  
      是否可以用替代的语法替代tags }\9elVt'2  
1YGj^7V)|Z  
struts.ui.templateDir j2U iZLuV  
      The directory containing UI templates 8IAf 9  
      UI templates的目录夹 R3HfE*;Z  
^`W8>czi  
struts.ui.theme +w(sDH~kd  
      The default UI template theme bJ[{[|yEd  
      默认的UI template主题 OZ/P@`kN.f  
A,tmy',d"  
struts.url.http.port cGevFlnh  
      The HTTP port used by Struts URLs QbF!V%+a's  
      设置http端口 i|z=q  
DrG9Kky{  
struts.url.https.port  h :[8$]  
      The HTTPS port used by Struts URLs %s+H& vfQs  
      设置https端口 igoXMsifT+  
;"*\R5 a  
struts.url.includeParams MH"{N "|  
      The default includeParams method to generate Struts URLs O4Wn+$AN  
      在url中产生 默认的includeParams (8[etm  
Cr!}qZq  
CXb-{|I}d  
struts.velocity.configfile 4K_fN  
      The Velocity configuration file path %n^jho5  
      velocity配置文件路径 ]BY^.!Y  
l3d^V&Sk  
struts.velocity.contexts .|[5*-  
      List of Velocity context names X+'z@xpj  
      velocity的context列表 S%h[e[[fST  
U"1z"PcV  
.L,xqd[zC  
struts.velocity.manager.classname WUVRwJ 5  
      org.apache.struts2.views.velocity.VelocityManager implementation class R]0p L   
      org.apache.struts2.views.velocity.VelocityManager接口名 i.eu$~F  
-~nU&$ccL  
struts.velocity.toolboxlocation C*;g!~{  
      The location of the Velocity toolbox . 6wyu7oK  
      velocity工具盒的位置 P1<Y7 +n  
struts.xslt.nocache a(+.rf;  
      Whether or not XSLT templates should not be cached P/BWFN1  
      是否XSLT模版应该被缓存 PT9,R^2T!  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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