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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 sxFkpf_h  
CFyu9Al  
struts.action.extension akB+4?+s)  
      The URL extension to use to determine if the request is meant for a Struts action WG=~GDS>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Vp j[)W%L  
<Gkmk?x`A  
struts.configuration z)&ZoSXWc  
      The org.apache.struts2.config.Configuration implementation class ^7>k:|7-t  
        org.apache.struts2.config.Configuration接口名 IMtfi(Y%F  
"D1u2>(  
struts.configuration.files i]M:ntB"  
      A list of configuration files automatically loaded by Struts * j]"I=D  
      struts自动加载的一个配置文件列表 2GC{+*  
9qXKHro  
struts.configuration.xml.reload }Z Nyd  
      Whether to reload the XML configuration or not ]p5]n*0X  
      是否加载xml配置(true,false) E[2>je  
5w$\x+no  
struts.continuations.package 0` \!O(jJ  
      The package containing actions that use Rife continuations dAkJ5\=*  
      含有actions的完整连续的package名称 052e zh_  
7IUu] Fi  
struts.custom.i18n.resources Gbrc!3K2  
      Location of additional localization properties files to load gyf9D]W  
      加载附加的国际化属性文件(不包含.properties后缀) T\b-<Xle  
h<I C d'!  
struts.custom.properties U,2H) {l/  
      Location of additional configuration properties files to load (&^k''f  
      加载附加的配置文件的位置 ;N;['xcx;  
y$6~&X  
nkii0YB!  
struts.devMode 8^>qzaf 8  
      Whether Struts is in development mode or not C^8n;i9  
      是否为struts开发模式 |E5\_Z  
!aQQq[  
struts.dispatcher.parametersWorkaround ,wPvv(b]a  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZtPnHs.x  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) uk=f /nT  
\6WVs>z  
struts.enable.DynamicMethodInvocation g r[M-U  
      Allows one to disable dynamic method invocation from the URL ;2%8tV$V  
        允许动态方法调用 I5mtr  
W&`{3L  
struts.freemarker.manager.classname m(o^9R_=^9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class "nQ&~KQ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 0P7sMCYu  
)E>nr Z  
struts.i18n.encoding ~D1&CT#s  
      The encoding to use for localization messages |w3b!  
      国际化信息内码 2SV}mK U  
ilr'<5 rq  
struts.i18n.reload yZcnky  
      Whether the localization messages should automatically be reloaded lZ>j:/R8^&  
      是否国际化信息自动加载 ngI3.v/R  
cypb 6Q_  
struts.locale S2,tv  
      The default locale for the Struts application [oS4W P  
      默认的国际化地区信息 vn5O8sD  
odaCKhdk  
struts.mapper.class L2<IG)oXU  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class <2,NWn.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :N>n1tHL;A  
zPn 2  
struts.multipart.maxSize 9_ru*j\  
      The maximize size of a multipart request (file upload) !)-)*T  
      multipart请求信息的最大尺寸(文件上传用) g;mX{p_@  
A8oTcX_  
struts.multipart.parser o<Y[GW1pg  
      The org.apache.struts2.dispatcher.multipart. :HW\awv  
      MultiPartRequest parser implementation for a multipart request (file upload) ])tUXU>  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }{y(&Oy3Y  
7*I:cga  
)p!.V( ,  
struts.multipart.saveDir =Owr l'@|T  
      The directory to use for storing uploaded files v-ZTl4j$  
      设置存储上传文件的目录夹 -J' 0qN!  
yhG%@vSq  
struts.objectFactory odsLFU(  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,6AnuA  
      com.opensymphony.xwork2.ObjectFactory接口(spring) %`)lCK)2  
Yx3ivjX.>  
struts.objectFactory.spring.autoWire -.!+i8d>  
      Whether Spring should autoWire or not :pXY/Pa  
      是否自动绑定Spring unD.t  
|D1:~z  
struts.objectFactory.spring.useClassCache a4E{7c  
      Whether Spring should use its class cache or not iRK&-wn  
      是否spring应该使用自身的cache Xt9vTCox  
d$qi. %<kh  
struts.objectTypeDeterminer 7,7-E&d  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Or3GrZ!H  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 tQWjNP~  
tB{HH%cV  
struts.serve.static.browserCache =V>inH  
If static content served by the Struts filter should set browser caching header properties or not )&vuT q'7'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 e<+$E%"7hS  
Rx,5?*b$  
struts.serve.static g)L<xN8  
      Whether the Struts filter should serve static content or not [M/0Qx[,  
      是否struts过滤器应该提供静态内容 f(UB$^4  
^{ {0ajI9C  
struts.tag.altSyntax U ljWBd  
      Whether to use the alterative syntax for the tags or not =lZtI6tZ  
      是否可以用替代的语法替代tags cJLAP%.L  
=Vat2'>+  
struts.ui.templateDir /mG-g%gE  
      The directory containing UI templates u ?7^+z  
      UI templates的目录夹 G<M9 6V  
u8r<B4k  
struts.ui.theme B]#^&89wG)  
      The default UI template theme F_d>@-<  
      默认的UI template主题 WG]`Sy  
q{CD:I:-  
struts.url.http.port U uEm{  
      The HTTP port used by Struts URLs Dt:NBN  
      设置http端口 Iq@&?,W  
Z_Y' 3'^Tw  
struts.url.https.port 51gSbkVX  
      The HTTPS port used by Struts URLs LMHii Os,  
      设置https端口 ~+S,`8-P  
DI0Wk^m  
struts.url.includeParams Pe/8=+qO  
      The default includeParams method to generate Struts URLs 6lob&+  
      在url中产生 默认的includeParams ?M B Od9  
AwtiV-w  
/{>_'0  
struts.velocity.configfile :j&-Lc  
      The Velocity configuration file path e4LJ3y&z"  
      velocity配置文件路径 p1!-|Sqq  
vI \8@97  
struts.velocity.contexts Av>xgfX  
      List of Velocity context names I_5[-9  
      velocity的context列表 M4)Y%EPc  
`l?(zy:R  
*?rO@sQy]  
struts.velocity.manager.classname A_g\Fa[jG  
      org.apache.struts2.views.velocity.VelocityManager implementation class ;Iax \rQ  
      org.apache.struts2.views.velocity.VelocityManager接口名 .2V?G]u  
?h)T\z  
struts.velocity.toolboxlocation ok1-`c P  
      The location of the Velocity toolbox !:c_i,N  
      velocity工具盒的位置 >ud u~  
struts.xslt.nocache 7G=Q9^J.H  
      Whether or not XSLT templates should not be cached ijACfl{!:t  
      是否XSLT模版应该被缓存 +:3s f%0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五