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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 D@/9+]-,  
ONg<  
struts.action.extension mvW^P`nB  
      The URL extension to use to determine if the request is meant for a Struts action MY0[Oq cm=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +oxqS&$L  
FvtM~[Q  
struts.configuration jk WBw.(  
      The org.apache.struts2.config.Configuration implementation class  RU3_Fso  
        org.apache.struts2.config.Configuration接口名 "GIg| 3  
baO&n  
struts.configuration.files VNOK>+  
      A list of configuration files automatically loaded by Struts VfJX<e=k  
      struts自动加载的一个配置文件列表 J.CZR[XF#  
@E&X &F%  
struts.configuration.xml.reload f4@#pnJ3po  
      Whether to reload the XML configuration or not RP ScP  
      是否加载xml配置(true,false) #/& q  
AOvH&9**  
struts.continuations.package #U6/@l)  
      The package containing actions that use Rife continuations 93zlfLS0  
      含有actions的完整连续的package名称 DI2S %N l  
IArpCF/"8  
struts.custom.i18n.resources O(c4iWm  
      Location of additional localization properties files to load %>x0*T$$  
      加载附加的国际化属性文件(不包含.properties后缀) .q|xMS}4  
!T&u2=`D  
struts.custom.properties b{yH4)O  
      Location of additional configuration properties files to load V.E.~<7D\  
      加载附加的配置文件的位置 Q xj|lr  
//4p1^%  
`"bRjC"f]  
struts.devMode do :RPZ!  
      Whether Struts is in development mode or not EP% M8  
      是否为struts开发模式 Bt`r6v;\  
/ab K/8ZQ  
struts.dispatcher.parametersWorkaround E`sapk  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic e2VL/>y`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ;Kq<',u~  
5u=U--  
struts.enable.DynamicMethodInvocation 1nX68fS.9  
      Allows one to disable dynamic method invocation from the URL S quqaX+<  
        允许动态方法调用 Z)Xq!]~/g  
*SAcH_I2$>  
struts.freemarker.manager.classname 2-B8>-   
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class J[_?>YJ  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4=#QN  
E!(`275s  
struts.i18n.encoding CsQ}P)  
      The encoding to use for localization messages _#\5]D~""  
      国际化信息内码 z;@S_0M,Z  
@?($j)9}  
struts.i18n.reload 3`C3+  
      Whether the localization messages should automatically be reloaded ~ jrU#<'G9  
      是否国际化信息自动加载 y|2g"J  
f|HgLFx  
struts.locale 8mQd*GGu1  
      The default locale for the Struts application mSvTnd8  
      默认的国际化地区信息 EZu  
"}azC|:5  
struts.mapper.class ::Ve,-0  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class n$\6}\k  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  =}1~~  
B1AF4}~5  
struts.multipart.maxSize u{y5'cJ{  
      The maximize size of a multipart request (file upload) {3 yws 4  
      multipart请求信息的最大尺寸(文件上传用) H"Em|LX^  
:fMM-?s]  
struts.multipart.parser I?xhak1)lu  
      The org.apache.struts2.dispatcher.multipart. ^LAS9K1.  
      MultiPartRequest parser implementation for a multipart request (file upload) &opH\wa  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) )F9V=PJE  
@o-evH;G  
)-6[ Bw  
struts.multipart.saveDir <i`K%+<WO  
      The directory to use for storing uploaded files 3ks|  
      设置存储上传文件的目录夹 hc~#l#  
+\]S<T*;  
struts.objectFactory D/!G]hx  
      The com.opensymphony.xwork2.ObjectFactory implementation class :O2v0Kx  
      com.opensymphony.xwork2.ObjectFactory接口(spring) )-7(Hv1  
?(XX  
struts.objectFactory.spring.autoWire UW~tS  
      Whether Spring should autoWire or not (j\UoKLRt  
      是否自动绑定Spring TTjjyZ@  
)}k`X<~k  
struts.objectFactory.spring.useClassCache (>/Dw|,m  
      Whether Spring should use its class cache or not r;s3(@[,@  
      是否spring应该使用自身的cache )Z`viT  
.~/;v~bL  
struts.objectTypeDeterminer ]&%X(jWyn  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class pz z`4VS:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  6-E4)0\  
_[6+FdS],  
struts.serve.static.browserCache FV<^q|K/(]  
If static content served by the Struts filter should set browser caching header properties or not 'G By^hj?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k1  txY  
i2Iu 2  
struts.serve.static S&g -  
      Whether the Struts filter should serve static content or not < oG\)!O  
      是否struts过滤器应该提供静态内容 c[e GpZ]  
Tlv|To  
struts.tag.altSyntax MZ#2WP)F  
      Whether to use the alterative syntax for the tags or not t3kh]2t  
      是否可以用替代的语法替代tags |x~ei_x7.p  
@;-Un/'C;7  
struts.ui.templateDir b+fy&rk@-  
      The directory containing UI templates >Sl:Z ,g;  
      UI templates的目录夹 r_2VExk  
~ 8qFM  
struts.ui.theme [ZpG+VAJ8  
      The default UI template theme a~+WL  
      默认的UI template主题 z K]%qv]  
 7qdl,z  
struts.url.http.port "gVH;<&]  
      The HTTP port used by Struts URLs QrRCsy70  
      设置http端口 uY#58?>'j  
3R96;d;  
struts.url.https.port dXy"yQ>{  
      The HTTPS port used by Struts URLs &ppZRdq]  
      设置https端口 Pn){xfqDl  
t7& GCZ  
struts.url.includeParams _ -FQ78C  
      The default includeParams method to generate Struts URLs D}C*8s bC}  
      在url中产生 默认的includeParams C'#)bX{  
6j.(l4}  
MkIO0&0O  
struts.velocity.configfile C3 c|@7FU  
      The Velocity configuration file path h3 ZL0Fi*  
      velocity配置文件路径 G?X,Y\Lp  
[}Yci:P_ +  
struts.velocity.contexts j;c ^pLUP  
      List of Velocity context names olW`.3f  
      velocity的context列表 _p^ "!  
w\[*_wQp  
sJ*U Fm{  
struts.velocity.manager.classname vG=$UUh@~  
      org.apache.struts2.views.velocity.VelocityManager implementation class ]$%4;o4O  
      org.apache.struts2.views.velocity.VelocityManager接口名 LWR &(p.%  
-|UX}t*  
struts.velocity.toolboxlocation }E] &13>r  
      The location of the Velocity toolbox 8J@OMW&[l  
      velocity工具盒的位置 9S`b7U=P  
struts.xslt.nocache x6mq['_  
      Whether or not XSLT templates should not be cached g0 U\AN  
      是否XSLT模版应该被缓存 X_yU"U  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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