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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 e=(Y,e3  
x4v:67_^  
struts.action.extension @!")shc  
      The URL extension to use to determine if the request is meant for a Struts action 4JK6<Pk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nCi ]6;Y  
W5Z-s.o  
struts.configuration n' mrLZw  
      The org.apache.struts2.config.Configuration implementation class SEI0G_wk$  
        org.apache.struts2.config.Configuration接口名 o>M^&)Xs  
myA;Y  
struts.configuration.files 9wR D=a  
      A list of configuration files automatically loaded by Struts t}R!i-D|HB  
      struts自动加载的一个配置文件列表 8j>V?'Szk  
r7W.}n*  
struts.configuration.xml.reload R7Qj<,  
      Whether to reload the XML configuration or not ~}b0zL  
      是否加载xml配置(true,false) [ ojL9.6  
c(=>5  
struts.continuations.package &$|~",  
      The package containing actions that use Rife continuations K uwhA-IL  
      含有actions的完整连续的package名称 :-d#kU  
bQ>wyA+G&E  
struts.custom.i18n.resources q+9^rQ  
      Location of additional localization properties files to load x,^-a  
      加载附加的国际化属性文件(不包含.properties后缀) ZOfv\(iJ;  
m~Pk ]~j  
struts.custom.properties ~:JAWs$\V  
      Location of additional configuration properties files to load bji#ID2]%  
      加载附加的配置文件的位置 {oY"CZ2  
>Y4^<!\v  
YA@?L!F  
struts.devMode :4zPYG o  
      Whether Struts is in development mode or not lknj/i5L  
      是否为struts开发模式 %BC%fVdP  
5 b rM..  
struts.dispatcher.parametersWorkaround Kc[^Pu  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic OF<:BaRs/  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) d"n>Q Tn\  
^*l dsc  
struts.enable.DynamicMethodInvocation 0E#??gN  
      Allows one to disable dynamic method invocation from the URL >e!J(4.-  
        允许动态方法调用 dE8f?L'  
Kv* 1=HES  
struts.freemarker.manager.classname #6c,_!  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SHYekX  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 fwt+$`n  
?jMM@O`Nu  
struts.i18n.encoding 0Lj;t/mG  
      The encoding to use for localization messages 9)+!*(D  
      国际化信息内码 ^ q ba<#e  
iWeUsS%zpV  
struts.i18n.reload 4OM ]8I!  
      Whether the localization messages should automatically be reloaded 1 0zM8<bl  
      是否国际化信息自动加载 x3Cn:F  
UZt3Ua&J  
struts.locale &c-V QP(  
      The default locale for the Struts application WY|~E%k  
      默认的国际化地区信息 CX/[L)|Ru  
s@~3L  
struts.mapper.class `Zuo`GP*1  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [cDDZ+6  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 (zsmJe  
aW:*!d#  
struts.multipart.maxSize @{qcu\sZ  
      The maximize size of a multipart request (file upload) H%n/;DW  
      multipart请求信息的最大尺寸(文件上传用) e;=R8i  
l1zPL3"u_^  
struts.multipart.parser z}J~X%}e  
      The org.apache.struts2.dispatcher.multipart. !Yo2P"  
      MultiPartRequest parser implementation for a multipart request (file upload) ^) s6`:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) vrmMEWPV  
JUw|nUnl?  
NUiv"tAY  
struts.multipart.saveDir r^.9 |YM5  
      The directory to use for storing uploaded files 8ZV!ld  
      设置存储上传文件的目录夹 K @&c  
Q-h< av9  
struts.objectFactory ~uY5~Qs9G  
      The com.opensymphony.xwork2.ObjectFactory implementation class R{brf6,  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ]z7pa^  
J" ,Cwk\  
struts.objectFactory.spring.autoWire "=]'"'B:  
      Whether Spring should autoWire or not 0KExB{K  
      是否自动绑定Spring )]Zdaw)X  
w@WtW8 p^  
struts.objectFactory.spring.useClassCache >Heuf"V  
      Whether Spring should use its class cache or not M"c=_5P  
      是否spring应该使用自身的cache L7 FFa:#  
&:d`Pik6  
struts.objectTypeDeterminer zLr:zfl  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -GL.8" c[  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b6e 2a/x  
HHyN\  
struts.serve.static.browserCache g[b;1$  
If static content served by the Struts filter should set browser caching header properties or not pPsTgGai  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a)Ht(*/B  
hHMp=8J7  
struts.serve.static h{yh}04P1  
      Whether the Struts filter should serve static content or not )sIzBC  
      是否struts过滤器应该提供静态内容 {nZP4jze  
&Kc45  
struts.tag.altSyntax %QDAog  
      Whether to use the alterative syntax for the tags or not {3os9r,  
      是否可以用替代的语法替代tags $!'Vn)Z7  
4t*VI<=<[  
struts.ui.templateDir w'i+WEU>l  
      The directory containing UI templates BThrv$D}  
      UI templates的目录夹 ]S(nA!]  
MYJDfI  
struts.ui.theme hHEn  
      The default UI template theme :ldI1*@i<  
      默认的UI template主题 3KD:JKn^  
SPT x-b[  
struts.url.http.port =`}|hI   
      The HTTP port used by Struts URLs <vg|8-,#m  
      设置http端口 1(aib^!B  
+;@R&Y  
struts.url.https.port }e"2Nc_UG  
      The HTTPS port used by Struts URLs iF##3H$c  
      设置https端口 =v! 8i  
'&AeOn  
struts.url.includeParams J=t}N+:F`b  
      The default includeParams method to generate Struts URLs hsws7sH  
      在url中产生 默认的includeParams S="\S  
[A uA<  
 X|TGM  
struts.velocity.configfile SX?hu|g_r  
      The Velocity configuration file path tPJU,e)  
      velocity配置文件路径 w &^Dbme  
;cv\v(0  
struts.velocity.contexts )1 0aDTlr  
      List of Velocity context names OJ\j6owA  
      velocity的context列表 a$11u.\q+  
p|>/Hz1v  
pkIJbI{aS  
struts.velocity.manager.classname (:# 4{C  
      org.apache.struts2.views.velocity.VelocityManager implementation class wuqB['3  
      org.apache.struts2.views.velocity.VelocityManager接口名 on\ahk, y]  
jA3Ir;a  
struts.velocity.toolboxlocation L@ N\8mf  
      The location of the Velocity toolbox Qmv8T ^+  
      velocity工具盒的位置 :$^sI"hO  
struts.xslt.nocache A{hST~s  
      Whether or not XSLT templates should not be cached }N3Ur~X\  
      是否XSLT模版应该被缓存 (a|Wq{`[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五