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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 RwyRPc _  
UD}#c:I  
struts.action.extension Z:3SI$tO  
      The URL extension to use to determine if the request is meant for a Struts action Ptj[9R  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /.>8e%)  
{ M&Vh]  
struts.configuration "2 "gTS  
      The org.apache.struts2.config.Configuration implementation class I/V lH:o  
        org.apache.struts2.config.Configuration接口名 EnD }|9  
lU&[){  
struts.configuration.files KYN{Dh]-}  
      A list of configuration files automatically loaded by Struts I`-N]sf^  
      struts自动加载的一个配置文件列表  @& fAR2  
Rt=zqfJ  
struts.configuration.xml.reload  roNRbA]  
      Whether to reload the XML configuration or not mNDz|Ln  
      是否加载xml配置(true,false) Ap)[;_9BD  
T2/lvvG  
struts.continuations.package + 2?=W1`  
      The package containing actions that use Rife continuations PbpnjvVrM  
      含有actions的完整连续的package名称 v62O+{  
Z36C7 kw  
struts.custom.i18n.resources S#{gCc  
      Location of additional localization properties files to load |b^+= "  
      加载附加的国际化属性文件(不包含.properties后缀) CYFi_6MFl  
5N.-m;s  
struts.custom.properties O4lHR6M2  
      Location of additional configuration properties files to load {.mP e|  
      加载附加的配置文件的位置 i0/RvrLc  
TP R$oO2  
f:hsE  
struts.devMode !${7)=|=1  
      Whether Struts is in development mode or not !]*Cwbh. u  
      是否为struts开发模式 uzgQ_  
JDp{d c  
struts.dispatcher.parametersWorkaround M|DVFC  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;FfDi*S7  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) l+HF+v$  
mMSQW6~j  
struts.enable.DynamicMethodInvocation qGVf! R  
      Allows one to disable dynamic method invocation from the URL +p"}F PIK  
        允许动态方法调用 mJN*DP{  
05PRlz *x=  
struts.freemarker.manager.classname P~d&PhOe  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class x4=Sm0Ro|V  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *3Qwmom  
oQ:.pq{T  
struts.i18n.encoding mtd ,m  
      The encoding to use for localization messages pEp`Z,p  
      国际化信息内码 P#o"T4 >  
56`Tna,t  
struts.i18n.reload o4PJ9x5R!  
      Whether the localization messages should automatically be reloaded ~4^~w#R  
      是否国际化信息自动加载 =&~7Q"  
9S_PZH  
struts.locale vOQ 3A%/  
      The default locale for the Struts application l2Pry'3  
      默认的国际化地区信息 aP&bW))CI  
e !2SO*O  
struts.mapper.class orON)S ks  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class c0aXOG^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 u/_TR;u= q  
;U)xZ _Ew~  
struts.multipart.maxSize 3Z%~WE;I  
      The maximize size of a multipart request (file upload) W{W8\  
      multipart请求信息的最大尺寸(文件上传用) 1LZ[i89&%  
~;S  
struts.multipart.parser kH'zTO1  
      The org.apache.struts2.dispatcher.multipart. }N,$4h9Dj  
      MultiPartRequest parser implementation for a multipart request (file upload) =IH~:D\&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) o|G[/o2  
XDQ5qfE|  
A2 9R5  
struts.multipart.saveDir dtx3;d<NsJ  
      The directory to use for storing uploaded files OUFx M  
      设置存储上传文件的目录夹 1"yr`,}?8r  
n4sO#p)'  
struts.objectFactory ? dh  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;k |U2ajFJ  
      com.opensymphony.xwork2.ObjectFactory接口(spring) z)Gd3C  
DmtCEKa  
struts.objectFactory.spring.autoWire -\[H>)z]RB  
      Whether Spring should autoWire or not QCAoL.v  
      是否自动绑定Spring e%_J O7  
OaeX:r+&Q  
struts.objectFactory.spring.useClassCache f>hA+  
      Whether Spring should use its class cache or not *hvC0U@3  
      是否spring应该使用自身的cache d+o.J",E  
C2}f'  
struts.objectTypeDeterminer /N9ct4 {^  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W\Df:P {<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 E! GH$%:;  
c4V%>A  
struts.serve.static.browserCache iz%wozf  
If static content served by the Struts filter should set browser caching header properties or not cNl NJ  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 L+.&e4f'oj  
W7#dc89}  
struts.serve.static 8vqx}2  
      Whether the Struts filter should serve static content or not 4&kC8 [r  
      是否struts过滤器应该提供静态内容 Bw/8-:eb  
:Xi&H.k)p  
struts.tag.altSyntax g^: & Dh  
      Whether to use the alterative syntax for the tags or not u*=8s5Q[  
      是否可以用替代的语法替代tags 572{DC&T  
V| &->9"  
struts.ui.templateDir Ji)Ys ebV  
      The directory containing UI templates !9t,#?!  
      UI templates的目录夹 ^_gH}~l+U  
e);`hNLih  
struts.ui.theme Z^!% b  
      The default UI template theme "IN[(  
      默认的UI template主题 Qg]+&8!*  
%k'>bmJ  
struts.url.http.port <&RpGAk%I  
      The HTTP port used by Struts URLs %jJ|4\  
      设置http端口 $a'}7Q_  
=&I9d;7  
struts.url.https.port IOT-R!.5V  
      The HTTPS port used by Struts URLs 4$+1&+@ ]  
      设置https端口 Qo~|[]GE  
J'C9}7G  
struts.url.includeParams `0, G' F  
      The default includeParams method to generate Struts URLs t>! Ok  
      在url中产生 默认的includeParams mg]t)+PQ  
i_(6} Y&  
4;*jE (  
struts.velocity.configfile HtV8=.^  
      The Velocity configuration file path H1.ktG  
      velocity配置文件路径 rS8}(lf  
.XT]\'vW  
struts.velocity.contexts -v! ;  
      List of Velocity context names gA}?X  
      velocity的context列表 zfw=U \  
3Fw7q"  
:cvT/xhO  
struts.velocity.manager.classname ON9L+"vqv0  
      org.apache.struts2.views.velocity.VelocityManager implementation class #y-R*4G  
      org.apache.struts2.views.velocity.VelocityManager接口名 Du #>y!  
goe %'k,  
struts.velocity.toolboxlocation -}u1ZEND  
      The location of the Velocity toolbox 0`V;;w8  
      velocity工具盒的位置 xz Hb+1+p  
struts.xslt.nocache [/o B jiBA  
      Whether or not XSLT templates should not be cached z HT#bP:o  
      是否XSLT模版应该被缓存 #/> a`Ur_  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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