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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 R%Qf7Q  
*'OxAfa#x  
struts.action.extension `NnUyQ;T  
      The URL extension to use to determine if the request is meant for a Struts action ?i)f^O  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 l,R/Gl  
XxT#X3D/,"  
struts.configuration qd9cI&  
      The org.apache.struts2.config.Configuration implementation class vqnw#U4`  
        org.apache.struts2.config.Configuration接口名 Ipf|")*  
!,l9@eJQ  
struts.configuration.files m#8m] Y  
      A list of configuration files automatically loaded by Struts CAWA3fcQp  
      struts自动加载的一个配置文件列表 c;%_EN%  
wmk *h-  
struts.configuration.xml.reload >NqYyW,%  
      Whether to reload the XML configuration or not Ot:CPm@  
      是否加载xml配置(true,false) Vx(B{5>Vu  
RSr %n1  
struts.continuations.package I[=j&rK`  
      The package containing actions that use Rife continuations l/BLUl~z  
      含有actions的完整连续的package名称 Jpj}@,  
3,>0a  
struts.custom.i18n.resources pwO>h>ik  
      Location of additional localization properties files to load CEXyrs<  
      加载附加的国际化属性文件(不包含.properties后缀) 3b*cU}go  
=7-9[{  
struts.custom.properties e8y;.D[2  
      Location of additional configuration properties files to load j;%-fvd;  
      加载附加的配置文件的位置 oE<`VY|  
Wc,_RN-  
QZ4v/Ou  
struts.devMode x1Lb*3Fe  
      Whether Struts is in development mode or not +~'865{  
      是否为struts开发模式 ICuF %  
P1zKsY,l$<  
struts.dispatcher.parametersWorkaround rW0kA1=E  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZZWD8 AX  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) A54N\x,  
Dakoqke  
struts.enable.DynamicMethodInvocation >C7r:%  
      Allows one to disable dynamic method invocation from the URL xgABpikC^  
        允许动态方法调用 rE i Ki  
WxW7qt  
struts.freemarker.manager.classname ~;Ov-^tp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  gG uZ8:f  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 <!L>Exh&r  
bQE};wM,  
struts.i18n.encoding ^=C{.{n  
      The encoding to use for localization messages ?bPRxR  
      国际化信息内码 "XB[|#&  
]NjX?XdX<  
struts.i18n.reload O>SLOWgha  
      Whether the localization messages should automatically be reloaded x6(~;J  
      是否国际化信息自动加载 q:l>O5  
L/wD7/ODr  
struts.locale e@c0WlWa  
      The default locale for the Struts application 7P" | J\  
      默认的国际化地区信息 0*%Z's\M"  
OH;b"]  
struts.mapper.class D0gZC  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class -9"['-WH,  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 'I_Qb$  
0zo?eI  
struts.multipart.maxSize 9dFy"yxYa  
      The maximize size of a multipart request (file upload) e&7JpT  
      multipart请求信息的最大尺寸(文件上传用) /[O(ea$U  
PH`9MXh  
struts.multipart.parser ="x\`+U  
      The org.apache.struts2.dispatcher.multipart. =jSb'Vu|  
      MultiPartRequest parser implementation for a multipart request (file upload) A~Y^VEn  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b}0,\B%  
6;C3RU]  
:q=%1~Idla  
struts.multipart.saveDir 1v,Us5s<"6  
      The directory to use for storing uploaded files 1=#q5dZ]  
      设置存储上传文件的目录夹 /3;4#:Kkw  
7.C;NT  
struts.objectFactory *4_jA](  
      The com.opensymphony.xwork2.ObjectFactory implementation class !vX D  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^ s1Q*He  
a-l; vDs  
struts.objectFactory.spring.autoWire $"0MU  
      Whether Spring should autoWire or not HU%o6cw  
      是否自动绑定Spring K/A*<<r ~  
8d?g]DEN)6  
struts.objectFactory.spring.useClassCache "5;;)\o ~  
      Whether Spring should use its class cache or not ?z}=B  
      是否spring应该使用自身的cache hZh9uI7.  
^[]}R:  
struts.objectTypeDeterminer f~Fm4 >\(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class x\F,SEj  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b|cyjDMAA  
20vXSYa~  
struts.serve.static.browserCache g) p,5BADm  
If static content served by the Struts filter should set browser caching header properties or not >2~+.WePu  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 uvtF_P/  
.{ 44a$)  
struts.serve.static J\d3N7_d  
      Whether the Struts filter should serve static content or not T _sTC)&a  
      是否struts过滤器应该提供静态内容 :/:.Kb  
8aO~/i:(.  
struts.tag.altSyntax s_x:T<]  
      Whether to use the alterative syntax for the tags or not @7n/Q(  
      是否可以用替代的语法替代tags @kk4]:,w  
ojQI7 Uhw  
struts.ui.templateDir H,+I2tEs  
      The directory containing UI templates H2Z1TIh  
      UI templates的目录夹 ]?3un!o3o  
zXv3:uRp.  
struts.ui.theme e_s&L,ze  
      The default UI template theme ?47@ o1  
      默认的UI template主题 Vnx,5E&  
?"zY" *>4  
struts.url.http.port RQ'exc2x0  
      The HTTP port used by Struts URLs 6:q"l\n>  
      设置http端口 h.-@ F  
~.A)bp  
struts.url.https.port 5O~HWBX.  
      The HTTPS port used by Struts URLs Mr?Xp(.}G  
      设置https端口 j6>.n49_  
.u:81I=w(  
struts.url.includeParams r) $+   
      The default includeParams method to generate Struts URLs (4'$y`Z  
      在url中产生 默认的includeParams P`#Z9 HM4  
g)s{ IAVx  
*.\  
struts.velocity.configfile hF@Gn/  
      The Velocity configuration file path }Z{=|rVE  
      velocity配置文件路径 Ggl~nxz  
,Y|^^?'j Q  
struts.velocity.contexts bx]N>k J  
      List of Velocity context names IX*idcxR  
      velocity的context列表 XK|R8rhg8`  
si&S%4(  
]xX$<@HR  
struts.velocity.manager.classname 0KMctPT]p  
      org.apache.struts2.views.velocity.VelocityManager implementation class }-~X4u#   
      org.apache.struts2.views.velocity.VelocityManager接口名 yHHt(GM|o  
#{k|I$  
struts.velocity.toolboxlocation f>piHh?  
      The location of the Velocity toolbox h3*Zfl<]  
      velocity工具盒的位置 3pK*~VK  
struts.xslt.nocache L:_bg8eD#  
      Whether or not XSLT templates should not be cached u:m]CPz  
      是否XSLT模版应该被缓存 Z9575CI<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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