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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 =**Q\ Sl  
pFV~1W:  
struts.action.extension xB]^^ NYE=  
      The URL extension to use to determine if the request is meant for a Struts action -knP5"TB  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 =Ot_P7'5gv  
Gx4{ 9  
struts.configuration )TyP{X>  
      The org.apache.struts2.config.Configuration implementation class ;U$Rd,T4S  
        org.apache.struts2.config.Configuration接口名 p>f ?Rw_  
I0><IaFy  
struts.configuration.files ef!f4u\  
      A list of configuration files automatically loaded by Struts tv Zq):c  
      struts自动加载的一个配置文件列表 lon9oraF'  
-r]L MQ  
struts.configuration.xml.reload |lk:(~DM  
      Whether to reload the XML configuration or not pe>?m^gz[  
      是否加载xml配置(true,false) j/F('r~L  
kem(U{m  
struts.continuations.package +md"X@k5*  
      The package containing actions that use Rife continuations <:&{c-f/  
      含有actions的完整连续的package名称 FUZuS!sJ  
7z&$\qu2  
struts.custom.i18n.resources mi7~(V>  
      Location of additional localization properties files to load 4#.Q|vyl]"  
      加载附加的国际化属性文件(不包含.properties后缀) #_|O93HN'  
B#}EYY  
struts.custom.properties sl(go^  
      Location of additional configuration properties files to load uHRxV"@}[1  
      加载附加的配置文件的位置 "c?31$6  
xn@oNKD0  
g>#}(u!PH  
struts.devMode | +uc;[`  
      Whether Struts is in development mode or not th<>%e}5c  
      是否为struts开发模式 Oqt{ uTI~  
d(@ ov^e-  
struts.dispatcher.parametersWorkaround yW\kmv.O  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _3NH"o d  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1~},}S]id  
OF )*kiJ  
struts.enable.DynamicMethodInvocation [Q\(k d*4  
      Allows one to disable dynamic method invocation from the URL 3xmPY.  
        允许动态方法调用 `I4E': ZG  
F~hH>BH9  
struts.freemarker.manager.classname pSEaE9AX%  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Sqyju3Yp  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 o}f$?{)|   
g[ uf e<  
struts.i18n.encoding 0%Y}CDn_  
      The encoding to use for localization messages R3LIN-g(  
      国际化信息内码 fC[~X[H  
vA[7i*D{w  
struts.i18n.reload a;nYR5f  
      Whether the localization messages should automatically be reloaded 5*Qzw[[=  
      是否国际化信息自动加载 rY&#g%B6Fp  
2$VSH&  
struts.locale  c,M"a  
      The default locale for the Struts application "`%UC#  
      默认的国际化地区信息 Iz;^D!  
Kb-m  
struts.mapper.class yD`pUE$  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =vriraV"  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :S7[<SwL  
-V[!qI  
struts.multipart.maxSize kA)`i`gt  
      The maximize size of a multipart request (file upload) T &bB8tQk  
      multipart请求信息的最大尺寸(文件上传用) B[ D s?:  
2R^Eea  
struts.multipart.parser +"JWsD(C(  
      The org.apache.struts2.dispatcher.multipart. )]<^*b>  
      MultiPartRequest parser implementation for a multipart request (file upload) :_nGh]%  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) +_gA"I  
gS`Z>+V5!c  
G `B=:s]  
struts.multipart.saveDir @+)T"5_Y[  
      The directory to use for storing uploaded files ]1|7V|N6  
      设置存储上传文件的目录夹 \q24E3zS&  
tK'9%yA\  
struts.objectFactory qSD3]Dv"  
      The com.opensymphony.xwork2.ObjectFactory implementation class B<$6Dj%L  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -%K}~4J  
&%k_BdlkQ  
struts.objectFactory.spring.autoWire Y% @;\  
      Whether Spring should autoWire or not Goy[P2m  
      是否自动绑定Spring #J8(*!I  
lH@goh  
struts.objectFactory.spring.useClassCache D~`RLPMk  
      Whether Spring should use its class cache or not x")Bmw$  
      是否spring应该使用自身的cache (Kg)cc[B`  
PGVp1TQ  
struts.objectTypeDeterminer -Ekf T_  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ~DB:/VSmu  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 No+BS%F5  
jZvIqR/  
struts.serve.static.browserCache 322-'S3<  
If static content served by the Struts filter should set browser caching header properties or not JRE\R&>g  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &zVXd  
/+. m.TF  
struts.serve.static 9i{(GO  
      Whether the Struts filter should serve static content or not hw)z]  
      是否struts过滤器应该提供静态内容 &NbSG+t  
+UTBiB R  
struts.tag.altSyntax %zDi|WZ  
      Whether to use the alterative syntax for the tags or not D`.\c#;cN  
      是否可以用替代的语法替代tags ,:V[H8 ?  
M9(lxu y1  
struts.ui.templateDir U^DR'X=  
      The directory containing UI templates r&:yZN  
      UI templates的目录夹 U_E t  
3hzz*9/n  
struts.ui.theme I).eQ8:  
      The default UI template theme d`j<Bbf-  
      默认的UI template主题 c]qh)F$s8  
_. EM])b  
struts.url.http.port fl4'dv  
      The HTTP port used by Struts URLs 55,2eg#{O  
      设置http端口 A,7* 52U  
?/~Q9My  
struts.url.https.port ;rnhv:Iw  
      The HTTPS port used by Struts URLs 3u s^\w#  
      设置https端口 SK*<H~2  
F+W{R+6  
struts.url.includeParams TIF  =fQ  
      The default includeParams method to generate Struts URLs "1p, r&}  
      在url中产生 默认的includeParams UA4MtTp`  
'c >^Aai  
-afNiNiY  
struts.velocity.configfile 5 (q4o`  
      The Velocity configuration file path L/5th}m  
      velocity配置文件路径 Sg\+al7  
N,F[x0&?  
struts.velocity.contexts rV*Ri~Vx  
      List of Velocity context names uE.. 1N&*  
      velocity的context列表 "K;""]#wg0  
<" 0b 8 Z  
 DD[<J:6  
struts.velocity.manager.classname ~ET XXu${I  
      org.apache.struts2.views.velocity.VelocityManager implementation class iWkC: fQz  
      org.apache.struts2.views.velocity.VelocityManager接口名 V%`\x\Xat  
sy6[%8D$  
struts.velocity.toolboxlocation ]7q|) S\  
      The location of the Velocity toolbox Pv*]AF;9pQ  
      velocity工具盒的位置 Su+[Q6oC@  
struts.xslt.nocache iRV=I,  
      Whether or not XSLT templates should not be cached <uo@k'   
      是否XSLT模版应该被缓存 V~$?]Z%_  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八