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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 `}(b2Hc>  
.$qnZWcgG  
struts.action.extension i>D.!x  
      The URL extension to use to determine if the request is meant for a Struts action ?98("T|y;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ~rDZ?~%  
AfX}y+Ah  
struts.configuration ,u+PyG7 cb  
      The org.apache.struts2.config.Configuration implementation class Bk*F_>X"  
        org.apache.struts2.config.Configuration接口名 3on7~*  
j/fzzI0@  
struts.configuration.files f|B=_p80  
      A list of configuration files automatically loaded by Struts fDT%!  
      struts自动加载的一个配置文件列表 W8ouO+wK  
`-(|>5wWS  
struts.configuration.xml.reload =T(6#"  
      Whether to reload the XML configuration or not N>XS=2tzN  
      是否加载xml配置(true,false) $}) g?Q  
.@(6Y<dN  
struts.continuations.package Y"~gw~7OD  
      The package containing actions that use Rife continuations ^lA=* jY(  
      含有actions的完整连续的package名称 ~F4fFQ-yy  
E~]R2!9  
struts.custom.i18n.resources 9f hsIe  
      Location of additional localization properties files to load pi Z[Y 5OE  
      加载附加的国际化属性文件(不包含.properties后缀) MCS8y+QK  
w2 a1mU/  
struts.custom.properties \HKxh:F'  
      Location of additional configuration properties files to load YL]Z<%aKt  
      加载附加的配置文件的位置 |G?htZF  
vRs,zL$W  
hp#W 9@NR  
struts.devMode 8n'B6hi  
      Whether Struts is in development mode or not :c8&N-`  
      是否为struts开发模式 do*EKo  
wN;^[F  
struts.dispatcher.parametersWorkaround N'^&\@)xiU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic M}yDXJx  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) U.DDaT1  
M%ICdIc'  
struts.enable.DynamicMethodInvocation ` :o4'CG  
      Allows one to disable dynamic method invocation from the URL 77\] B  
        允许动态方法调用 8,C*4y~  
n?- })  
struts.freemarker.manager.classname .NYbi@bk(<  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class -I&m:A$4*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 bn!HUM,  
l|kSsP:GO  
struts.i18n.encoding FFu9&8Y  
      The encoding to use for localization messages d-k%{eBV  
      国际化信息内码 {]:7bV#JP  
nEJY5Bz$  
struts.i18n.reload n 2)@S0{  
      Whether the localization messages should automatically be reloaded tasUZ#\6  
      是否国际化信息自动加载 BW 4%l  
a-=8xs'  
struts.locale ^pQCNKLBY  
      The default locale for the Struts application y#U+c*LB  
      默认的国际化地区信息 S/9DtXQ  
,n3a gkPO>  
struts.mapper.class \l9qt5rS  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class @cFJeOC|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 czS+< w  
S7/eS)SQR  
struts.multipart.maxSize K i'Fn"  
      The maximize size of a multipart request (file upload) 5@+,Xh,H|t  
      multipart请求信息的最大尺寸(文件上传用) ,N!o  
_$ +^q-  
struts.multipart.parser |4B:<x   
      The org.apache.struts2.dispatcher.multipart. "#{4d),r  
      MultiPartRequest parser implementation for a multipart request (file upload) z^#;~I @M  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) KX'{[7}m'  
v7iuL6jl  
&e#~<Wm82  
struts.multipart.saveDir >zXsNeGQR  
      The directory to use for storing uploaded files &6ZD136  
      设置存储上传文件的目录夹 BYVY)<v/  
q,93nhs "  
struts.objectFactory 23RN}LUi  
      The com.opensymphony.xwork2.ObjectFactory implementation class Rm255z p  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -uMSe~  
3|'>`!hb  
struts.objectFactory.spring.autoWire #~C]ZrK  
      Whether Spring should autoWire or not vgfcCcZ_iZ  
      是否自动绑定Spring D-5VC9{  
#a'Ex=%rM  
struts.objectFactory.spring.useClassCache v(ZYS']d2  
      Whether Spring should use its class cache or not P<M?Qd 1.  
      是否spring应该使用自身的cache $W!!wN=B  
kBD>-5Sn_T  
struts.objectTypeDeterminer ihIVUu-M  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class \=:~ki=@B  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 eHn7iuS8  
<vONmE a  
struts.serve.static.browserCache qI#;j%V  
If static content served by the Struts filter should set browser caching header properties or not +trC,D  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 + HK8jCa  
1~Oe=`{&  
struts.serve.static `w.n]TR  
      Whether the Struts filter should serve static content or not $a ]_w.@  
      是否struts过滤器应该提供静态内容 JM x>][xD  
P<X\%_Iat  
struts.tag.altSyntax n1ly y0%u  
      Whether to use the alterative syntax for the tags or not 4KIRHnaj  
      是否可以用替代的语法替代tags '>cKH$nVC}  
a@@)6FM  
struts.ui.templateDir * +"9%&?  
      The directory containing UI templates gMWjk7  
      UI templates的目录夹 <}<zgOT[1!  
=cm~vDl[  
struts.ui.theme j4jTSLQ\  
      The default UI template theme =g9*UzA"O  
      默认的UI template主题 |wiqGzAr{  
$$ Oey)*  
struts.url.http.port 1(I6.BHW  
      The HTTP port used by Struts URLs q7_ m&-0)  
      设置http端口 ew#B [[  
xv(9IEjt0  
struts.url.https.port pTPi@SBaP{  
      The HTTPS port used by Struts URLs lI*o@wQg  
      设置https端口 !F A]  
x:),P-~w  
struts.url.includeParams m1B+31'>^  
      The default includeParams method to generate Struts URLs b:l P%|7  
      在url中产生 默认的includeParams jL%x7?*U0  
~<_2WQ/$  
*h!28Ya(~  
struts.velocity.configfile W6?pswQ  
      The Velocity configuration file path v"b+$*  
      velocity配置文件路径 >7I15U  
1 *'HL#  
struts.velocity.contexts 2R;}y7{  
      List of Velocity context names Y9uC&/_C  
      velocity的context列表 $c]fPt"i  
tzZ`2pSh  
&O9 |#YUq  
struts.velocity.manager.classname bM{s T"  
      org.apache.struts2.views.velocity.VelocityManager implementation class %E#s\B,w  
      org.apache.struts2.views.velocity.VelocityManager接口名 _ba>19csq%  
LhOa{1SY  
struts.velocity.toolboxlocation M+U9R@  
      The location of the Velocity toolbox [@J/eWB  
      velocity工具盒的位置 6$kqaS##  
struts.xslt.nocache F Sw\_[^CQ  
      Whether or not XSLT templates should not be cached ok!L.ac  
      是否XSLT模版应该被缓存 [fAV5U  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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