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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |%:q hs,  
f>s#Ngvc  
struts.action.extension 0{"dI;b%  
      The URL extension to use to determine if the request is meant for a Struts action } Jdh^t.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 yRq8;@YGY  
 u]1-h6  
struts.configuration AF*ni~  
      The org.apache.struts2.config.Configuration implementation class Lt;.Nw  
        org.apache.struts2.config.Configuration接口名 ~4=]%XYz  
,<;l"v(  
struts.configuration.files K4?t' dd]  
      A list of configuration files automatically loaded by Struts JO& ;bT<  
      struts自动加载的一个配置文件列表 aR="5{en{:  
,);= (r9  
struts.configuration.xml.reload , `[Z`SUk`  
      Whether to reload the XML configuration or not Qe @A5#  
      是否加载xml配置(true,false) =e-a&Ep-z  
Ersr\ZB  
struts.continuations.package u:AfHZ  
      The package containing actions that use Rife continuations D y`W5_xSz  
      含有actions的完整连续的package名称 B7Ki @)  
]|C_`,ux  
struts.custom.i18n.resources 5A2Y'ms,/  
      Location of additional localization properties files to load 0,1L e$)6  
      加载附加的国际化属性文件(不包含.properties后缀) D% v:PYf  
P EX26==  
struts.custom.properties _q$0lqq~u  
      Location of additional configuration properties files to load %2@ Tj}xa  
      加载附加的配置文件的位置 |z!q r}i  
Q QsVIHA  
wL8bs- U  
struts.devMode (1kn):  
      Whether Struts is in development mode or not 'uP'P#  
      是否为struts开发模式 (opROsFh  
.KiPNTh'  
struts.dispatcher.parametersWorkaround B%%.@[o,  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic <?> I\  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ny!lj a5[  
SQdz EF  
struts.enable.DynamicMethodInvocation z`86-Ov  
      Allows one to disable dynamic method invocation from the URL X \b}jo^96  
        允许动态方法调用 a<57(Sf  
@MN}^umx`  
struts.freemarker.manager.classname ;e#>n!<u  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class *tTP8ZCQ[  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 `G"|MM>P  
(B>yaM#5  
struts.i18n.encoding p~Yy"Ec;p  
      The encoding to use for localization messages D+ah ok  
      国际化信息内码 Hl^aUp.c  
P|unUW(P  
struts.i18n.reload "xe7Dl  
      Whether the localization messages should automatically be reloaded 4cXAT9  
      是否国际化信息自动加载 b[J-ja.  
Eonq'Re$  
struts.locale %K&+~CJE  
      The default locale for the Struts application %mK3N2N$  
      默认的国际化地区信息 8~&F/C*  
6pM"h5hA  
struts.mapper.class lF; ziF  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Z #.GI  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 i#L6UKe:Q  
_9Dn \=g  
struts.multipart.maxSize &#.x)>f  
      The maximize size of a multipart request (file upload)  aNOAu/  
      multipart请求信息的最大尺寸(文件上传用) &K9VEMCEX  
".~Mm F  
struts.multipart.parser 5z9r S<  
      The org.apache.struts2.dispatcher.multipart. T!m42EvIvE  
      MultiPartRequest parser implementation for a multipart request (file upload) $\0cJCQ3  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) jHkyF`<+  
fap|SMGt  
9l]UE0yTL/  
struts.multipart.saveDir v?Z'[l  
      The directory to use for storing uploaded files i>ESEmb-  
      设置存储上传文件的目录夹 >VRo|o<D  
g)=V#Bglv  
struts.objectFactory 4'+d"Ok  
      The com.opensymphony.xwork2.ObjectFactory implementation class T4V[R N  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 96.IuwL*.s  
 4 "pS  
struts.objectFactory.spring.autoWire C $]5l; `  
      Whether Spring should autoWire or not U -Af7qO  
      是否自动绑定Spring #t"9TP  
vqrBRlZ  
struts.objectFactory.spring.useClassCache M*g2VyZ  
      Whether Spring should use its class cache or not $x;tSJ)m~  
      是否spring应该使用自身的cache Nf=C?`L  
)x$!K[=  
struts.objectTypeDeterminer ,3wI~ j=  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #rhVzN-?)W  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2LCc  
&M0o&C-1/  
struts.serve.static.browserCache pd=7^"[};  
If static content served by the Struts filter should set browser caching header properties or not N; rXl8  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 b*lKT]D,  
S9OxI$6Y  
struts.serve.static hVlyEsLg  
      Whether the Struts filter should serve static content or not &E.OyqGZV  
      是否struts过滤器应该提供静态内容 euRCBzc  
/'-:=0a  
struts.tag.altSyntax ::4"wU3t  
      Whether to use the alterative syntax for the tags or not  K&j' c  
      是否可以用替代的语法替代tags z `\# $  
@Djs[Cs<*  
struts.ui.templateDir '9^E8+=|  
      The directory containing UI templates b cC\  
      UI templates的目录夹 "AT&!t[J  
<$"7~i /X  
struts.ui.theme lKf Mp1  
      The default UI template theme @)  
      默认的UI template主题 L=d$"Q  
qv.[k<~a>  
struts.url.http.port IJ hxE  
      The HTTP port used by Struts URLs MNkKy(Za  
      设置http端口 ' " Bex`  
V %i<;C  
struts.url.https.port Zk wJ.SuU  
      The HTTPS port used by Struts URLs B#J{F  
      设置https端口 $`E4m8fX  
uEBQoP2  
struts.url.includeParams YavfjS:2  
      The default includeParams method to generate Struts URLs P1dN32H o  
      在url中产生 默认的includeParams !?yxh/>lM  
^%-NPo<  
G=vN;e_$_b  
struts.velocity.configfile g<M0|eX@~  
      The Velocity configuration file path eT;AAGql  
      velocity配置文件路径 1UC2zM"  
6(:)otz  
struts.velocity.contexts *hV4[=  
      List of Velocity context names 1oB$MQoc  
      velocity的context列表 |p;4dL  
fwRGT|":B  
0rV/qMo;K  
struts.velocity.manager.classname 2q+la|1Cr  
      org.apache.struts2.views.velocity.VelocityManager implementation class Q?W r7  
      org.apache.struts2.views.velocity.VelocityManager接口名 ,Yo: &>As  
x<8\-  
struts.velocity.toolboxlocation t9ER;.e  
      The location of the Velocity toolbox >Ja0hS{*  
      velocity工具盒的位置 ggMUdlU  
struts.xslt.nocache &Y 'z?N  
      Whether or not XSLT templates should not be cached AlUJ1^o)  
      是否XSLT模版应该被缓存 r i,2clp  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八