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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 t&9as}  
<duBwkiG  
struts.action.extension [|[sYo  
      The URL extension to use to determine if the request is meant for a Struts action mfngbFa1  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 |J<pLz  
~1=.?Ho  
struts.configuration ?z@v3(b[  
      The org.apache.struts2.config.Configuration implementation class wyrI8UY  
        org.apache.struts2.config.Configuration接口名 hD$p;LF  
S#h'\/S  
struts.configuration.files (~7m"?  
      A list of configuration files automatically loaded by Struts Z<N&UFw7QJ  
      struts自动加载的一个配置文件列表 ,%?; \?b%h  
WS1&3mOd  
struts.configuration.xml.reload prlyaq;4  
      Whether to reload the XML configuration or not G/fP(o-Wd  
      是否加载xml配置(true,false) !2Xr~u7a  
rv,NQZ  
struts.continuations.package 6MQs \J6.  
      The package containing actions that use Rife continuations NF/Ti5y  
      含有actions的完整连续的package名称 rwL=R,  
%jZp9}h  
struts.custom.i18n.resources MvZ+n  
      Location of additional localization properties files to load <84C tv  
      加载附加的国际化属性文件(不包含.properties后缀) 5y%un  
{b|3]_-/  
struts.custom.properties jSie&V@px  
      Location of additional configuration properties files to load ^Y{6;FJ  
      加载附加的配置文件的位置 aYaG]&hb  
#a(%(k S  
M<A;IOpR+  
struts.devMode `J>E9p<  
      Whether Struts is in development mode or not '&-5CpDUs  
      是否为struts开发模式 < QDr,Hj  
Q{AZ'XV  
struts.dispatcher.parametersWorkaround ~U"by_  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic g[EM]q,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) mq J0z4I}  
.'^6QST  
struts.enable.DynamicMethodInvocation YPha9M$AgU  
      Allows one to disable dynamic method invocation from the URL K0 O-WJ  
        允许动态方法调用 ]pOYVf *$  
C#U< k0R  
struts.freemarker.manager.classname 7P/?wv9+n*  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class #Mj$o;SX  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Rwc[:6;fn  
I&TTr7  
struts.i18n.encoding "x#]i aDjf  
      The encoding to use for localization messages L_THU4^j  
      国际化信息内码 MkG`w,  
AI1@-  
struts.i18n.reload :DtZ8$I`]C  
      Whether the localization messages should automatically be reloaded UF&0 & `@  
      是否国际化信息自动加载 Vs_\ykO  
r6d0x  
struts.locale k4qLB1&,  
      The default locale for the Struts application z5XYpi_;[  
      默认的国际化地区信息 _M8G3QOx  
:3KO6/+  
struts.mapper.class r{t. c?/  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class MV"E?}0  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @sc8}"J]#  
<i\UMrD]`:  
struts.multipart.maxSize k $e D(cW$  
      The maximize size of a multipart request (file upload) Gw ~{V  
      multipart请求信息的最大尺寸(文件上传用) %f3c7\=C  
*QbM*oH  
struts.multipart.parser Pm$F2YrO3  
      The org.apache.struts2.dispatcher.multipart. #4vV%S   
      MultiPartRequest parser implementation for a multipart request (file upload) `Y\gSUhzS  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) yGb a  
F&=I7i  
; cGv] A+  
struts.multipart.saveDir U91 &|  
      The directory to use for storing uploaded files k2EHco0BG  
      设置存储上传文件的目录夹 K :1g"  
oM6j>&$b  
struts.objectFactory )l`1)Ea~  
      The com.opensymphony.xwork2.ObjectFactory implementation class 't +"k8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) r_b8,I6{]  
v6wRME;JA  
struts.objectFactory.spring.autoWire JB&G~7Q85  
      Whether Spring should autoWire or not y,MPGW_  
      是否自动绑定Spring <RhOjZgyZ  
F(#haJ$>  
struts.objectFactory.spring.useClassCache EkN_8(w  
      Whether Spring should use its class cache or not ).pO2lLF4  
      是否spring应该使用自身的cache /8f>':zUb  
an3~'g?  
struts.objectTypeDeterminer AXz-4,=xX  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class *:a'GC%/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 %lN2n,AK  
!\QeBd+  
struts.serve.static.browserCache wk" l[cH>  
If static content served by the Struts filter should set browser caching header properties or not hHcJN  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 P+[QI U  
TqIAWbb&  
struts.serve.static "gFxfWIA  
      Whether the Struts filter should serve static content or not s(Z(e %  
      是否struts过滤器应该提供静态内容 YTQ5sFuGM  
j]r XoV>  
struts.tag.altSyntax /+>)"D6'  
      Whether to use the alterative syntax for the tags or not ZTN(irK  
      是否可以用替代的语法替代tags &|)hCJu  
he"L*p*H  
struts.ui.templateDir O/mR9[}  
      The directory containing UI templates r]v&t  
      UI templates的目录夹 &=YSM.G  
Yl $X3wi  
struts.ui.theme m;dm|4L^  
      The default UI template theme Sa L"!uAk  
      默认的UI template主题 +}P%HH]E/p  
<"<Mbbp  
struts.url.http.port }*NF&PD5RU  
      The HTTP port used by Struts URLs *P`v^&  
      设置http端口 xdPcsox~  
YQ; cJ$  
struts.url.https.port N1%p"(  
      The HTTPS port used by Struts URLs f0vJm  
      设置https端口 WP}ixcq#  
C@1CanL@3  
struts.url.includeParams Bp :~bHf  
      The default includeParams method to generate Struts URLs =-_)$GOI'  
      在url中产生 默认的includeParams <0#^7Z  
;(7-WnU8N  
C\7u<2c  
struts.velocity.configfile o7.e'1@  
      The Velocity configuration file path $*k)|4  
      velocity配置文件路径 ^ oYPyk`9  
N#4N?BBP"  
struts.velocity.contexts q(78fZ *X  
      List of Velocity context names 62Mdm3  
      velocity的context列表 "f4<B-9<$  
a5|@R<iF  
NetYg]8`  
struts.velocity.manager.classname ^=^$tF  
      org.apache.struts2.views.velocity.VelocityManager implementation class 'TL2%T/)t  
      org.apache.struts2.views.velocity.VelocityManager接口名 9e!vA6Fx  
-IadHX}]t  
struts.velocity.toolboxlocation n@hl2M6.x9  
      The location of the Velocity toolbox >L gVj$Z  
      velocity工具盒的位置 [& ^RP,N~  
struts.xslt.nocache /be=u@KV  
      Whether or not XSLT templates should not be cached n#4Gv|{XMD  
      是否XSLT模版应该被缓存 I.1D*!tz  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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