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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &H\$O.?f  
R`=IYnoOA  
struts.action.extension #|*;~:fz  
      The URL extension to use to determine if the request is meant for a Struts action }8Wp X2U  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #r 1 $=GY  
z79L2lJn  
struts.configuration :6LOb f\01  
      The org.apache.struts2.config.Configuration implementation class cqeId&Cg  
        org.apache.struts2.config.Configuration接口名 uE:#m.Q  
R =HN>(U  
struts.configuration.files M%4o0k]E,s  
      A list of configuration files automatically loaded by Struts [;dWFG"f  
      struts自动加载的一个配置文件列表 UNocm0!N'  
DoWY*2E  
struts.configuration.xml.reload bTC2Ya  
      Whether to reload the XML configuration or not xD#PM |I  
      是否加载xml配置(true,false) lD2>`s 5  
ia|^>V>-  
struts.continuations.package %_+9y??  
      The package containing actions that use Rife continuations KmV#% d  
      含有actions的完整连续的package名称 :7Mo0,Bw,  
G1B~?i2$ ?  
struts.custom.i18n.resources pfg"6P  
      Location of additional localization properties files to load _J&u{  
      加载附加的国际化属性文件(不包含.properties后缀) en7i})v\".  
H^"BK-`hs  
struts.custom.properties :YjOv  
      Location of additional configuration properties files to load Tp~yn  
      加载附加的配置文件的位置 !Dkz6B*  
mh44  
7d/wT+f  
struts.devMode n);2b\&  
      Whether Struts is in development mode or not #l~ d  
      是否为struts开发模式 XRs/gUT  
[K13Jy+  
struts.dispatcher.parametersWorkaround O89<IXk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g2C-)*'{yh  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9In&vF7$  
H_;Dq*  
struts.enable.DynamicMethodInvocation ` 2|~Z H  
      Allows one to disable dynamic method invocation from the URL eFXxkWR)  
        允许动态方法调用 -a3+C,I8g  
]Vjn7P`~ N  
struts.freemarker.manager.classname b7v] g]*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class f&`v-kiAn=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )Tngtt D  
 9 N=KU  
struts.i18n.encoding PGT!HdX#{  
      The encoding to use for localization messages eHv~?b5l  
      国际化信息内码 fFXs:(  
DWJ%r"aN  
struts.i18n.reload $qQ6u!  
      Whether the localization messages should automatically be reloaded V2w[0^ L  
      是否国际化信息自动加载 {z@vSQ=)=P  
G+[>or}  
struts.locale aC3\Hs  
      The default locale for the Struts application ThWZ>hyJ  
      默认的国际化地区信息 ?O4Dhu  
DJ} xD&G  
struts.mapper.class xx;'WL,g  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 0x^$q? \A  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 T<zonx1  
7u5B/M!  
struts.multipart.maxSize o~P8=1t   
      The maximize size of a multipart request (file upload) b{s E#m%r  
      multipart请求信息的最大尺寸(文件上传用) 1:YDN.*  
E\m?0]W|  
struts.multipart.parser i04Sf^  
      The org.apache.struts2.dispatcher.multipart. >jl"Yr#  
      MultiPartRequest parser implementation for a multipart request (file upload) a^[io1}-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ~R)w 9uq  
@{I55EQ]  
"G6d'xkP  
struts.multipart.saveDir idO3/>R [  
      The directory to use for storing uploaded files BqZLqGO Ku  
      设置存储上传文件的目录夹 3=bzIU  
WS(@KN  
struts.objectFactory m OmT]X  
      The com.opensymphony.xwork2.ObjectFactory implementation class 8GlH)J+kq  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Rz=]KeZu  
D{BH~IM  
struts.objectFactory.spring.autoWire 4Hzbb#  
      Whether Spring should autoWire or not }T,E$vsx  
      是否自动绑定Spring D4#,9?us  
Arp4$h  
struts.objectFactory.spring.useClassCache @D"|Jq=6P  
      Whether Spring should use its class cache or not aE{b65'Dt  
      是否spring应该使用自身的cache "6KOql3  
Cc Ni8Wg_  
struts.objectTypeDeterminer PY z | d  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $Uewv +  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 |xKB><  
;;nmF#  
struts.serve.static.browserCache D@ =.4z  
If static content served by the Struts filter should set browser caching header properties or not [c86b  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 bMSF-lQ  
LiV]!*9$KG  
struts.serve.static >^InNJd  
      Whether the Struts filter should serve static content or not u]dpA  
      是否struts过滤器应该提供静态内容 y Fp1@*ef  
Ds}6{']K  
struts.tag.altSyntax  iI ^{OD  
      Whether to use the alterative syntax for the tags or not (/*-M]>  
      是否可以用替代的语法替代tags +'#d*r91@  
3^ Z tIZ  
struts.ui.templateDir Q^39Wk@  
      The directory containing UI templates IwH ,g^0\  
      UI templates的目录夹 Be]o2N;J  
GtGToI  
struts.ui.theme *;gi52tM  
      The default UI template theme R:ar85F  
      默认的UI template主题 #='#`5_5  
pu>LC6m3a  
struts.url.http.port um8ZhXq  
      The HTTP port used by Struts URLs J7cqnj  
      设置http端口 D3^v[>E2  
}+=@Ci  
struts.url.https.port xq~=T:>/A  
      The HTTPS port used by Struts URLs IB;y8e,  
      设置https端口 hcf>J6ZLT  
g:,4Kd|  
struts.url.includeParams `7 B [<  
      The default includeParams method to generate Struts URLs J| DWT+$#Z  
      在url中产生 默认的includeParams El+]}D"  
54^hBejQ  
q?0goL  
struts.velocity.configfile aPb!-o{  
      The Velocity configuration file path Xif`gb6`  
      velocity配置文件路径 F H%yyT  
V&}Z# 9Dx  
struts.velocity.contexts Bkz   
      List of Velocity context names 5rcno.~QO  
      velocity的context列表 92tb`'  
rpXw 8  
rvfl~<G*  
struts.velocity.manager.classname ome>Jbdhe  
      org.apache.struts2.views.velocity.VelocityManager implementation class Sqge5v  
      org.apache.struts2.views.velocity.VelocityManager接口名 ?PQiVL  
0y ;gi3W  
struts.velocity.toolboxlocation LnyA5T  
      The location of the Velocity toolbox m76]INq  
      velocity工具盒的位置 g,W#3b6>j  
struts.xslt.nocache 9,>M/_8>  
      Whether or not XSLT templates should not be cached #M>E{w9  
      是否XSLT模版应该被缓存 -OW$  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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