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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 rwY{QBSf  
d2tJ=.DI  
struts.action.extension &|c] U/_w  
      The URL extension to use to determine if the request is meant for a Struts action RbJbVFz8C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 tz_WxOQ0  
9~yp =JOV@  
struts.configuration a\Dw*h?b~  
      The org.apache.struts2.config.Configuration implementation class 0m'tPFQ|  
        org.apache.struts2.config.Configuration接口名 ^LAdN8Cbb  
4/E>k <MA  
struts.configuration.files -k}&{v  
      A list of configuration files automatically loaded by Struts -SKcS#IF  
      struts自动加载的一个配置文件列表 4L)Ox;6>  
vff`Xh>k(  
struts.configuration.xml.reload m,#Us  
      Whether to reload the XML configuration or not Y$N D  
      是否加载xml配置(true,false) nIv/B/>pZ  
wPH1g*U  
struts.continuations.package 5c-'m? k  
      The package containing actions that use Rife continuations *" ,"u;&  
      含有actions的完整连续的package名称 Mx=L lC)  
:1e'22[=.  
struts.custom.i18n.resources UjH+BC+9`b  
      Location of additional localization properties files to load }7Y @u@R  
      加载附加的国际化属性文件(不包含.properties后缀) Df=zrs["  
A3zO&4f ]  
struts.custom.properties hdurT  
      Location of additional configuration properties files to load Wj\< )cH]  
      加载附加的配置文件的位置 -0Q^k\X-  
eLyaTOZadu  
bTc'E#  
struts.devMode L+TM3*a*  
      Whether Struts is in development mode or not zq4)Uab*  
      是否为struts开发模式 znu [i&\=  
i`" L?3T  
struts.dispatcher.parametersWorkaround JsbH'l  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (Q ~<>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ZIvP?:=!  
6D1tRo  
struts.enable.DynamicMethodInvocation {b90c'8?a  
      Allows one to disable dynamic method invocation from the URL i-31Cxb  
        允许动态方法调用 p$bR M`R&s  
;Ak 6*Sr  
struts.freemarker.manager.classname 6%2\bI.#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class )}5f'TK  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 O - N> X  
b'TkYa^  
struts.i18n.encoding ,)P6fa/  
      The encoding to use for localization messages K 6HH_T  
      国际化信息内码 =Btmi  
`#>JRQ=  
struts.i18n.reload \>(S?)6  
      Whether the localization messages should automatically be reloaded $Qq5Fx9kU  
      是否国际化信息自动加载 9$e6?<`(Y  
]6TX)1  
struts.locale @-5V~itW  
      The default locale for the Struts application - u'5xn7  
      默认的国际化地区信息 _3 3YgO  
_chX {_Hu-  
struts.mapper.class (X}Q'm$n\h  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class #dm"!I>g  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \z)` pno  
~h6aTN  
struts.multipart.maxSize lO dw H"  
      The maximize size of a multipart request (file upload) TH#5j.uUs  
      multipart请求信息的最大尺寸(文件上传用) C9}m-N  
N.qS;%*o{e  
struts.multipart.parser ] ! :0^|  
      The org.apache.struts2.dispatcher.multipart. e6igx  
      MultiPartRequest parser implementation for a multipart request (file upload) <%Afa#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) y|[YEY U)  
L'$;;eM4  
rH5'+x K  
struts.multipart.saveDir [wR x)F"  
      The directory to use for storing uploaded files _#rE6./@q  
      设置存储上传文件的目录夹 d@,3P)?  
R.B3  
struts.objectFactory 8f{;oO  
      The com.opensymphony.xwork2.ObjectFactory implementation class aO>Nev  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GJIM^  
0I \l_St@  
struts.objectFactory.spring.autoWire FV W&)-I  
      Whether Spring should autoWire or not S#l6=zI7^R  
      是否自动绑定Spring }wR&0<HA  
i>n)T  
struts.objectFactory.spring.useClassCache n8vteGQ  
      Whether Spring should use its class cache or not BA cnFO  
      是否spring应该使用自身的cache T *8rR"  
!xo; $4  
struts.objectTypeDeterminer mYiIwm1cb(  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qLh[BR  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 X6lUFko  
Z=\wI:TY1  
struts.serve.static.browserCache )k'4]=d <  
If static content served by the Struts filter should set browser caching header properties or not |FrZ,(\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 E A}Vb(2  
Zfub+A  
struts.serve.static NamO5(1C  
      Whether the Struts filter should serve static content or not dqo&3^px  
      是否struts过滤器应该提供静态内容 A%dI8Z,  
#Mmr{4m  
struts.tag.altSyntax cl3Dwrf?  
      Whether to use the alterative syntax for the tags or not 0-a[[hL?  
      是否可以用替代的语法替代tags VUE6M\&z>  
q'~F6$kv5  
struts.ui.templateDir li~#6$  
      The directory containing UI templates { WW!P,w  
      UI templates的目录夹 N J_#;t#j  
wSP'pM{#2  
struts.ui.theme 0?d}Oj  
      The default UI template theme _ BUD~'Q5  
      默认的UI template主题 G0VbW-`O  
i!9|R)c  
struts.url.http.port #+]-}v3  
      The HTTP port used by Struts URLs lf%Ju$H   
      设置http端口 |<Gq^3 2  
]v{TSP^/  
struts.url.https.port >[|Y$$  
      The HTTPS port used by Struts URLs Msea kF  
      设置https端口 jVhfpS[  
=ijVT_|u0  
struts.url.includeParams )RE~=*?d  
      The default includeParams method to generate Struts URLs o(_~ st<  
      在url中产生 默认的includeParams / %:%la%  
&!pG1Fp9  
/,cyp .  
struts.velocity.configfile AD/7k3:  
      The Velocity configuration file path E5U{.45  
      velocity配置文件路径 )@OKL0t  
 %SSBXWP  
struts.velocity.contexts 8rwXbYx x  
      List of Velocity context names C-6m[W8S  
      velocity的context列表 4RXF.kJ3=  
5? rR'0  
wX!>&Gc.  
struts.velocity.manager.classname V0!.>sX9  
      org.apache.struts2.views.velocity.VelocityManager implementation class A(<"oAe|  
      org.apache.struts2.views.velocity.VelocityManager接口名 AJ`R2 $  
|?KdQeL  
struts.velocity.toolboxlocation 540,A,>:tb  
      The location of the Velocity toolbox | N/Wu9w$  
      velocity工具盒的位置 v%6mH6V  
struts.xslt.nocache :n t\uwh  
      Whether or not XSLT templates should not be cached !W ,pjW%Y  
      是否XSLT模版应该被缓存 |zaYIVE[  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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