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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 e=YvM g  
xJ,V !N  
struts.action.extension t:W`=^  
      The URL extension to use to determine if the request is meant for a Struts action cD7q;|+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 $lUZm\R|k  
lxV> rmD  
struts.configuration qxk1Rzm?x  
      The org.apache.struts2.config.Configuration implementation class $vicxE~-E  
        org.apache.struts2.config.Configuration接口名 O(CUwk  
1#XMUbFc  
struts.configuration.files )KkA<O}f  
      A list of configuration files automatically loaded by Struts aMT&}3  
      struts自动加载的一个配置文件列表 9Lv`3J^~  
}&ZO q'B  
struts.configuration.xml.reload b5KX`r  
      Whether to reload the XML configuration or not *pj&^W?  
      是否加载xml配置(true,false) @eR>?.:&  
AuSL?kZ4|Y  
struts.continuations.package *|MPYxJ<  
      The package containing actions that use Rife continuations H!HkXm"  
      含有actions的完整连续的package名称 tXwnK[~x  
4_)@Nq  
struts.custom.i18n.resources jwGd*8 /  
      Location of additional localization properties files to load Ws'3*HAce  
      加载附加的国际化属性文件(不包含.properties后缀) i $#bg^  
9CW .xX8  
struts.custom.properties Iy\K&)5?  
      Location of additional configuration properties files to load izOtt^#DZt  
      加载附加的配置文件的位置 t4 $cMf  
4WU 6CN  
qJUu9[3'm  
struts.devMode (7&[!PS  
      Whether Struts is in development mode or not %5$yz|:  
      是否为struts开发模式 8q}`4wCD$  
<{:$ ]3  
struts.dispatcher.parametersWorkaround & Z*&&  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic , En D3 |  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) {-tCLkE 3  
|G!-FmIK  
struts.enable.DynamicMethodInvocation nTp?  
      Allows one to disable dynamic method invocation from the URL `G6Nk@9.  
        允许动态方法调用 bv-s}UP0  
ps^Z)x`GV  
struts.freemarker.manager.classname sYgpK92  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class D<C ZhYJ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /mF%uI>:  
<LH(>  
struts.i18n.encoding cC b'z1  
      The encoding to use for localization messages P]1`=-  
      国际化信息内码 02SFFqm  
$D<LND=o=  
struts.i18n.reload _L<IxOZh+  
      Whether the localization messages should automatically be reloaded FNtcI7  
      是否国际化信息自动加载 44]/rP_m  
9^x'x@6  
struts.locale &qF   
      The default locale for the Struts application Q3'\Vj,S&  
      默认的国际化地区信息 FlgK:=Fmj  
0Evq</  
struts.mapper.class fMP$o3;  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ="JLUq*]s  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !*'uPw:l2  
Sc`W'q^X  
struts.multipart.maxSize Si.3Je[q  
      The maximize size of a multipart request (file upload) Tz:mj  
      multipart请求信息的最大尺寸(文件上传用) rq:R6e  
/2tgxm$}  
struts.multipart.parser ;gP@d`s  
      The org.apache.struts2.dispatcher.multipart. XN'x`%!*3#  
      MultiPartRequest parser implementation for a multipart request (file upload) 9YwK1[G6/  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) -[^aWNqyJ  
#0zMPh /U}  
ej4xW~_  
struts.multipart.saveDir 3 T+#d-\  
      The directory to use for storing uploaded files /:~mRf^  
      设置存储上传文件的目录夹 _r^Cu.[7  
:?O+EE  
struts.objectFactory .q"`)PT  
      The com.opensymphony.xwork2.ObjectFactory implementation class Mnn\y Tblp  
      com.opensymphony.xwork2.ObjectFactory接口(spring) UMuRB>ey  
0L9z[2sj  
struts.objectFactory.spring.autoWire hWP$U  
      Whether Spring should autoWire or not k}(C.`.  
      是否自动绑定Spring 6av]L YK  
:} i #ODJ  
struts.objectFactory.spring.useClassCache n3SCiSr  
      Whether Spring should use its class cache or not %ZDo;l+<F6  
      是否spring应该使用自身的cache F]:@?}8R  
Ml@,xJ/aia  
struts.objectTypeDeterminer j,?>Q4G  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class TO ^}z  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 o4^rE<vJ  
%3M1zZY  
struts.serve.static.browserCache H.3+5 po  
If static content served by the Struts filter should set browser caching header properties or not A'^y+42jY  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &!x!j ,nT  
*fQ$s  
struts.serve.static IV]s!  
      Whether the Struts filter should serve static content or not EZ15  
      是否struts过滤器应该提供静态内容 ]2`PS<a2  
X~(%Y#6  
struts.tag.altSyntax 3C=ON.1eg  
      Whether to use the alterative syntax for the tags or not ~G+o;N,V  
      是否可以用替代的语法替代tags vN=e1\  
p~vq1D6  
struts.ui.templateDir 5xtIez]x?  
      The directory containing UI templates Ztu _UlGC  
      UI templates的目录夹 2y s'q !  
By%mJ%$~  
struts.ui.theme WqlX'tA  
      The default UI template theme  ky0Fm W  
      默认的UI template主题 J5b>mTvb  
;'CWAJK  
struts.url.http.port Ou/JN+2A  
      The HTTP port used by Struts URLs V<A_c^unO  
      设置http端口 EdbL AagI6  
;4tmnC>OnA  
struts.url.https.port M@ t,P?  
      The HTTPS port used by Struts URLs > 1 {V  
      设置https端口 B! $a Y  
f mXU)  
struts.url.includeParams mltG4R ?  
      The default includeParams method to generate Struts URLs KjFNb;mM  
      在url中产生 默认的includeParams 2mg4*Ys  
U>PF#@ C/  
vs]#?3+  
struts.velocity.configfile _1 TSt%L  
      The Velocity configuration file path sq1Z;l31"  
      velocity配置文件路径 a"ZBSg(  
-L<''2t  
struts.velocity.contexts NZ`Mq  
      List of Velocity context names XMzL\Edo  
      velocity的context列表 Z\Qa6f!  
ky*-THS  
6P@3UQ)}s  
struts.velocity.manager.classname 8#b>4 Dx  
      org.apache.struts2.views.velocity.VelocityManager implementation class $Pv;>fHu  
      org.apache.struts2.views.velocity.VelocityManager接口名 7UM!<@9\  
wju2xM  
struts.velocity.toolboxlocation 9,g &EnvG  
      The location of the Velocity toolbox I[E/)R{\  
      velocity工具盒的位置 IWbW=0IsS  
struts.xslt.nocache |a/1mUxQ&  
      Whether or not XSLT templates should not be cached ug47JW  
      是否XSLT模版应该被缓存 "9mJ$us  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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