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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 k lRS:\dW  
FK$?8Jp  
struts.action.extension s5s'$|h"  
      The URL extension to use to determine if the request is meant for a Struts action Z"# /,?|3@  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6+MZ39xC  
gZFtV  
struts.configuration H^N@fG<*dh  
      The org.apache.struts2.config.Configuration implementation class Z.Sq5\d  
        org.apache.struts2.config.Configuration接口名 kO]],Vy`  
@ y (9LSs  
struts.configuration.files LV:`si K  
      A list of configuration files automatically loaded by Struts +=5Dt7/|  
      struts自动加载的一个配置文件列表 k0=$mmmPY  
\&&jzU2  
struts.configuration.xml.reload pN[G?A  
      Whether to reload the XML configuration or not #8!xIy  
      是否加载xml配置(true,false) f2sv$#'  
-m&8SN  
struts.continuations.package LM*#DLadk  
      The package containing actions that use Rife continuations _VeZ lk7 k  
      含有actions的完整连续的package名称 Z|FWQ8gZ4m  
8TK&i,  
struts.custom.i18n.resources u |h T1l  
      Location of additional localization properties files to load Ax=k0%M[&  
      加载附加的国际化属性文件(不包含.properties后缀) `dH[&=S  
^cE|o&Rm;  
struts.custom.properties l3sL!D1u  
      Location of additional configuration properties files to load -NG`mfu  
      加载附加的配置文件的位置 BwN65_5p  
=%4vrY `  
; 7`y##  
struts.devMode m)A~1+M$)L  
      Whether Struts is in development mode or not 'NM$<<0  
      是否为struts开发模式 +v 9@du  
n]/7UH}(<&  
struts.dispatcher.parametersWorkaround (z}q6Lfa  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~*|0yPFg  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) >f [Lb|t  
 )"im|9  
struts.enable.DynamicMethodInvocation vwZrvjP2  
      Allows one to disable dynamic method invocation from the URL ?jywW$   
        允许动态方法调用 < c[+60p"  
#6[7q6{ 4  
struts.freemarker.manager.classname : kVEB<G  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class .c[v /SB]  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 : -@o3Syg  
^K4#_H#"  
struts.i18n.encoding !BN7 B  
      The encoding to use for localization messages fIo7R-XP  
      国际化信息内码 %)7HBj(*J  
/7$3RV(  
struts.i18n.reload s V70a 3#  
      Whether the localization messages should automatically be reloaded !5rja-h  
      是否国际化信息自动加载 `TM[7'  
:nuMakZZ  
struts.locale Yg5m=Lis  
      The default locale for the Struts application {iGk~qN  
      默认的国际化地区信息 niZ/yW{w  
@$R[Js%MuO  
struts.mapper.class f^8,Z+n  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class p}qNw`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 C.r9)#G  
|22~.9S  
struts.multipart.maxSize -kp! .c  
      The maximize size of a multipart request (file upload) WXqrx*?*+  
      multipart请求信息的最大尺寸(文件上传用) uTN mt]  
;?/v}$Pa  
struts.multipart.parser (UDR=7w)  
      The org.apache.struts2.dispatcher.multipart. $7{|  
      MultiPartRequest parser implementation for a multipart request (file upload) *(PQaXx4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) CU3[{a  
5*=a*nD11  
rrGsam\.  
struts.multipart.saveDir :I(-@2?{  
      The directory to use for storing uploaded files $V$|"KRcs  
      设置存储上传文件的目录夹 Sm;EWz-?  
.".xNHR#  
struts.objectFactory lW! U:  
      The com.opensymphony.xwork2.ObjectFactory implementation class LQ5WS  
      com.opensymphony.xwork2.ObjectFactory接口(spring) k T$yHB #  
%,u_ `P  
struts.objectFactory.spring.autoWire PTfy#  
      Whether Spring should autoWire or not :T5p6:  
      是否自动绑定Spring WlHw\\ur  
Sb=cWn P  
struts.objectFactory.spring.useClassCache WN?1J4H  
      Whether Spring should use its class cache or not 0ad -4  
      是否spring应该使用自身的cache Jsi [,|G  
uf;^yQi  
struts.objectTypeDeterminer ,nqG* o  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class RW!D! ~  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +kF$I7LN  
R v6 1*F4  
struts.serve.static.browserCache YYFJJ,7?  
If static content served by the Struts filter should set browser caching header properties or not tcYbM+4e  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 zmf`}j[  
F&}>2QiL  
struts.serve.static uJ<sa;  
      Whether the Struts filter should serve static content or not ;H5H7ezV  
      是否struts过滤器应该提供静态内容 YKwej@9,  
J]8nbl  
struts.tag.altSyntax sy+o{] N  
      Whether to use the alterative syntax for the tags or not r40#-A$  
      是否可以用替代的语法替代tags jHPJk8@y  
#/'5N|?  
struts.ui.templateDir )Yvf9dl  
      The directory containing UI templates ar.w'z  
      UI templates的目录夹 7dl]f#uZU  
JV|GE n\@N  
struts.ui.theme ^E&':6(  
      The default UI template theme FHVZ/ e  
      默认的UI template主题 @,i_ KN6C  
yBKkx@o#z  
struts.url.http.port M IPmsEdBi  
      The HTTP port used by Struts URLs Fy N@mX  
      设置http端口 pqPhtWi%PJ  
xX l^\?HC  
struts.url.https.port CybHr#LBc  
      The HTTPS port used by Struts URLs >&h#t7<  
      设置https端口 K29]B~0%E  
BJDe1W3;'  
struts.url.includeParams 9.R)iA  
      The default includeParams method to generate Struts URLs ($^XF:#5  
      在url中产生 默认的includeParams 3 }Z [d  
(KaP=t}  
WAlsh  
struts.velocity.configfile o0Qy?14T-  
      The Velocity configuration file path T$/6qZew  
      velocity配置文件路径 ~g$Pb[V  
o.DT`L8  
struts.velocity.contexts JFVal#  
      List of Velocity context names T69'ta32V  
      velocity的context列表 HVzG }r(J  
'ypJGm  
SS@F:5),  
struts.velocity.manager.classname 4CO:*qG)o  
      org.apache.struts2.views.velocity.VelocityManager implementation class '|n-w\ >Wv  
      org.apache.struts2.views.velocity.VelocityManager接口名 Hw8`/'M=%5  
{.2A+JT,  
struts.velocity.toolboxlocation n|F$qV_p\  
      The location of the Velocity toolbox HqXaT6#/  
      velocity工具盒的位置 b]hP;QK`U$  
struts.xslt.nocache O#Ab1FQn  
      Whether or not XSLT templates should not be cached \?)@ #Qs  
      是否XSLT模版应该被缓存 6P;JF%{J  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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