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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Vg(FF "  
^'p!#\T;H  
struts.action.extension zF@[S  
      The URL extension to use to determine if the request is meant for a Struts action qVW3oj<2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T3NH8nH9"z  
w<u@L  
struts.configuration ?G[=pY:=  
      The org.apache.struts2.config.Configuration implementation class LP'~7FG  
        org.apache.struts2.config.Configuration接口名 K;ocs?rk/  
7J1f$5$m5  
struts.configuration.files c_T+T/O  
      A list of configuration files automatically loaded by Struts UPy 4ST  
      struts自动加载的一个配置文件列表 EXsVZg"#  
'cqY-64CJZ  
struts.configuration.xml.reload SLz;5%CPV  
      Whether to reload the XML configuration or not o@L2c3?c5  
      是否加载xml配置(true,false) L[^.pO  
y@(EGfI  
struts.continuations.package /r8sL)D+  
      The package containing actions that use Rife continuations M8R/a[ -A  
      含有actions的完整连续的package名称 "R\D:Olb#  
,3 [FD9  
struts.custom.i18n.resources 'p[*2J"K4  
      Location of additional localization properties files to load <v!jS=T  
      加载附加的国际化属性文件(不包含.properties后缀)  7LB%7~{<  
jx}7/  
struts.custom.properties XAN.Plk  
      Location of additional configuration properties files to load {:#c1d2@8  
      加载附加的配置文件的位置 s"5nfl  
%]1te*_  
6rM{r>  
struts.devMode vVZ+u4y  
      Whether Struts is in development mode or not mV0u:ws  
      是否为struts开发模式 7x]q>Y8T  
r4ljA@L  
struts.dispatcher.parametersWorkaround u2OrH3E4E3  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 26p_fKY  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y@SI)&D  
ehLn+tg  
struts.enable.DynamicMethodInvocation < lUpvr  
      Allows one to disable dynamic method invocation from the URL b2H -D!YO^  
        允许动态方法调用 X]D:vuB  
a'g&1N0Rc  
struts.freemarker.manager.classname 'w=aLu5dY  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :`>tCYy;  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 CzI s_/  
Cj=_WWo  
struts.i18n.encoding o;21|[z  
      The encoding to use for localization messages G#~U\QlG-  
      国际化信息内码 yg4#,4---b  
%)Z,?DzZ  
struts.i18n.reload Res4;C  
      Whether the localization messages should automatically be reloaded k7& cc|y  
      是否国际化信息自动加载 ]Ot=At  
N_G84wxx  
struts.locale 4aKppj  
      The default locale for the Struts application RXo6y(^  
      默认的国际化地区信息 \t%iUZ$  
'#>Fe`[  
struts.mapper.class :2V|(:^ '  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 1,7 }ah_  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 <rvM)EJv|  
I%b5a`7  
struts.multipart.maxSize MdFFt:y:  
      The maximize size of a multipart request (file upload) "<Yxt"Z4  
      multipart请求信息的最大尺寸(文件上传用) <g&.UW4  
,g4T>7`&U%  
struts.multipart.parser }=B~n0  
      The org.apache.struts2.dispatcher.multipart. u08j9) ,4  
      MultiPartRequest parser implementation for a multipart request (file upload) [E+J=L.l  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) =q>lP+  
,M:[GuXD<  
NV==[$(r  
struts.multipart.saveDir }57Jn5&'  
      The directory to use for storing uploaded files b|*+!v:I>T  
      设置存储上传文件的目录夹 <9\Lv]ng  
i/Nc)kKL  
struts.objectFactory RN}joKV  
      The com.opensymphony.xwork2.ObjectFactory implementation class D2J)qCK1)  
      com.opensymphony.xwork2.ObjectFactory接口(spring) C ^c <s  
RR|X4h0.  
struts.objectFactory.spring.autoWire VrWQ]L  
      Whether Spring should autoWire or not  6@"E*-z$  
      是否自动绑定Spring =A~5?J=  
8kC$Z)  
struts.objectFactory.spring.useClassCache _~ 'MQ`P  
      Whether Spring should use its class cache or not H?FiZy*[Y  
      是否spring应该使用自身的cache n]7rHV}G  
DMTc{  
struts.objectTypeDeterminer =$%-RX7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class v V;]?  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;$8ptB.  
-d thY(8  
struts.serve.static.browserCache 9g# 62oIg  
If static content served by the Struts filter should set browser caching header properties or not "a(e2H2&T4  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 (zxL!ZR<  
F+?i{$  
struts.serve.static XfflD9M  
      Whether the Struts filter should serve static content or not RCi8{~rIvS  
      是否struts过滤器应该提供静态内容 cP4C<UG  
<FAbImE}  
struts.tag.altSyntax Udf\;G@  
      Whether to use the alterative syntax for the tags or not 9Z f  
      是否可以用替代的语法替代tags :hcOceNz  
]1eZ<le`6  
struts.ui.templateDir hTWZIW@  
      The directory containing UI templates I[b{*g2Zw  
      UI templates的目录夹 F/,6Jh  
"kC6G%  
struts.ui.theme &ld<fa(w+2  
      The default UI template theme lHPnAaue@  
      默认的UI template主题 yE.st9m  
-[&Z{1A4x4  
struts.url.http.port gI9nxy  
      The HTTP port used by Struts URLs Y^C(<N$  
      设置http端口 2 E?]!9T~|  
OH@gwC  
struts.url.https.port 2Nx:Y+[  
      The HTTPS port used by Struts URLs -SLk8x  
      设置https端口 X-Ev>3H  
:fnJp9c  
struts.url.includeParams =[[I<[BZq  
      The default includeParams method to generate Struts URLs k<Xb< U  
      在url中产生 默认的includeParams >o%X;U 3  
vbX.0f "n  
y+=s/c  
struts.velocity.configfile 2pv by`P4  
      The Velocity configuration file path :;TF_S v  
      velocity配置文件路径 /|#2ehE  
U#- 5",X|  
struts.velocity.contexts S6\E  I5S  
      List of Velocity context names $=#Lf[|f=  
      velocity的context列表 m-a':  
'4D7:  
*3OlWnZ?  
struts.velocity.manager.classname |'uBkL0q  
      org.apache.struts2.views.velocity.VelocityManager implementation class ueg%D +u  
      org.apache.struts2.views.velocity.VelocityManager接口名 #T8jHnI  
7h2/8YUgQ  
struts.velocity.toolboxlocation st~ l||  
      The location of the Velocity toolbox ^UhqV"[7k  
      velocity工具盒的位置 $FDGHFM  
struts.xslt.nocache |`kk mq  
      Whether or not XSLT templates should not be cached ;8f)p9vE  
      是否XSLT模版应该被缓存 ("{vbs$;  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八