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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 L/V^#$  
``Q6R2[|)  
struts.action.extension ;'= cNj  
      The URL extension to use to determine if the request is meant for a Struts action c$%*p (zY  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nGkSS_X  
=@?[.`  
struts.configuration %&| uT  
      The org.apache.struts2.config.Configuration implementation class %kjG[C  
        org.apache.struts2.config.Configuration接口名 !W9:)5^X  
`+"(GaZ  
struts.configuration.files ;ryNfP%  
      A list of configuration files automatically loaded by Struts !NkCki"W  
      struts自动加载的一个配置文件列表 5$D"uAp<V  
d#H9jg15e  
struts.configuration.xml.reload o1x1SH  
      Whether to reload the XML configuration or not b' y*\9Ru  
      是否加载xml配置(true,false) A>1$?A8Q  
O9(z"c  
struts.continuations.package I}3F'}JV<  
      The package containing actions that use Rife continuations g}xL7bTlI>  
      含有actions的完整连续的package名称 AXW.`~ 4  
&|~7`  
struts.custom.i18n.resources g-~ _gt7  
      Location of additional localization properties files to load ]myRYb5Z  
      加载附加的国际化属性文件(不包含.properties后缀) J-5>+E,nZ  
P<<+;']  
struts.custom.properties ,0.kg  
      Location of additional configuration properties files to load yJq<&g  
      加载附加的配置文件的位置 aQtd6L+ J  
@wI>0B  
ExS5RV@v'  
struts.devMode JfIXv  
      Whether Struts is in development mode or not MK=oGzK  
      是否为struts开发模式 _9 ]:0bDUo  
Y \-W`  
struts.dispatcher.parametersWorkaround ~\jP+[>M'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic \7r0]& _  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Wye* ~t  
]VRa4ZB{u  
struts.enable.DynamicMethodInvocation >|E]??v  
      Allows one to disable dynamic method invocation from the URL 5M0Q'"`F:  
        允许动态方法调用 A51 a/p#  
zVq!M-e  
struts.freemarker.manager.classname f\]?,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class gwRB6m$  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 <46&R[17M  
FklR!*oL,)  
struts.i18n.encoding i}sAF/  
      The encoding to use for localization messages G`Nw]_ Z_  
      国际化信息内码 m9DFnk<D  
"w'pIUQ3,  
struts.i18n.reload ,PTM'O@aU#  
      Whether the localization messages should automatically be reloaded j|k/&q[St  
      是否国际化信息自动加载 s)a-ky(  
6]?mjG6  
struts.locale >v.f H6P,}  
      The default locale for the Struts application P1Hab2%+  
      默认的国际化地区信息 wtY)(k a  
*c$[U{Px  
struts.mapper.class EfrQ~`\  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,Vhve'=*2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ayy\7b  
?e$&=FC0;  
struts.multipart.maxSize g X!>ef  
      The maximize size of a multipart request (file upload) L 0fe  
      multipart请求信息的最大尺寸(文件上传用) .B:ZyTI  
9&n9J^3L  
struts.multipart.parser J:yv82  
      The org.apache.struts2.dispatcher.multipart. [a2]_]E%  
      MultiPartRequest parser implementation for a multipart request (file upload) b>; ?{  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) | ys5.|  
ga 5Q  
9\_AB.Z:  
struts.multipart.saveDir /?'~`4!(  
      The directory to use for storing uploaded files ("2X8(3z  
      设置存储上传文件的目录夹 M:/NW-:  
ws'e  
struts.objectFactory .Vbd-jr'M  
      The com.opensymphony.xwork2.ObjectFactory implementation class n1."Qix0  
      com.opensymphony.xwork2.ObjectFactory接口(spring) .SD-6GVD  
.\R9tt}  
struts.objectFactory.spring.autoWire h0tiWHw  
      Whether Spring should autoWire or not PR%)3  
      是否自动绑定Spring )@NFV*@I  
i1vz{Tc  
struts.objectFactory.spring.useClassCache 6]brL.eGj  
      Whether Spring should use its class cache or not MXaF q K<Y  
      是否spring应该使用自身的cache fEHFlgN3Ap  
,|A^ <R`  
struts.objectTypeDeterminer SGWb*grt  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ]<;7ZNG"Y5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _z@/~M(  
msBoInhI  
struts.serve.static.browserCache MzIDeZ  
If static content served by the Struts filter should set browser caching header properties or not 6e-ME3!<l  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 41X`.  
qVC+q8  
struts.serve.static 3W?7hh  
      Whether the Struts filter should serve static content or not 8R MM97@1Q  
      是否struts过滤器应该提供静态内容 r3'J{-kl  
r%U6,7d=)  
struts.tag.altSyntax {r_HcI(h  
      Whether to use the alterative syntax for the tags or not |[?Otv  
      是否可以用替代的语法替代tags o[ZjXLJzV  
_J1\c~ke"  
struts.ui.templateDir |?T=4~b  
      The directory containing UI templates ihrf/b  
      UI templates的目录夹 fDy*dp4z  
DBAyc#&#  
struts.ui.theme Hr?lRaV  
      The default UI template theme A8'RM F1  
      默认的UI template主题 sFpg  
4/ _jrZO  
struts.url.http.port =X R~I  
      The HTTP port used by Struts URLs MB)<@.A0  
      设置http端口 )U %`7(bN  
Bb/if:XS  
struts.url.https.port ?'> .>  
      The HTTPS port used by Struts URLs rN}pi@  
      设置https端口 & kC  
/~NX<Ye&  
struts.url.includeParams g04^M (  
      The default includeParams method to generate Struts URLs (47?lw &  
      在url中产生 默认的includeParams 4Zbn8GpC  
w}3N!jNDv  
X _ZO)|  
struts.velocity.configfile 5?0<.f,  
      The Velocity configuration file path R-Edht|{  
      velocity配置文件路径 syl7i>P  
wA5Iz{uQO  
struts.velocity.contexts w-K A~  
      List of Velocity context names *tqD:hiF  
      velocity的context列表 X:i?gRy"  
cW%)C.M  
wH~A> 4*(  
struts.velocity.manager.classname <m-(B"F X  
      org.apache.struts2.views.velocity.VelocityManager implementation class L$PbC!1  
      org.apache.struts2.views.velocity.VelocityManager接口名 `+,?%W)  
p1UloG\  
struts.velocity.toolboxlocation a=MN:s?Fc0  
      The location of the Velocity toolbox d5'Q 1"{  
      velocity工具盒的位置 ]o] VS  
struts.xslt.nocache Lz 1.+:Ag  
      Whether or not XSLT templates should not be cached &|Gg46P7  
      是否XSLT模版应该被缓存 o/{`\4  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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