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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 QYH."7X >  
98h :X%  
struts.action.extension @|E;}:?u  
      The URL extension to use to determine if the request is meant for a Struts action Lp!0H `L  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |$Qp0vOA}  
,RR;VKj  
struts.configuration Oe/73| >U  
      The org.apache.struts2.config.Configuration implementation class xSx&79Ez<*  
        org.apache.struts2.config.Configuration接口名 pmoGudaRF  
:&qC<UD  
struts.configuration.files gO9'q='5l  
      A list of configuration files automatically loaded by Struts u/;_?zI  
      struts自动加载的一个配置文件列表 cl@kRX<7'  
FoQ?U=er  
struts.configuration.xml.reload 4v0dd p  
      Whether to reload the XML configuration or not KUlB2Fqi  
      是否加载xml配置(true,false) "OVi /:*B  
0 -!?W  
struts.continuations.package ^M [#^wv,  
      The package containing actions that use Rife continuations =A$Lgk>|  
      含有actions的完整连续的package名称 GA(OK-WUd  
4P`PmQ=GQh  
struts.custom.i18n.resources v^<<[I2 C  
      Location of additional localization properties files to load i0VhG :O;  
      加载附加的国际化属性文件(不包含.properties后缀) /4(Z`e;0  
h\/^Aa0  
struts.custom.properties /L)?> tg  
      Location of additional configuration properties files to load YomwjKyuP  
      加载附加的配置文件的位置 ~wa%fM  
p .lu4  
qK{| Q  
struts.devMode ;_>s0rUV  
      Whether Struts is in development mode or not b=V)?"e-  
      是否为struts开发模式 CM`x>J  
RA#\x.  
struts.dispatcher.parametersWorkaround K3a>^g  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic L-`(!j  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Q -M rH   
7ytm .lU  
struts.enable.DynamicMethodInvocation .L~fFns/  
      Allows one to disable dynamic method invocation from the URL aIQrb  
        允许动态方法调用 !&'# a  
k,a,h^{}j  
struts.freemarker.manager.classname #"=%b e3  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class  =|^X$H  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q2[+-B)m  
(qNco8QKu3  
struts.i18n.encoding U p_>y>x  
      The encoding to use for localization messages Ngn\nkf  
      国际化信息内码 I/u'bDq  
#Y/97_2 xa  
struts.i18n.reload I[tAT[ <  
      Whether the localization messages should automatically be reloaded >&*6Fqd  
      是否国际化信息自动加载 0Ei\VVK>  
+I^+k"  
struts.locale c ,Qw;  
      The default locale for the Struts application tVC@6Z$  
      默认的国际化地区信息 ^nG1/}  
Vww@eK%5Q  
struts.mapper.class ;+S2h-4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class plzE  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 pA*D/P-  
zfk'>_'  
struts.multipart.maxSize EG'7}W  
      The maximize size of a multipart request (file upload) i)A`Vpn  
      multipart请求信息的最大尺寸(文件上传用) _Cu[s?,kS  
OI)&vQ5k  
struts.multipart.parser 3N(8| wh  
      The org.apache.struts2.dispatcher.multipart. 0SAG6k~x  
      MultiPartRequest parser implementation for a multipart request (file upload) z4 4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 34"{rMbQ  
?q+8 /2  
:7HVBH  
struts.multipart.saveDir gubb .EY  
      The directory to use for storing uploaded files =YS!soO  
      设置存储上传文件的目录夹 Y9z:xE  
s98: *o3  
struts.objectFactory ,\.YJD>z  
      The com.opensymphony.xwork2.ObjectFactory implementation class QT7w::ht  
      com.opensymphony.xwork2.ObjectFactory接口(spring) sV9{4T~#|  
g @c=Bt$  
struts.objectFactory.spring.autoWire jEC'l]l  
      Whether Spring should autoWire or not TKj/6Jz|  
      是否自动绑定Spring e_fg s>o`(  
},?-$eyX  
struts.objectFactory.spring.useClassCache AlPL;^Y_l  
      Whether Spring should use its class cache or not O^QR;<t'  
      是否spring应该使用自身的cache P^'>dOI0w  
9+WY@du+  
struts.objectTypeDeterminer `D&#U'wB   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class v*vub#wP  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Mq rt-VPh  
 ` 4s#5g  
struts.serve.static.browserCache >=Rd3dgDG  
If static content served by the Struts filter should set browser caching header properties or not bAA'=z<  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B`'}&6jr.  
T>AI0R3  
struts.serve.static m)tI  
      Whether the Struts filter should serve static content or not `R4W4h'I  
      是否struts过滤器应该提供静态内容 z/ c'Z#w%  
KDNTnA1c  
struts.tag.altSyntax KD[)O7hYC  
      Whether to use the alterative syntax for the tags or not aufcd57  
      是否可以用替代的语法替代tags b;&Yw-\nZ;  
bTA14&& q  
struts.ui.templateDir $6 Q2)^LJ  
      The directory containing UI templates 7LyV`6{70  
      UI templates的目录夹 ^*$WZMMJ1  
qiwQUm{  
struts.ui.theme $G^H7|PzdC  
      The default UI template theme \rw'QAi8r  
      默认的UI template主题 yKX:Z4I/  
vZ1D3ytfG  
struts.url.http.port s5_1}KKCs  
      The HTTP port used by Struts URLs HnH2u;  
      设置http端口 BMtYM{S6  
QrrZF.  
struts.url.https.port >o=axZNa  
      The HTTPS port used by Struts URLs (_s!,QUe  
      设置https端口 D 9@<#2-  
|r<.R>  
struts.url.includeParams $w2[5|^S  
      The default includeParams method to generate Struts URLs juve9HaW  
      在url中产生 默认的includeParams Z(Ls#hp  
Px^<2Q%Fs  
Yc|-sEK/  
struts.velocity.configfile A61-AwvF8-  
      The Velocity configuration file path {4V:[*3  
      velocity配置文件路径 &L[8Mju6  
qZyt>SAx  
struts.velocity.contexts ]%ZjD  
      List of Velocity context names $AL|d[[T[  
      velocity的context列表 IAt+S-q0  
Z;dwn~Tw  
rsq'60  
struts.velocity.manager.classname H7cRWB  
      org.apache.struts2.views.velocity.VelocityManager implementation class <7RkM  
      org.apache.struts2.views.velocity.VelocityManager接口名 l ")o!N?  
XH_qA[=c]  
struts.velocity.toolboxlocation Cbf,X[u  
      The location of the Velocity toolbox +wPvQKVfI  
      velocity工具盒的位置 +@<^i?ale  
struts.xslt.nocache 37za^n?SG  
      Whether or not XSLT templates should not be cached \sXm Mc  
      是否XSLT模版应该被缓存 lzQ&)7`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五