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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解  c|M6 <}  
@xbQYe%J  
struts.action.extension Zrvz;p@~  
      The URL extension to use to determine if the request is meant for a Struts action a#>Yh;FA  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 MC<PM6w  
W}5xmz  
struts.configuration T(t+ iv  
      The org.apache.struts2.config.Configuration implementation class A<1hOSCz\  
        org.apache.struts2.config.Configuration接口名 n}'=yItVL1  
vU767/  
struts.configuration.files 95YL]3V  
      A list of configuration files automatically loaded by Struts %] >KvoA  
      struts自动加载的一个配置文件列表 pgOQIzu  
KO]T<R h<  
struts.configuration.xml.reload eu(:`uu  
      Whether to reload the XML configuration or not +tVaBhd!  
      是否加载xml配置(true,false) So0f)`A  
kdl:Wt*4o  
struts.continuations.package 5<UVD:~z  
      The package containing actions that use Rife continuations s (zL   
      含有actions的完整连续的package名称 gREzZ+([  
my}-s  
struts.custom.i18n.resources :P<]+\m  
      Location of additional localization properties files to load KU8J bl*   
      加载附加的国际化属性文件(不包含.properties后缀) E=>FjCsu<-  
.ox8*OO<  
struts.custom.properties %d?cP}V  
      Location of additional configuration properties files to load .7l&1C)i  
      加载附加的配置文件的位置 a{R%#e\n  
P %#<I}0C  
EJsM(iG]~M  
struts.devMode .w0s%T,8}^  
      Whether Struts is in development mode or not cUY`97bn  
      是否为struts开发模式 M7@2^G]p  
8DegN,?  
struts.dispatcher.parametersWorkaround a>GyO&+Dkg  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 4|CtRF<L  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %`r?c<P}  
N7O-2Z *  
struts.enable.DynamicMethodInvocation Cn "s` q  
      Allows one to disable dynamic method invocation from the URL 1(|'WyD  
        允许动态方法调用 1`a5C.v  
8$0rR55  
struts.freemarker.manager.classname \3pc"^W  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class /7}It$|nhy  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 [[;e)SoA  
6f\Lf?vF  
struts.i18n.encoding U-R6xxPZ  
      The encoding to use for localization messages `QyO`y=?[Y  
      国际化信息内码 {&\jW!&n  
=5kY6%E7c  
struts.i18n.reload Mz~M3$$9n  
      Whether the localization messages should automatically be reloaded PX<J&rx  
      是否国际化信息自动加载 a=hxJ1O  
~])t 6i  
struts.locale @Ub"5Fl4  
      The default locale for the Struts application J/[=p<I)  
      默认的国际化地区信息 0cJWJOj&  
yuat" Pg  
struts.mapper.class @te!Jgu{  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class .=X}cJ]`[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 uf&myV7  
[%77bv85.G  
struts.multipart.maxSize x "^Xj]-  
      The maximize size of a multipart request (file upload) ,u`B<heoLU  
      multipart请求信息的最大尺寸(文件上传用) { S3ZeN,kZ  
$`)/0{qY-  
struts.multipart.parser ug+io mZ  
      The org.apache.struts2.dispatcher.multipart. !V i@1E  
      MultiPartRequest parser implementation for a multipart request (file upload) SjwyLc  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) cp#JBH O  
A?-oL='  
cm&I* 0\  
struts.multipart.saveDir J6L  K  
      The directory to use for storing uploaded files  DX"xy  
      设置存储上传文件的目录夹 p2DrEId  
w*oQ["SL  
struts.objectFactory 9983aFam  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?e,pN,4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) RPE5K:P  
il:$sd  
struts.objectFactory.spring.autoWire E )5E$  
      Whether Spring should autoWire or not =jX8.K4]  
      是否自动绑定Spring 1:f9J  
Z|5?7v;h5  
struts.objectFactory.spring.useClassCache }M3fmAP}  
      Whether Spring should use its class cache or not }^/9G17  
      是否spring应该使用自身的cache c@/(B:@  
ni<A3OB  
struts.objectTypeDeterminer E}40oID  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class /4` 0?/V  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 YwZ Z{+n  
Qzlo'e1  
struts.serve.static.browserCache Axe8n1*y  
If static content served by the Struts filter should set browser caching header properties or not SRrw0&ts  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 @@8J6*y  
#m{UrTC  
struts.serve.static nij!1z|M  
      Whether the Struts filter should serve static content or not UG'9*(*  
      是否struts过滤器应该提供静态内容 #ZYVc|sT+  
5ZMR,SZhC  
struts.tag.altSyntax G|( ]bvJ?  
      Whether to use the alterative syntax for the tags or not j}~86JO+Cw  
      是否可以用替代的语法替代tags $+>M{fg?  
WC.t_"@  
struts.ui.templateDir kX>f^U{j  
      The directory containing UI templates LAd\Tvms  
      UI templates的目录夹 ,0hA'cp  
<-,gAk)u  
struts.ui.theme N(y\dL=v  
      The default UI template theme q^r#F#*1l  
      默认的UI template主题 89wU-Aggq  
~Uxsn@nLr  
struts.url.http.port uoXAQ6k  
      The HTTP port used by Struts URLs L7V G`h;  
      设置http端口 \>7^f 3m  
O }(VlR2  
struts.url.https.port ^V#@QPK9  
      The HTTPS port used by Struts URLs lsy?Ac  
      设置https端口 t=-SH^$SR  
1$%V{4bJ  
struts.url.includeParams ^sVX)%  
      The default includeParams method to generate Struts URLs 76Vl6cPu>  
      在url中产生 默认的includeParams Er+nk`UR_  
j4;0|zx-i  
?ON-+u  
struts.velocity.configfile !-,t'GF(  
      The Velocity configuration file path Fv Jd8kV  
      velocity配置文件路径 Vv8jEZ8  
^Nmg07_R  
struts.velocity.contexts A` AaTP  
      List of Velocity context names Dg} Ka7H  
      velocity的context列表 69J4=5lX  
nSkPM 5\TI  
qUOKB6  
struts.velocity.manager.classname x}Aw)QCh+r  
      org.apache.struts2.views.velocity.VelocityManager implementation class lhw ,J]0*  
      org.apache.struts2.views.velocity.VelocityManager接口名 I+dbZBX  
FKT1fv[H  
struts.velocity.toolboxlocation ui@2s;1t  
      The location of the Velocity toolbox N9vP7  
      velocity工具盒的位置 .]sf0S!  
struts.xslt.nocache ^",ACWF4Sk  
      Whether or not XSLT templates should not be cached |jVM&R2s  
      是否XSLT模版应该被缓存 82]vkU  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五