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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Es)|#0m\x@  
ow{.iv\,u  
struts.action.extension '!8-/nlv1  
      The URL extension to use to determine if the request is meant for a Struts action xlu4  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /\h*v!:  
L*[3rqER  
struts.configuration H(K PU1lDw  
      The org.apache.struts2.config.Configuration implementation class PC<_1!M]  
        org.apache.struts2.config.Configuration接口名 ?SElJ? Z  
`HkNO@N[  
struts.configuration.files 3u$1W@T(  
      A list of configuration files automatically loaded by Struts /B~[,ES@1  
      struts自动加载的一个配置文件列表 J:glJ'4E  
,r;xH}tbi  
struts.configuration.xml.reload 6{HCF-cQd  
      Whether to reload the XML configuration or not XDPgl=~  
      是否加载xml配置(true,false) (H !iK,R  
l[ $bn!_ e  
struts.continuations.package w,FPL&{  
      The package containing actions that use Rife continuations &4S2fWx  
      含有actions的完整连续的package名称 L}Y.xi  
jJNCNH*0  
struts.custom.i18n.resources y"q>}5  
      Location of additional localization properties files to load o!":mJy  
      加载附加的国际化属性文件(不包含.properties后缀) y7fy9jQ 8.  
SnmUh~`L~  
struts.custom.properties a~$Y;C_#<  
      Location of additional configuration properties files to load 3S7"P$q  
      加载附加的配置文件的位置 !LwHKCj  
~Q]5g7k=&  
,Q7;(&x~  
struts.devMode )B0%"0?`8  
      Whether Struts is in development mode or not >!xyA;  
      是否为struts开发模式 /0XMQy  
Tgr,1) T  
struts.dispatcher.parametersWorkaround ()l3X.t,$  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~BmA!BZV`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ji1vLu4|t  
0zB[seyE  
struts.enable.DynamicMethodInvocation "O4A&PJD  
      Allows one to disable dynamic method invocation from the URL r9})~>   
        允许动态方法调用 >- \bLr  
")STB8kQ  
struts.freemarker.manager.classname nwUz}em?O  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class q_h (D/g  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Bso#+v5  
A,cXN1V  
struts.i18n.encoding qGV_oa74  
      The encoding to use for localization messages j/d}B_2  
      国际化信息内码 y]fI7nu&  
gE#'Zv{7  
struts.i18n.reload KZw~Ch}b9  
      Whether the localization messages should automatically be reloaded ^D$|$=|DH  
      是否国际化信息自动加载 \xCCJWek  
h&$h<zL[  
struts.locale yEI@^8]s  
      The default locale for the Struts application \toU zTT  
      默认的国际化地区信息 $3g{9)}  
lbBWOx/|  
struts.mapper.class }Ze*/ p-  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class \H@1VgmR;  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 c_D(%Vf5  
_b~{/[s  
struts.multipart.maxSize aLGq<6Ja  
      The maximize size of a multipart request (file upload) Lr$M k#'B  
      multipart请求信息的最大尺寸(文件上传用) |j`73@6   
c Rq2 re  
struts.multipart.parser VIP7j(#t_g  
      The org.apache.struts2.dispatcher.multipart. =\WF +r]V  
      MultiPartRequest parser implementation for a multipart request (file upload) 1^}I?PbqV  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^ U*y*l$  
*(?Wzanh  
Sz go@x$^  
struts.multipart.saveDir wwB3m&  
      The directory to use for storing uploaded files Lz'VQO1U=  
      设置存储上传文件的目录夹 MxIa,M <  
Q S&B"7;g  
struts.objectFactory rTIu'  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6(f 'P_*  
      com.opensymphony.xwork2.ObjectFactory接口(spring) VWvSt C  
LZRg%3.E  
struts.objectFactory.spring.autoWire xf]K  
      Whether Spring should autoWire or not c0gVW~I1  
      是否自动绑定Spring ;mG*Rad  
`.W2t5 Y  
struts.objectFactory.spring.useClassCache `x`[hJ?i  
      Whether Spring should use its class cache or not + O.-o/  
      是否spring应该使用自身的cache 2M-[x"\1/  
P9 <U+\z  
struts.objectTypeDeterminer &3[oM)-V  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5*pzL0,Y  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 AAevN3a#nI  
vt|R)[,  
struts.serve.static.browserCache |1~n<=`Z  
If static content served by the Struts filter should set browser caching header properties or not 'p&,'+x  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 qUkM No3  
VI&x1C  
struts.serve.static FvxM  
      Whether the Struts filter should serve static content or not _s=H|#l  
      是否struts过滤器应该提供静态内容 _F;v3|`D@<  
'BjTo*TB]Z  
struts.tag.altSyntax ,twx4r^  
      Whether to use the alterative syntax for the tags or not esqmj#G  
      是否可以用替代的语法替代tags @Nek;xJ  
/*mF:40M;  
struts.ui.templateDir hw^&{x  
      The directory containing UI templates uw}Rr7q  
      UI templates的目录夹 aixX/se  
*9aJZWf>V  
struts.ui.theme $v|W2k  
      The default UI template theme o8bdL<  
      默认的UI template主题 >X*tMhcb  
7MKX`S  
struts.url.http.port hzqJ!  
      The HTTP port used by Struts URLs U#` e~d t<  
      设置http端口 mLX/xM/T?/  
 x]+PWk  
struts.url.https.port 5I622d  
      The HTTPS port used by Struts URLs s<9g3Gh  
      设置https端口 6l]X{A.  
A9$x8x*Lt  
struts.url.includeParams 2*|T)OA`m,  
      The default includeParams method to generate Struts URLs k {*QU(  
      在url中产生 默认的includeParams ysW})#7X  
>NRppPqL  
ky2 bj}"p9  
struts.velocity.configfile ci~#G[_$S  
      The Velocity configuration file path ^`&'u_B!+  
      velocity配置文件路径 r7m~.M+W"  
b dgkA  
struts.velocity.contexts H@Z_P p?  
      List of Velocity context names ;)(g$r^_i  
      velocity的context列表 D@O `"2  
$5R2QNg n  
cMw<3u\  
struts.velocity.manager.classname 6>a6;[  
      org.apache.struts2.views.velocity.VelocityManager implementation class 2B ]q1>a!  
      org.apache.struts2.views.velocity.VelocityManager接口名 oJ74Mra  
z0[XI7KK  
struts.velocity.toolboxlocation r )F;8(  
      The location of the Velocity toolbox h.jJAVPi  
      velocity工具盒的位置 4l$OO;B  
struts.xslt.nocache }aZuCe_  
      Whether or not XSLT templates should not be cached >HP `B2Q H  
      是否XSLT模版应该被缓存 b(iF0U>&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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