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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 QOXo(S  
_Xd"'cXw  
struts.action.extension =VD],R)  
      The URL extension to use to determine if the request is meant for a Struts action <,)R`90_X6  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 sjyr9AF  
"&2 F  
struts.configuration 9)oi_U.  
      The org.apache.struts2.config.Configuration implementation class rE m/Q!  
        org.apache.struts2.config.Configuration接口名 M3jUnp&  
>Q/;0>V  
struts.configuration.files t%Jk3W/f  
      A list of configuration files automatically loaded by Struts RzqgN*]lY  
      struts自动加载的一个配置文件列表 qLCNANWnd  
;?/5Mr  
struts.configuration.xml.reload ef`_ n+`  
      Whether to reload the XML configuration or not B%8@yS  
      是否加载xml配置(true,false) ov_l)vt  
8%,#TMOg  
struts.continuations.package s0iG |vw  
      The package containing actions that use Rife continuations 2=_$&oT**  
      含有actions的完整连续的package名称 >%tG[jb  
=Dq&lm,n  
struts.custom.i18n.resources =de'Yy:\-  
      Location of additional localization properties files to load v[Q)L!J1  
      加载附加的国际化属性文件(不包含.properties后缀) hW#^H5?  
u!K1K3T6k  
struts.custom.properties e`n ZiM>  
      Location of additional configuration properties files to load hoq2zDjD  
      加载附加的配置文件的位置 !h.hJt  
^)-[g  
JdS,s5Z>  
struts.devMode 3&y-xZu]  
      Whether Struts is in development mode or not bG]0|  
      是否为struts开发模式 +cH>'OXoB  
 tKV,  
struts.dispatcher.parametersWorkaround ~2Wus8X-  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (I~   
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND)  WwB_L.{  
VO0:4{-  
struts.enable.DynamicMethodInvocation :(A&8<}-6  
      Allows one to disable dynamic method invocation from the URL f8;?WSGyD2  
        允许动态方法调用 @:?[R&`  
8{ZTHY -  
struts.freemarker.manager.classname T_D3WHp  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class I;w!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ?b+Y])SJK  
94w)Yln  
struts.i18n.encoding un 5r9  
      The encoding to use for localization messages U 3< 3T  
      国际化信息内码 !i t orSl  
Mc,|C)  
struts.i18n.reload UDJjw  
      Whether the localization messages should automatically be reloaded 'JOCL0FP  
      是否国际化信息自动加载 e6taQz@}  
':(AiD-}  
struts.locale D\THe-Vtr  
      The default locale for the Struts application <G}Lc  
      默认的国际化地区信息 A&M_ J  
)jOa!E"  
struts.mapper.class 3Z" ;a  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class &<;T$Y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )Jjp^U3Ub  
P gA<pfEHE  
struts.multipart.maxSize _|u}^MLO  
      The maximize size of a multipart request (file upload) 84WD R?  
      multipart请求信息的最大尺寸(文件上传用) )9nW`d+  
i9L]h69r  
struts.multipart.parser {g.YGO  
      The org.apache.struts2.dispatcher.multipart. p9)YRLOh.  
      MultiPartRequest parser implementation for a multipart request (file upload) He=C\"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) e8<}{N0,n  
S a +Y/  
tM]Gu?6  
struts.multipart.saveDir i6WPf:#wr  
      The directory to use for storing uploaded files @/ ^< 9  
      设置存储上传文件的目录夹 b#?sx"z  
uLzE'Z mV  
struts.objectFactory $Y7VA  
      The com.opensymphony.xwork2.ObjectFactory implementation class HDV-qYD|O~  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ^W$R{`  
IVPN=jg?  
struts.objectFactory.spring.autoWire av!;k2"  
      Whether Spring should autoWire or not #ELe W3 S}  
      是否自动绑定Spring c[ZrQJ  
NWn*_@7;  
struts.objectFactory.spring.useClassCache O8 .iP+  
      Whether Spring should use its class cache or not )G)6D"5,+G  
      是否spring应该使用自身的cache ?+.mP]d_  
'! ^7 *@z  
struts.objectTypeDeterminer 4,;*sc6*  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ')v,<{  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 e#/&A5#Ya  
=;-C;gn:w  
struts.serve.static.browserCache F{jxs/~  
If static content served by the Struts filter should set browser caching header properties or not _5rKuL  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 $=.%IJ_MAz  
A{s -g>s  
struts.serve.static Bg),Q8\I  
      Whether the Struts filter should serve static content or not }OEL] 5  
      是否struts过滤器应该提供静态内容 gfK_g)'2U  
CaZc{  
struts.tag.altSyntax 3*I\#Z4p1  
      Whether to use the alterative syntax for the tags or not 8p 4[:M@  
      是否可以用替代的语法替代tags /V*SI!C<f  
BX$<5S@  
struts.ui.templateDir N*36rR$^  
      The directory containing UI templates <5G(Y#s/?  
      UI templates的目录夹 B]tj0FB`-*  
kFE9}0-   
struts.ui.theme 8$~oiK%fw  
      The default UI template theme (qFZF7(Xa  
      默认的UI template主题 AM=,:k$  
iYBc4'X  
struts.url.http.port 6qDt 6uB  
      The HTTP port used by Struts URLs G4c@v1#%.  
      设置http端口 'l(s)Oa{M:  
a!bW^?PcK  
struts.url.https.port vk E]$4P[$  
      The HTTPS port used by Struts URLs J.JD8o9sa  
      设置https端口 Evj%$7H1L1  
JRC2+BU /  
struts.url.includeParams *DIY;)K  
      The default includeParams method to generate Struts URLs Jw5@#j  
      在url中产生 默认的includeParams v_Vw!u  
Q   
jywS<9c@  
struts.velocity.configfile _LZ(HTX~  
      The Velocity configuration file path B Evt{q4  
      velocity配置文件路径 3ux7^au  
gOnZ#  
struts.velocity.contexts F_0D)H)N@  
      List of Velocity context names Fy\q>(v.  
      velocity的context列表 Y `8)`  
*Zg=cI@)(  
:q3w;B~  
struts.velocity.manager.classname } O+xs3Uv  
      org.apache.struts2.views.velocity.VelocityManager implementation class <xSh13<  
      org.apache.struts2.views.velocity.VelocityManager接口名 aHC%:)ww:  
#Hr'plg 8  
struts.velocity.toolboxlocation 5ph CEKt;  
      The location of the Velocity toolbox 4z P"h0  
      velocity工具盒的位置 i. )^}id  
struts.xslt.nocache ch%zu%;f  
      Whether or not XSLT templates should not be cached ShL!7y*rT{  
      是否XSLT模版应该被缓存 r'nPP6`  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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