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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 48n>[ FMSR  
N2}].}  
struts.action.extension zu}h3n5  
      The URL extension to use to determine if the request is meant for a Struts action %&^F.JTt\  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 N L]:<FG  
q5[%B K  
struts.configuration ~"5WQK`@  
      The org.apache.struts2.config.Configuration implementation class S{z%Q  
        org.apache.struts2.config.Configuration接口名 .J~iRhVOF  
z1LATy  
struts.configuration.files cJm!3X  
      A list of configuration files automatically loaded by Struts eR8qO"%2:  
      struts自动加载的一个配置文件列表 ;sa-Bh=j^  
(G"b)"Qum  
struts.configuration.xml.reload T.HI $(d  
      Whether to reload the XML configuration or not EPr{1Z  
      是否加载xml配置(true,false) U$pHfNTH  
awXL}m[_!  
struts.continuations.package >U9!KB  
      The package containing actions that use Rife continuations q01zN:|-1  
      含有actions的完整连续的package名称 P!m~tu}B  
@-;-DB]j  
struts.custom.i18n.resources Xig+[2zS  
      Location of additional localization properties files to load 7BF't!-2F  
      加载附加的国际化属性文件(不包含.properties后缀) yaA9* k  
5in6Y5ckj  
struts.custom.properties wLU w'Ai  
      Location of additional configuration properties files to load ^<<( }3  
      加载附加的配置文件的位置 5gV8=Ml"V  
ag?@5q3J}  
L"tj DAV  
struts.devMode ^?toTU   
      Whether Struts is in development mode or not _q=$L eO5  
      是否为struts开发模式 c?eV8h1G  
mxQS9y  
struts.dispatcher.parametersWorkaround s+^o[R T3  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >lyUr*4PX  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) mb?DnP,z  
i2$U##-ro]  
struts.enable.DynamicMethodInvocation d Z"bc]z{  
      Allows one to disable dynamic method invocation from the URL dp2".  
        允许动态方法调用 bK("8T\?  
S53 [Ja  
struts.freemarker.manager.classname _>A])B ^  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class }k<b)I*A  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 R8\y|p#c  
_e8@y{/~Fd  
struts.i18n.encoding S,3e|-&$  
      The encoding to use for localization messages ^$_ifkkLz  
      国际化信息内码 +]CKu$,8  
IVkKmO(qO  
struts.i18n.reload bR*T}w$<  
      Whether the localization messages should automatically be reloaded r em&F'x0V  
      是否国际化信息自动加载 QD<^VY6  
!V@Y \M d  
struts.locale v<tH 3I+   
      The default locale for the Struts application \9i.dF  
      默认的国际化地区信息 klUxt?-  
!U,qr0h  
struts.mapper.class 0tn5>Dsk  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class n4k. tq  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8o4<F%ot  
F!`.y7hY@  
struts.multipart.maxSize g=b[V   
      The maximize size of a multipart request (file upload) $|6Le; K  
      multipart请求信息的最大尺寸(文件上传用) cdP+X'Y4D  
\(Zdd \,  
struts.multipart.parser Si*Pi  
      The org.apache.struts2.dispatcher.multipart. GMgsM6.R  
      MultiPartRequest parser implementation for a multipart request (file upload) d)r=W@tF]  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) \D,0  
,`/!0Wmt  
U`<EpO{j|  
struts.multipart.saveDir G ~a/g6M4  
      The directory to use for storing uploaded files yKOf]m>#  
      设置存储上传文件的目录夹 5&2=;?EO  
`W?aq]4x5  
struts.objectFactory '/;#{("  
      The com.opensymphony.xwork2.ObjectFactory implementation class *-_` xe  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ):LJ {.0R  
_\sm$ `q  
struts.objectFactory.spring.autoWire UH%?{>oRh  
      Whether Spring should autoWire or not Cl<` uW3  
      是否自动绑定Spring q'+XTal  
 vxr3|2`  
struts.objectFactory.spring.useClassCache k%NY,(:(  
      Whether Spring should use its class cache or not -hp,O?PM  
      是否spring应该使用自身的cache 8,dCx}X  
0NpxqeIDY  
struts.objectTypeDeterminer )/bt/,M&}  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S][: b  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 : [aUpX=  
A+Y>1-=JO  
struts.serve.static.browserCache I g-VSQ  
If static content served by the Struts filter should set browser caching header properties or not Ao`9fI#q  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;n7k_K#0z!  
%>xW_5;Z  
struts.serve.static .b  N0!  
      Whether the Struts filter should serve static content or not 6$)Yqg`X  
      是否struts过滤器应该提供静态内容 L V33vy  
W|D'S}J  
struts.tag.altSyntax g6QkF41nG  
      Whether to use the alterative syntax for the tags or not Gu*;z% b2  
      是否可以用替代的语法替代tags XuR!9x^5  
7F\U|kx_  
struts.ui.templateDir s;8J= \9W  
      The directory containing UI templates T"9`[Lzva  
      UI templates的目录夹 )dC%g=dtc  
a_QO)  
struts.ui.theme ?h K+h.{  
      The default UI template theme \^N9Q9{7]  
      默认的UI template主题 6=A ++H @  
rx_'(  
struts.url.http.port N[aK#o,  
      The HTTP port used by Struts URLs {x2N~1!E  
      设置http端口 [_-CO }>  
vj?9X5A_  
struts.url.https.port y7d)[d*Mz  
      The HTTPS port used by Struts URLs 4y 582u6^  
      设置https端口 dHf_&X2A  
rS(693kb  
struts.url.includeParams nF A7@hsm  
      The default includeParams method to generate Struts URLs \e'>$8%T  
      在url中产生 默认的includeParams SAThY$)6  
V%e'H>EC  
YaSwn3i/@S  
struts.velocity.configfile v[m/>l2[P  
      The Velocity configuration file path ZwO&G\A^  
      velocity配置文件路径 n8zUL1:R  
S 5m1~fz  
struts.velocity.contexts ~+3f8%   
      List of Velocity context names 6<]&T lS]  
      velocity的context列表  <MvFAuAT  
f_D1zU^  
/,E%)K;  
struts.velocity.manager.classname 6sQ"go$}  
      org.apache.struts2.views.velocity.VelocityManager implementation class z?j~ 2K<4  
      org.apache.struts2.views.velocity.VelocityManager接口名 I|Z5*iXqCm  
fB  
struts.velocity.toolboxlocation @f*/V e0.  
      The location of the Velocity toolbox 5IdmKP|  
      velocity工具盒的位置 nV:.-JR  
struts.xslt.nocache T`a [~:  
      Whether or not XSLT templates should not be cached /MQd[03]  
      是否XSLT模版应该被缓存 2$[u&__E  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五