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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?XV3Y3  
K'y|_XsBB)  
struts.action.extension @aP1[(m  
      The URL extension to use to determine if the request is meant for a Struts action :%h|i&B  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 e@1A_q@.  
j_h0 hm]  
struts.configuration MpTOC&NG%s  
      The org.apache.struts2.config.Configuration implementation class !;K zR&  
        org.apache.struts2.config.Configuration接口名 Z)f?X  
{&a6<y#-  
struts.configuration.files ^b4i9n,t1  
      A list of configuration files automatically loaded by Struts D=SjCmG  
      struts自动加载的一个配置文件列表 T:".{h-i  
">5$;{;2r  
struts.configuration.xml.reload {w@9\LsU  
      Whether to reload the XML configuration or not f`iDF+h<6  
      是否加载xml配置(true,false) !JBj%|!  
u'^kpr`y  
struts.continuations.package d5`D[,]d  
      The package containing actions that use Rife continuations X|aD>CT  
      含有actions的完整连续的package名称 ght3#  
y8Rq2jI;(e  
struts.custom.i18n.resources SXC 7LJm<g  
      Location of additional localization properties files to load &Mz]y?k'  
      加载附加的国际化属性文件(不包含.properties后缀) ^9><qKbO  
!L<z(dV|(  
struts.custom.properties Xpt9$=d  
      Location of additional configuration properties files to load Xc4zUEO9  
      加载附加的配置文件的位置 <+<Nsza  
/(?s\}O  
D G|v' #  
struts.devMode >s )L(DHa"  
      Whether Struts is in development mode or not 5hh6;)  
      是否为struts开发模式 yF1p^>*ak&  
lBa` nG  
struts.dispatcher.parametersWorkaround 'rq@9$h1W  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic !,C8  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) xdVsbW)L2  
[Zzztn+  
struts.enable.DynamicMethodInvocation SM1L^M3)  
      Allows one to disable dynamic method invocation from the URL QKhGEW~G  
        允许动态方法调用 /,~g"y.;,  
+N'&6z0Wf  
struts.freemarker.manager.classname Z:^ S-h  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class d\zUtcJwC  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 KT17I&:  
R}IuMMx  
struts.i18n.encoding C Sz+cS  
      The encoding to use for localization messages :F9Oj1lM%  
      国际化信息内码 VGc.yM)& j  
bcT'!:  
struts.i18n.reload Xoha.6$l5  
      Whether the localization messages should automatically be reloaded !R@jbM  
      是否国际化信息自动加载 ,9MNB3  
m4yWhUi(o  
struts.locale x 0K#-  
      The default locale for the Struts application HKIr?  
      默认的国际化地区信息 /`0>U  
>UV}^OO  
struts.mapper.class KT7R0v  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .*X=[" F  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 T%;NW|mH&  
z.+%{_pe  
struts.multipart.maxSize 1f'msy/  
      The maximize size of a multipart request (file upload) 6!N2B[9  
      multipart请求信息的最大尺寸(文件上传用) &C)97E  
gGN 6Yqj0  
struts.multipart.parser bAy\Sr #/  
      The org.apache.struts2.dispatcher.multipart. H/Rzs$pnv  
      MultiPartRequest parser implementation for a multipart request (file upload)  z:   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) OmK4 \_.  
_'<FBlIN  
e{3%-  
struts.multipart.saveDir >&k`NXS|V  
      The directory to use for storing uploaded files $=`d[04  
      设置存储上传文件的目录夹 n&a\mGF  
(;H% r &  
struts.objectFactory Qc=-M'9  
      The com.opensymphony.xwork2.ObjectFactory implementation class $~VIx% h  
      com.opensymphony.xwork2.ObjectFactory接口(spring) U9*< dR  
&0H_W xKeB  
struts.objectFactory.spring.autoWire ;*ni%|K  
      Whether Spring should autoWire or not E}THG=6  
      是否自动绑定Spring hztqZ:  
hm k ~  
struts.objectFactory.spring.useClassCache [_}8Vv&6  
      Whether Spring should use its class cache or not *xITMi  
      是否spring应该使用自身的cache Xbrc_ V\_  
EEo I|  
struts.objectTypeDeterminer (_6JQn  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class #k[Y(_  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 yk(r R  
3(nnN[?N,5  
struts.serve.static.browserCache JT=ax/%Mo  
If static content served by the Struts filter should set browser caching header properties or not G]{^.5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |n^rI\ p%  
.g?D3$|K  
struts.serve.static >yVp1Se  
      Whether the Struts filter should serve static content or not lR9uD9Dr  
      是否struts过滤器应该提供静态内容 n,LM"N:   
kP5G}Bp  
struts.tag.altSyntax FvO,* r9  
      Whether to use the alterative syntax for the tags or not Oi]B%Uxy=  
      是否可以用替代的语法替代tags Jr= fc*f  
[LUqF?K&  
struts.ui.templateDir T LF'7ufq  
      The directory containing UI templates Le{.B@2-"  
      UI templates的目录夹 Q04 `+Vr  
.:GOKyr(~  
struts.ui.theme #{^qBP[  
      The default UI template theme g#Ta03\  
      默认的UI template主题 y y[Y=  
SLUQFoz}  
struts.url.http.port GV28&!4sS  
      The HTTP port used by Struts URLs p )]x,F  
      设置http端口 SqdI($F\:  
-M_>]ubG  
struts.url.https.port D;jbZ9  
      The HTTPS port used by Struts URLs s:(z;cj/  
      设置https端口 'KT(;Vof  
2;J\Z=7  
struts.url.includeParams 6V}xgfB  
      The default includeParams method to generate Struts URLs ^".6~{  
      在url中产生 默认的includeParams Azp!;+  
ULgp]IS  
{"2CI^!/U.  
struts.velocity.configfile )[r=(6?n  
      The Velocity configuration file path lV$#>2Hh5  
      velocity配置文件路径 ckv8QAm  
4S[)5su  
struts.velocity.contexts ^ 4Ff8Y  
      List of Velocity context names x8~*+ j  
      velocity的context列表 $<Y%4LI  
OdNcuiLa  
td23Z1Elk#  
struts.velocity.manager.classname KmM:V2@A$  
      org.apache.struts2.views.velocity.VelocityManager implementation class NV@$\ <  
      org.apache.struts2.views.velocity.VelocityManager接口名 m6]6 !_  
%DA`.Z9 #  
struts.velocity.toolboxlocation '5~l{3Lw  
      The location of the Velocity toolbox wO`G_!W9  
      velocity工具盒的位置 vy2"B ch  
struts.xslt.nocache R,=8)OI2  
      Whether or not XSLT templates should not be cached q">}3`k  
      是否XSLT模版应该被缓存 mZmEE2h  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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