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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 e3b|z.^8  
+F3`?6UXz  
struts.action.extension lc2RMu  
      The URL extension to use to determine if the request is meant for a Struts action FkJX)  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 1xE*quhrh  
=FtJa3mHK  
struts.configuration K]Onb{QY  
      The org.apache.struts2.config.Configuration implementation class K JX@?1"  
        org.apache.struts2.config.Configuration接口名 e<[0H 8  
bD;c>5t  
struts.configuration.files j}$Up7pW  
      A list of configuration files automatically loaded by Struts ~M4@hG!  
      struts自动加载的一个配置文件列表 uepL"%.@7|  
a4L0Itrp  
struts.configuration.xml.reload ie%_-  
      Whether to reload the XML configuration or not lSk<euCYs  
      是否加载xml配置(true,false) czv )D\*  
3 JR1If  
struts.continuations.package ^#A[cY2eM  
      The package containing actions that use Rife continuations *b >hZkObn  
      含有actions的完整连续的package名称 r9d dVD  
t@O4 !mFH  
struts.custom.i18n.resources `DPR >dd@  
      Location of additional localization properties files to load ko%B`  
      加载附加的国际化属性文件(不包含.properties后缀) Pqm)OZE?  
&`J?`l X  
struts.custom.properties ]9}T)D f'  
      Location of additional configuration properties files to load `bF] O"  
      加载附加的配置文件的位置 OnKPD=<  
k;9"L90  
tSvklI  
struts.devMode =!cI@TI  
      Whether Struts is in development mode or not t|Ipxk.)  
      是否为struts开发模式 >)IXc<"wq  
7berkU0P  
struts.dispatcher.parametersWorkaround 5h4E>LB.B  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }_{QsPx9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) (s\":5 C  
/-W-MP=Wd  
struts.enable.DynamicMethodInvocation KZxA\,Y'5  
      Allows one to disable dynamic method invocation from the URL hIr$^%  
        允许动态方法调用 r 7mg>3  
k v}<u  
struts.freemarker.manager.classname KtFxG6a  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class S"z cSkF  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]$vJK  
N3`W%ws`~  
struts.i18n.encoding ", :Ta|  
      The encoding to use for localization messages /<s $Am  
      国际化信息内码 f @cs<x  
#!FLX*,  
struts.i18n.reload n6a*|rE  
      Whether the localization messages should automatically be reloaded 426)H_wx  
      是否国际化信息自动加载 /@H2m\vBX  
joN}N}U  
struts.locale $.z~bmH"D  
      The default locale for the Struts application z]YP  
      默认的国际化地区信息 zTa>MzH1-;  
5w#*JK   
struts.mapper.class s\`Vr;R:|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class |;-,(509  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 jbHk  
$VrKoL\ScA  
struts.multipart.maxSize P9p{j1*;  
      The maximize size of a multipart request (file upload) `37GVo4  
      multipart请求信息的最大尺寸(文件上传用) | 3`qT#p{  
; YaR|)B  
struts.multipart.parser lK? Z38  
      The org.apache.struts2.dispatcher.multipart. / h6(!-"  
      MultiPartRequest parser implementation for a multipart request (file upload) Y"uFlHN&i  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Jb~-)n2  
E00zf3Jgv'  
xmDX1sL**  
struts.multipart.saveDir Ohm>^N;  
      The directory to use for storing uploaded files B=;pyhc  
      设置存储上传文件的目录夹 =oF6|\]{ ;  
ZHs hg`I`  
struts.objectFactory !_`T8pJ`  
      The com.opensymphony.xwork2.ObjectFactory implementation class toipEp<ci  
      com.opensymphony.xwork2.ObjectFactory接口(spring) !j(KbAhWZ  
9 @yP;{Q  
struts.objectFactory.spring.autoWire p 0.?R  
      Whether Spring should autoWire or not LC/w".oq?  
      是否自动绑定Spring ^/W 7Xd(s  
hG,gY;&[6  
struts.objectFactory.spring.useClassCache 2.2Z'$W  
      Whether Spring should use its class cache or not <(JsB'TK  
      是否spring应该使用自身的cache n/"T7Y\2  
6Upg\(  
struts.objectTypeDeterminer JXlFo3<  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class v`hv5wQ  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 c4LBlLv4  
e^@/ Bm+B  
struts.serve.static.browserCache W RAW%?$  
If static content served by the Struts filter should set browser caching header properties or not UZdE ^Q[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 9xg_M=72  
Ssu{Lj  
struts.serve.static TKc&yAK  
      Whether the Struts filter should serve static content or not j8os6I  
      是否struts过滤器应该提供静态内容 Ar sMqb  
'3o0J\cz  
struts.tag.altSyntax cLl fncI  
      Whether to use the alterative syntax for the tags or not s\&_Kbw] c  
      是否可以用替代的语法替代tags Q ;P~'  
$/C<^}A  
struts.ui.templateDir 71tMX[x  
      The directory containing UI templates ]tZ5XS  
      UI templates的目录夹 #{0DpSzE5  
81_3{OrE<  
struts.ui.theme Vk_*]wU  
      The default UI template theme |Z;w k&  
      默认的UI template主题 L\og`L)5\  
B>?Y("E  
struts.url.http.port dW7dMx  
      The HTTP port used by Struts URLs Z-<v5aF  
      设置http端口 Hcd>\0  
i&,U);T  
struts.url.https.port T , =ga  
      The HTTPS port used by Struts URLs P&aH6*p1  
      设置https端口 >*}qGk  
BH0rT})  
struts.url.includeParams SEchF"KJQF  
      The default includeParams method to generate Struts URLs ^TWN_(-@  
      在url中产生 默认的includeParams ~rCnST  
Wsz='@XvB  
<J-OwO a-1  
struts.velocity.configfile 16N8h]l  
      The Velocity configuration file path _3p:q.  
      velocity配置文件路径 l``1^&K  
}WGi9\9T&  
struts.velocity.contexts F.8{ H9`  
      List of Velocity context names M{kPEl&Z  
      velocity的context列表 6sy%KO*A  
F'CUkVC0~P  
+lha^){  
struts.velocity.manager.classname ;(0:6P8I  
      org.apache.struts2.views.velocity.VelocityManager implementation class 0h shHv-  
      org.apache.struts2.views.velocity.VelocityManager接口名 G P1>h.J  
a`pY&xq::  
struts.velocity.toolboxlocation eZHzo  
      The location of the Velocity toolbox H5RHA^p|  
      velocity工具盒的位置 n'*Ljp  
struts.xslt.nocache SbnV U[  
      Whether or not XSLT templates should not be cached 3}:pD]`h  
      是否XSLT模版应该被缓存 0v7;Z xD  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五