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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 @ Q1jH~t  
h'fD3Gr&  
struts.action.extension B# H  
      The URL extension to use to determine if the request is meant for a Struts action IFTW,9hh  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 q(p0#Mk,E  
eB@i)w?@o  
struts.configuration =K>Z{% i  
      The org.apache.struts2.config.Configuration implementation class y?@Y\ b  
        org.apache.struts2.config.Configuration接口名 aC$g(>xFt  
B+DRe 8  
struts.configuration.files 835Upj>  
      A list of configuration files automatically loaded by Struts CGe'z  
      struts自动加载的一个配置文件列表 p+7BsW.l  
!^fJAtCN]  
struts.configuration.xml.reload \mu9ikZ<  
      Whether to reload the XML configuration or not ,] {NZ9  
      是否加载xml配置(true,false) EXFxiw  
yl ;'Ru:  
struts.continuations.package ,"VQ 0Z1  
      The package containing actions that use Rife continuations q |^O  
      含有actions的完整连续的package名称 2M#CJ&  
1DcarF  
struts.custom.i18n.resources k51s*U6=  
      Location of additional localization properties files to load U?lu@5 ^Z  
      加载附加的国际化属性文件(不包含.properties后缀) O]g+z$2o  
-9*WQU9R  
struts.custom.properties eztk$o  
      Location of additional configuration properties files to load B;~agr  
      加载附加的配置文件的位置 !Cy2>6v7  
*pD;AU  
VfcQibm  
struts.devMode lmcDA,7  
      Whether Struts is in development mode or not  ck~xj0  
      是否为struts开发模式 c-=0l)&'D=  
bX(*f>G'  
struts.dispatcher.parametersWorkaround wqOhJYc  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic C|zH {.H  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) wf@2&vJ  
Qd4T?5 vG  
struts.enable.DynamicMethodInvocation !m|%4/ M@  
      Allows one to disable dynamic method invocation from the URL [;f"',)y,  
        允许动态方法调用 e`Yns$x  
8)!;[G|  
struts.freemarker.manager.classname ,7g;r_qwA  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class U.F65KaKF  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 PK4UdT  
6;pREM+  
struts.i18n.encoding v+sbRuo8  
      The encoding to use for localization messages T!a[@,)_  
      国际化信息内码 RGLA}|  
`x VA]GR4c  
struts.i18n.reload Wd5t,8*8  
      Whether the localization messages should automatically be reloaded UIj/Id  
      是否国际化信息自动加载 dZgfls  
NLGr=*dq  
struts.locale x+e _pb   
      The default locale for the Struts application :GYv9OG  
      默认的国际化地区信息 s- V$N  
/6c10}f  
struts.mapper.class lp UtNy  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class P.B'Gh#^  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 %p60pn[(  
1F,_L}=o1s  
struts.multipart.maxSize y21uvp'  
      The maximize size of a multipart request (file upload) &zcj U+n  
      multipart请求信息的最大尺寸(文件上传用) Sh6Cw4 R  
ACYn87tq  
struts.multipart.parser ;alFK*K6  
      The org.apache.struts2.dispatcher.multipart. bVHi3=0{  
      MultiPartRequest parser implementation for a multipart request (file upload) m_ m@>}ud  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) OP}p;(  
\AzcW;03g[  
<R>ZG"m{  
struts.multipart.saveDir BD-=y  
      The directory to use for storing uploaded files K:@=W1  
      设置存储上传文件的目录夹 OF/)-}!  
q)b?X ^  
struts.objectFactory >pvg0Fh  
      The com.opensymphony.xwork2.ObjectFactory implementation class >NA7,Z2.  
      com.opensymphony.xwork2.ObjectFactory接口(spring)  Zwns|23n  
r![JPhei  
struts.objectFactory.spring.autoWire ~(/HgFLLu  
      Whether Spring should autoWire or not Ds_ "m,  
      是否自动绑定Spring Z|% 2495\  
p'k+0=  
struts.objectFactory.spring.useClassCache x 4</\o  
      Whether Spring should use its class cache or not z44~5J]  
      是否spring应该使用自身的cache SYPMoE!U:  
l|em E ^  
struts.objectTypeDeterminer /*^|5>-`i1  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Z;\"pP:  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 6ya87H'e@  
<@2# VG  
struts.serve.static.browserCache X$iJ|=vW  
If static content served by the Struts filter should set browser caching header properties or not Wb )l8[=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ;w(1Ydo  
D])YP0|}  
struts.serve.static gdE`UZ\  
      Whether the Struts filter should serve static content or not B!ibE<7,  
      是否struts过滤器应该提供静态内容 g+)\ /n|  
lkg*AAR?'  
struts.tag.altSyntax Z[S+L"0  
      Whether to use the alterative syntax for the tags or not hyfnIb@~}  
      是否可以用替代的语法替代tags  r;X0 B  
8 {]Gh 0+  
struts.ui.templateDir vcO`j<`  
      The directory containing UI templates \N , '+  
      UI templates的目录夹 8Vhck-wF  
X6GkJ R  
struts.ui.theme $uK"@Mw  
      The default UI template theme 6n\z53Mk  
      默认的UI template主题 A'QGTT  
_I-VWDCk  
struts.url.http.port \nAHpF  
      The HTTP port used by Struts URLs 2 U`W[  
      设置http端口 Y*cJ4hQ  
>-5Gt  
struts.url.https.port SuH.lCF-g  
      The HTTPS port used by Struts URLs ?VP!1O=J  
      设置https端口 `{lAhZ5  
Guw|00w,Q$  
struts.url.includeParams ,]_(-tyN|  
      The default includeParams method to generate Struts URLs v#]v,C-*  
      在url中产生 默认的includeParams EQ63VF  
xf"5<PTW</  
E+ 3yN\X(  
struts.velocity.configfile Df:7P>  
      The Velocity configuration file path A a} o*  
      velocity配置文件路径 kefv=n*]l  
I#E(r>KW*  
struts.velocity.contexts Vy^yV|`v  
      List of Velocity context names 2, "q_d'V  
      velocity的context列表 ,,gLrV k  
N46$EsO!h  
vd7N&c9  
struts.velocity.manager.classname 0$L0fhw.  
      org.apache.struts2.views.velocity.VelocityManager implementation class tb?F}MEe  
      org.apache.struts2.views.velocity.VelocityManager接口名 Z<|_+7T  
.A7tq  
struts.velocity.toolboxlocation R 4$Q3vcH  
      The location of the Velocity toolbox Sja{$zL+W  
      velocity工具盒的位置 WCmNibj  
struts.xslt.nocache sC5uA .?>9  
      Whether or not XSLT templates should not be cached 4!~ .6cp3  
      是否XSLT模版应该被缓存 Qj<{oZp&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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