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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 D,qu-k[jMI  
_j?e~w&0b  
struts.action.extension _WXtB#  
      The URL extension to use to determine if the request is meant for a Struts action u VyGk~  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +l3=3  
kHw_ S-  
struts.configuration r$Co0!.  
      The org.apache.struts2.config.Configuration implementation class n_ lo`  
        org.apache.struts2.config.Configuration接口名 &e-U5'(6v_  
w@JKl5  
struts.configuration.files 8{`?= &%6  
      A list of configuration files automatically loaded by Struts ,to+oSZE  
      struts自动加载的一个配置文件列表 Tm_B^ W}  
b2b?hA'k  
struts.configuration.xml.reload <Rh6r}f  
      Whether to reload the XML configuration or not r}[7x]sP  
      是否加载xml配置(true,false) J:&[ 59  
WOuEWw=  
struts.continuations.package AdRX`[ik  
      The package containing actions that use Rife continuations <\kr1qH H  
      含有actions的完整连续的package名称 iu&wO<)+?  
AKMm&(fh%  
struts.custom.i18n.resources ^P151*=D  
      Location of additional localization properties files to load nWQ;9_qBB  
      加载附加的国际化属性文件(不包含.properties后缀) !*6CWV0  
`W/sP\3  
struts.custom.properties sVG(N.y  
      Location of additional configuration properties files to load ?T+q/lt4  
      加载附加的配置文件的位置 ZaNQpH.  
4jD2FFG- G  
{43>m)8+  
struts.devMode Y%`xDI  
      Whether Struts is in development mode or not b[V^86X^  
      是否为struts开发模式 ( =~&+z  
Xd^\@  
struts.dispatcher.parametersWorkaround .{y uo{u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic KM^ufF2[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) y~()|L[  
")=X4]D  
struts.enable.DynamicMethodInvocation P#=`2a#G  
      Allows one to disable dynamic method invocation from the URL 8 r_>t2$  
        允许动态方法调用 Aq3}Ng  
5^^XQ?"  
struts.freemarker.manager.classname 8\:NMP8W\  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Kq i4hK  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y>'|oygHA  
kbM3  
struts.i18n.encoding 5mb]Q)f9-  
      The encoding to use for localization messages EkziAON  
      国际化信息内码 jH_JmYd  
BcI |:qv|  
struts.i18n.reload zOQ>d|p?X  
      Whether the localization messages should automatically be reloaded B^g ?=|{  
      是否国际化信息自动加载 h@a+NE8  
(<^yqH?  
struts.locale w*R$o  
      The default locale for the Struts application 8By|@LO  
      默认的国际化地区信息 eq U ME  
h: 9Zt0,  
struts.mapper.class #8)*1?  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ;Iq/l%vX  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 l+V>]?j  
~6p[El#tS  
struts.multipart.maxSize J H7<  
      The maximize size of a multipart request (file upload) o"*AtGR+"  
      multipart请求信息的最大尺寸(文件上传用) ynbuN x*  
AM!G1^c  
struts.multipart.parser ~?(N  
      The org.apache.struts2.dispatcher.multipart. rS;Dmm  
      MultiPartRequest parser implementation for a multipart request (file upload) 7Hs%Cc"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) EY tQw(!Q  
f k&8]tK4  
^pUHKXihD  
struts.multipart.saveDir >p"c>V& 8  
      The directory to use for storing uploaded files U*) 8G  
      设置存储上传文件的目录夹 -,U3fts  
aTt 12Sc  
struts.objectFactory '*3h!lW1.  
      The com.opensymphony.xwork2.ObjectFactory implementation class kBffF@{  
      com.opensymphony.xwork2.ObjectFactory接口(spring) j:VbrR  
b9l;a+]d  
struts.objectFactory.spring.autoWire OLE[UXD-E  
      Whether Spring should autoWire or not k?,1x~  
      是否自动绑定Spring ^0 -:G6H  
OynXkH]0T+  
struts.objectFactory.spring.useClassCache <[-nF"Q  
      Whether Spring should use its class cache or not pS:4CNI{  
      是否spring应该使用自身的cache o,)?!{k}  
<*qnY7c&N;  
struts.objectTypeDeterminer #?S^kM-0  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6ZP"p<xX  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Q637N|01  
`G}TG(  
struts.serve.static.browserCache (=om,g}  
If static content served by the Struts filter should set browser caching header properties or not _WRFsDZ'  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B\XKw'   
sc}~8T  
struts.serve.static Sn|BlXrey  
      Whether the Struts filter should serve static content or not X<I+&Zi  
      是否struts过滤器应该提供静态内容 GaK-t*Q  
xsD($_  
struts.tag.altSyntax j-lfMEa$o  
      Whether to use the alterative syntax for the tags or not %4gg@Z9  
      是否可以用替代的语法替代tags ;'cN<x)% |  
VcXq?f>\  
struts.ui.templateDir ()6wvu}  
      The directory containing UI templates >7QvK3S4%  
      UI templates的目录夹 =Lf,?"S  
6 |PrX L&  
struts.ui.theme eLfk\kk]Pc  
      The default UI template theme XMxSQ B1  
      默认的UI template主题 H<PtAYFS  
tg<EY!WY  
struts.url.http.port vbyH<LPz5  
      The HTTP port used by Struts URLs lIW }EM  
      设置http端口 bAx-"Lu  
SMpH._VFeE  
struts.url.https.port zo4qG+>o  
      The HTTPS port used by Struts URLs Y!nJg1  
      设置https端口 FG.em  
F9,DrB,B{  
struts.url.includeParams ,Y/ g2 4R  
      The default includeParams method to generate Struts URLs !:q/Ye3.  
      在url中产生 默认的includeParams t%E!o0+8Z  
sTn<#l6  
hHV";bk  
struts.velocity.configfile e,W%uH>X  
      The Velocity configuration file path NTYg[VTr  
      velocity配置文件路径 %H]ptH5  
ur:3W6ZKl  
struts.velocity.contexts 5\]Sv]s)R  
      List of Velocity context names xdp`<POn%  
      velocity的context列表 hEKf6#  
Z{]0jhUyNh  
7$CBx/X50)  
struts.velocity.manager.classname HTX?,C_  
      org.apache.struts2.views.velocity.VelocityManager implementation class NQJq6S4@  
      org.apache.struts2.views.velocity.VelocityManager接口名 [OC5l>  
E2R&[Q"%  
struts.velocity.toolboxlocation 6ZP(E^.  
      The location of the Velocity toolbox LG9+y  
      velocity工具盒的位置 l1BtI_7p  
struts.xslt.nocache  W\d{a(*  
      Whether or not XSLT templates should not be cached =T HpdtL  
      是否XSLT模版应该被缓存 fSK]|"c  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
10+5=?,请输入中文答案:十五