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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ~2O1$ou  
gFr-P!3  
struts.action.extension ,9~qLQ0O  
      The URL extension to use to determine if the request is meant for a Struts action PF0AU T  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #f }ORA  
_o{w<b&  
struts.configuration j "e]Ui  
      The org.apache.struts2.config.Configuration implementation class B }  
        org.apache.struts2.config.Configuration接口名 jB3Rue:+g  
"T~A*a^  
struts.configuration.files APqYf<W  
      A list of configuration files automatically loaded by Struts }W nvz;]B  
      struts自动加载的一个配置文件列表 SFVqUg3"Z  
#F ;@Qi3z  
struts.configuration.xml.reload +%)bd  
      Whether to reload the XML configuration or not Zn]!*}  
      是否加载xml配置(true,false) @c;:D`\p1C  
r^;1Sm  
struts.continuations.package Jv59zI  
      The package containing actions that use Rife continuations ?J28@rM  
      含有actions的完整连续的package名称 oC|']r6  
73kI%nNB  
struts.custom.i18n.resources eI=:z/pd  
      Location of additional localization properties files to load 7-4S'rq+  
      加载附加的国际化属性文件(不包含.properties后缀) JO&+W^$uY}  
h&<>nK   
struts.custom.properties sdXZsQw  
      Location of additional configuration properties files to load n*A"}i`ix  
      加载附加的配置文件的位置 `tJ"wpCf6  
p~h [4hP  
mZ#h p}\.  
struts.devMode ;#ElJXS  
      Whether Struts is in development mode or not PG3,MCf:  
      是否为struts开发模式 KvtJ tql;  
qw}. QwPT  
struts.dispatcher.parametersWorkaround UUqA^yJ  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Lo5CVlK  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Sj@VOW  
<Eh_  
struts.enable.DynamicMethodInvocation @T&w n k  
      Allows one to disable dynamic method invocation from the URL pU[5f5_  
        允许动态方法调用 yrFl,/8&G  
:zsMkdU  
struts.freemarker.manager.classname K'S \$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class & eWnS~hJ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 -E-e!  
1|oE3  
struts.i18n.encoding 4[n[Ch=lu  
      The encoding to use for localization messages $im6v  
      国际化信息内码 $(&+NJ$U$  
`2@f=$B  
struts.i18n.reload cb%ML1c  
      Whether the localization messages should automatically be reloaded  K<?[^\  
      是否国际化信息自动加载 osI0m7ws:  
bipA{VU  
struts.locale k;pU8y6Y  
      The default locale for the Struts application XrN]}S$N  
      默认的国际化地区信息 o 5<w2(  
`k~w 14~w  
struts.mapper.class =[IKwmCX  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Jek3K&  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 06>+loBG  
A5%cgr% 6  
struts.multipart.maxSize [A#>G4a<  
      The maximize size of a multipart request (file upload) !&5B&w{u~!  
      multipart请求信息的最大尺寸(文件上传用) E rnGX#@v  
]vq=~x  
struts.multipart.parser \v p^[,SI  
      The org.apache.struts2.dispatcher.multipart. h#]LXs  
      MultiPartRequest parser implementation for a multipart request (file upload) -59;Zn/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) G[\3)@I  
. /~#  
RbJbVFz8C  
struts.multipart.saveDir yr34&M(a  
      The directory to use for storing uploaded files }Fb966 $  
      设置存储上传文件的目录夹 MTeCmFe0;  
B}npom\tC  
struts.objectFactory LGPg\g`  
      The com.opensymphony.xwork2.ObjectFactory implementation class 4nGr?%>  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5g4xhYl70n  
+V/mV7FK  
struts.objectFactory.spring.autoWire ]M/*Beh  
      Whether Spring should autoWire or not psB9~EU&Q  
      是否自动绑定Spring $jL+15^N0+  
7.7Z|lJ  
struts.objectFactory.spring.useClassCache eLyaTOZadu  
      Whether Spring should use its class cache or not z|sR `]K  
      是否spring应该使用自身的cache $d%NFc&  
i`" L?3T  
struts.objectTypeDeterminer #(d /A<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ?8R  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 mY/x|)MmM  
Ub<^;Du5  
struts.serve.static.browserCache 2[yfo8H  
If static content served by the Struts filter should set browser caching header properties or not L6"?p-:@'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =-8y =  
vm`\0VGSW  
struts.serve.static >;OwBzB  
      Whether the Struts filter should serve static content or not cO/.(KBF  
      是否struts过滤器应该提供静态内容 $_b^p=  
L*Q#!_K0P  
struts.tag.altSyntax #;9n_)  
      Whether to use the alterative syntax for the tags or not C4 @"@kbr  
      是否可以用替代的语法替代tags Q^\f,E\S  
\z)` pno  
struts.ui.templateDir iJ 8I# j+N  
      The directory containing UI templates :gacP?  
      UI templates的目录夹 D-4\AzIb  
h?`'%m?_b  
struts.ui.theme Hp?uYih0  
      The default UI template theme TrC :CL  
      默认的UI template主题 PvB-Cqc  
^ G@o} Z  
struts.url.http.port BSbi.@@tp  
      The HTTP port used by Struts URLs UA$Xa1  
      设置http端口 6qp' _?  
Hy0l"CA*|  
struts.url.https.port osW"b"_f  
      The HTTPS port used by Struts URLs FV W&)-I  
      设置https端口 g7nqe~`{  
ECEDNib  
struts.url.includeParams n8vteGQ  
      The default includeParams method to generate Struts URLs 3# r` e  
      在url中产生 默认的includeParams nPo YjQi  
W! q-WU  
1 !`B8y)  
struts.velocity.configfile !$|h[ct  
      The Velocity configuration file path gg%9EJpP  
      velocity配置文件路径 GMRFZw_M  
UO{3v ry48  
struts.velocity.contexts Th[Gu8b3  
      List of Velocity context names +axpIjI'  
      velocity的context列表 /QK H30E  
_|%l) KO  
li Hz5<|  
struts.velocity.manager.classname U6Ws#e  
      org.apache.struts2.views.velocity.VelocityManager implementation class U>jLh57  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~*,e&I  
$2+(|VG4F  
struts.velocity.toolboxlocation bTN0n  
      The location of the Velocity toolbox i4 Vv6Sx1  
      velocity工具盒的位置 SF2<   
struts.xslt.nocache 1ZK~i  
      Whether or not XSLT templates should not be cached 't:s6  
      是否XSLT模版应该被缓存 ,Xt!dT-  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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