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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 E(p*B8d  
!M*$p Qi}  
struts.action.extension XI/LVP,.  
      The URL extension to use to determine if the request is meant for a Struts action kaG@T,pH(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 &CcUr#|  
s%OPoRE  
struts.configuration GFX$vn-/F  
      The org.apache.struts2.config.Configuration implementation class ed\umQ]   
        org.apache.struts2.config.Configuration接口名 %K/zVYGm&  
Z!eW_""wp  
struts.configuration.files ^Ee"w7XjD  
      A list of configuration files automatically loaded by Struts a\]g lw\;  
      struts自动加载的一个配置文件列表 =Ul{#R z  
>JUOS2  
struts.configuration.xml.reload m6 V L  
      Whether to reload the XML configuration or not edZhI  
      是否加载xml配置(true,false) eWw# T^  
z-g"`w:Lj  
struts.continuations.package (;6vT'hE  
      The package containing actions that use Rife continuations uJ@C-/BD!M  
      含有actions的完整连续的package名称 @;1Ym\zc  
gAxf5 A_x)  
struts.custom.i18n.resources 1Ht&;V  
      Location of additional localization properties files to load 6aq=h`Y  
      加载附加的国际化属性文件(不包含.properties后缀) [,?5}'we  
*^=zQ~  
struts.custom.properties E,wOWs*  
      Location of additional configuration properties files to load ,2MLYW,  
      加载附加的配置文件的位置 i[V\RKH*F  
hwj:$mR  
^0T DaZDLp  
struts.devMode tsf)+`vt  
      Whether Struts is in development mode or not d")TH3pG  
      是否为struts开发模式 gi#g)9HG  
y c:y}"  
struts.dispatcher.parametersWorkaround k[<Uxh%  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic @q/E)M?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "x~su?KiA  
#[B]\HO  
struts.enable.DynamicMethodInvocation ]mZN18#  
      Allows one to disable dynamic method invocation from the URL \&#IK9x{  
        允许动态方法调用 :rzq[J^  
7^<{aE:  
struts.freemarker.manager.classname Nay&cOz  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class S:YQVj  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 dHO8 bYBH  
nd3n'b  
struts.i18n.encoding e4mAKB s!  
      The encoding to use for localization messages /OtLIM+7~{  
      国际化信息内码 '5; /V  
 U rL|r.  
struts.i18n.reload LZ-&qh  
      Whether the localization messages should automatically be reloaded AdGDs+at,  
      是否国际化信息自动加载 e,8[fp-7  
3 z~d7J  
struts.locale 6*r#m%|   
      The default locale for the Struts application Zog&:]P'F  
      默认的国际化地区信息 t;/s^-}  
ic=tVs  
struts.mapper.class H9+[T3b  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class /]>8V'e\  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 $ts1XIK%  
,(y6XUV~  
struts.multipart.maxSize HY>zgf,0  
      The maximize size of a multipart request (file upload) ?Jy /]j5fI  
      multipart请求信息的最大尺寸(文件上传用) 5e|yW0o  
W\1V`\gF  
struts.multipart.parser 2uT"LW/(H  
      The org.apache.struts2.dispatcher.multipart. 8D:0Vhx\I  
      MultiPartRequest parser implementation for a multipart request (file upload) D4IP$pAD  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) oUNuM%g9Dy  
}[mLtv%&  
b2Oj 1dP1  
struts.multipart.saveDir Z(wj5;[G  
      The directory to use for storing uploaded files HF;$Wf+=J  
      设置存储上传文件的目录夹 MfG8=H2#|  
:N#8|;J1Fl  
struts.objectFactory ["N_t:9I  
      The com.opensymphony.xwork2.ObjectFactory implementation class {({Rb$  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +rWcfXOHM  
OYLg-S  
struts.objectFactory.spring.autoWire g|=1U  
      Whether Spring should autoWire or not t`Lh(`  
      是否自动绑定Spring }-N4D"d4o  
5=hMTztf!!  
struts.objectFactory.spring.useClassCache n"g)hu^B  
      Whether Spring should use its class cache or not ~v|NC([(  
      是否spring应该使用自身的cache -I'Jm=q3]  
kA4bv}  
struts.objectTypeDeterminer 1Rd2Xb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class tYUg%2G  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 . /@C  
YS0^ !7u  
struts.serve.static.browserCache U>0~/o  
If static content served by the Struts filter should set browser caching header properties or not opv<r* !  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 a?1lj,"~R  
)uRR!<"~  
struts.serve.static Ge^(Ag}vE  
      Whether the Struts filter should serve static content or not 7?"-:q  
      是否struts过滤器应该提供静态内容 zJH:`~GxE  
e#!,/p E  
struts.tag.altSyntax dj2w_:&W  
      Whether to use the alterative syntax for the tags or not hEMS  
      是否可以用替代的语法替代tags j^6,V\;l  
BK)3b6L=%  
struts.ui.templateDir AOv>O52F/Q  
      The directory containing UI templates ]47!Zo,  
      UI templates的目录夹 )'i n}M  
ZO8r8 [  
struts.ui.theme 'BX U '  
      The default UI template theme iT=h }>  
      默认的UI template主题 B+4WnR1%T  
RXw }Tb/D8  
struts.url.http.port &|I{ju_  
      The HTTP port used by Struts URLs -58Sb"f  
      设置http端口 S5/p3;O\c  
qlm7eS"sy  
struts.url.https.port q_86nvB<  
      The HTTPS port used by Struts URLs oCSJ<+[(C  
      设置https端口 &6&$vF65c  
 N~vK8j@  
struts.url.includeParams OICH:(t_  
      The default includeParams method to generate Struts URLs MmH(dp+  
      在url中产生 默认的includeParams Y$0K}`{  
r*f:%epB%  
d$B+xW  
struts.velocity.configfile WXFC e@  
      The Velocity configuration file path 3eN(Sw@p  
      velocity配置文件路径 <RCeY(1  
~tZy-1  
struts.velocity.contexts t*wV<b  
      List of Velocity context names  Q5 =  
      velocity的context列表 [PH56f  
`N;O6 wZ  
}e-D&U  
struts.velocity.manager.classname ffG1QvC|M  
      org.apache.struts2.views.velocity.VelocityManager implementation class F5 7Kr5X  
      org.apache.struts2.views.velocity.VelocityManager接口名 3(3-#MD0  
S.|%dz  
struts.velocity.toolboxlocation iJSyi;l|  
      The location of the Velocity toolbox K`8$+JDP+  
      velocity工具盒的位置 m+3]RIr&A  
struts.xslt.nocache 51'{Jx8  
      Whether or not XSLT templates should not be cached 9E2OCLWrE  
      是否XSLT模版应该被缓存 /NUu^ N  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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