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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 {tu* ="d=  
[LL"86D  
struts.action.extension z/F(z*'v  
      The URL extension to use to determine if the request is meant for a Struts action ]0 ouJY  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 2(5wFc  
b-M[la}1"  
struts.configuration  3i?{E ^  
      The org.apache.struts2.config.Configuration implementation class _Y|k \|'  
        org.apache.struts2.config.Configuration接口名 S%Pk@n`z]  
vo!:uvy;2  
struts.configuration.files n4>  
      A list of configuration files automatically loaded by Struts 9H1R0iWW  
      struts自动加载的一个配置文件列表 Ny*M{}E  
P;MS%32  
struts.configuration.xml.reload b\U Q6 V  
      Whether to reload the XML configuration or not q0`Vw%  
      是否加载xml配置(true,false) 7T_g?!sdMh  
? 4qN>uW=  
struts.continuations.package ? RB~%^c!  
      The package containing actions that use Rife continuations '}P)iS2  
      含有actions的完整连续的package名称 0w8Id . ,  
u 6 la  
struts.custom.i18n.resources Q7"KgqpQ3  
      Location of additional localization properties files to load /B|#GJ\\3  
      加载附加的国际化属性文件(不包含.properties后缀) -R~;E[ {%  
W E|L{  
struts.custom.properties .DHZs#R  
      Location of additional configuration properties files to load gLl?e8[F  
      加载附加的配置文件的位置 z;#}u C  
z ]o&^Q  
y<BiR@%,7  
struts.devMode #mk#&i3"k  
      Whether Struts is in development mode or not baR{   
      是否为struts开发模式 *S~. KW[  
0m7J'gm{  
struts.dispatcher.parametersWorkaround LP@Q8{'  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic mC>7l7%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) nLto=tNUO  
>9+@oGe(E  
struts.enable.DynamicMethodInvocation ~K:#a$!%,  
      Allows one to disable dynamic method invocation from the URL b[GZ sXD-  
        允许动态方法调用 &oTSff>p}  
[%P_ Y/  
struts.freemarker.manager.classname MA(\ r  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class F =iz\O!6  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 S.t+HwVodO  
%3fHitCikc  
struts.i18n.encoding [NeOd77y  
      The encoding to use for localization messages Y&Pi`E9=  
      国际化信息内码 ``w,CP ?  
C~'}RM  
struts.i18n.reload T*k K-@.i  
      Whether the localization messages should automatically be reloaded Q!GB^ P  
      是否国际化信息自动加载 hrU.QF8  
;fee<7T y  
struts.locale Xa[gDdbL  
      The default locale for the Struts application nt "VH5  
      默认的国际化地区信息 % eW>IN]5  
N(t1?R/e,  
struts.mapper.class swi|   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &p8K0 |  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 LNXhzW   
MCL?J,1?r  
struts.multipart.maxSize P~ffgzP  
      The maximize size of a multipart request (file upload) ^q FFF3<8  
      multipart请求信息的最大尺寸(文件上传用) [m3G%PO@Da  
^:{l~~9iKp  
struts.multipart.parser jBI VZ!X  
      The org.apache.struts2.dispatcher.multipart. w^G<]S {l  
      MultiPartRequest parser implementation for a multipart request (file upload) }`f%"Z  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) HxU.kcf  
sb4r\[?  
b=K    
struts.multipart.saveDir  $Jb+}mlT  
      The directory to use for storing uploaded files W zy8  
      设置存储上传文件的目录夹 NkNw9?:#4  
ofcoNLX5c  
struts.objectFactory Q&`$:h.~  
      The com.opensymphony.xwork2.ObjectFactory implementation class LtejLCf/  
      com.opensymphony.xwork2.ObjectFactory接口(spring) f IQ$a >  
!?O:%QG  
struts.objectFactory.spring.autoWire )"t=sFxaB  
      Whether Spring should autoWire or not bC?t4-W  
      是否自动绑定Spring Wj.)wr!  
=]-!  
struts.objectFactory.spring.useClassCache D~NH 4B  
      Whether Spring should use its class cache or not dfc-#I p?  
      是否spring应该使用自身的cache f`/JY!u j{  
;P5\EJo  
struts.objectTypeDeterminer [rqq*_eB  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class H'?Bx>X  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 -("79v>#  
i1FFf[[L  
struts.serve.static.browserCache |= N8X  
If static content served by the Struts filter should set browser caching header properties or not /~J#c=  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0/{-X[z  
aJI>qk h?]  
struts.serve.static S U2`H7C*  
      Whether the Struts filter should serve static content or not 6M+~{9(S  
      是否struts过滤器应该提供静态内容 *=@Z\]"?  
;&Eu< %y  
struts.tag.altSyntax ',m,wp`  
      Whether to use the alterative syntax for the tags or not `j_R ?mY  
      是否可以用替代的语法替代tags <| Xf4.  
$'?CY)h{  
struts.ui.templateDir <JF78MD\  
      The directory containing UI templates #vLDNR  
      UI templates的目录夹 rIW`(IG_  
;X|;/@@  
struts.ui.theme 9co -W+  
      The default UI template theme *v l_3S5_  
      默认的UI template主题 dr,j~s  
G dL\  
struts.url.http.port m]7Y )&3  
      The HTTP port used by Struts URLs ` mALx! `  
      设置http端口 w V2 7  
6tzZ j:y q  
struts.url.https.port )ckx&e  
      The HTTPS port used by Struts URLs &[R&@l Y  
      设置https端口 MSRIG-  
-Ah\a0z  
struts.url.includeParams {\C$Bz  
      The default includeParams method to generate Struts URLs /YUf(' b  
      在url中产生 默认的includeParams x9-K}s]%  
wnt^WW=a[  
]y.,J  
struts.velocity.configfile EU>@k{Qt  
      The Velocity configuration file path -_>c P  
      velocity配置文件路径 8ru@ 8|r  
F3';oyy  
struts.velocity.contexts rAP+nh ans  
      List of Velocity context names N|1J@"H  
      velocity的context列表  78qf  
~g1@-)zYxK  
wT*`Od8w  
struts.velocity.manager.classname K# _plpr  
      org.apache.struts2.views.velocity.VelocityManager implementation class d@8_?G}  
      org.apache.struts2.views.velocity.VelocityManager接口名 5>h2WL  
pA+Qb.z5z  
struts.velocity.toolboxlocation -lb}}z+/  
      The location of the Velocity toolbox X903;&Cim  
      velocity工具盒的位置 _I5p 7X  
struts.xslt.nocache ' nf"u  
      Whether or not XSLT templates should not be cached >a_K:O|AJ  
      是否XSLT模版应该被缓存 O}IS{/^7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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