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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 hQXxG/yFm  
xJ-*%'(KZ  
struts.action.extension : (cb2j(C  
      The URL extension to use to determine if the request is meant for a Struts action My. dD'C  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 PNf&@  
9hy'DcSy,  
struts.configuration B$ui:R/ t  
      The org.apache.struts2.config.Configuration implementation class */nuv k  
        org.apache.struts2.config.Configuration接口名 b7bSTFZxC  
I-,>DLG  
struts.configuration.files V{!lk]p}a  
      A list of configuration files automatically loaded by Struts <KtBv Ip]  
      struts自动加载的一个配置文件列表 ~P/]:=  
{(;B5rs  
struts.configuration.xml.reload ) !i!3  
      Whether to reload the XML configuration or not QO2Ut!Y  
      是否加载xml配置(true,false) OZ^h\m4  
%VWp&a8  
struts.continuations.package !nwbj21%  
      The package containing actions that use Rife continuations [UoqIU  
      含有actions的完整连续的package名称 @l{I[pp  
wazP,9W?  
struts.custom.i18n.resources >PIPp7C  
      Location of additional localization properties files to load !3h{lE B  
      加载附加的国际化属性文件(不包含.properties后缀) [m\,+lG?)j  
4f!dY o4L  
struts.custom.properties bo1I&I  
      Location of additional configuration properties files to load _%%yV  
      加载附加的配置文件的位置 ,ijW(95{k  
.U 39nd  
&U&Zo@ot"x  
struts.devMode >b>gr OX  
      Whether Struts is in development mode or not zka?cOmYF[  
      是否为struts开发模式 Wab.|\c  
+ 8f>^*:u  
struts.dispatcher.parametersWorkaround VD/&%O8n  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &$F[/[Ds+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) i j/o;_  
")ED)&e  
struts.enable.DynamicMethodInvocation KaW~ERx5  
      Allows one to disable dynamic method invocation from the URL zw]3Vg{T  
        允许动态方法调用 wu2:'y>n  
l<xFnj  
struts.freemarker.manager.classname &hI>L  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class e\r7BW\Y  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4{Udz!  
Y 9i][  
struts.i18n.encoding p![&8i@ym  
      The encoding to use for localization messages D#jX6  
      国际化信息内码 `VZZ^K9zR  
c4 5?St  
struts.i18n.reload VjB*{,  
      Whether the localization messages should automatically be reloaded 2h )8Fq_"  
      是否国际化信息自动加载 C2G  |?=  
)~}PgbZ^  
struts.locale 2ce'fMV  
      The default locale for the Struts application q 5p e~  
      默认的国际化地区信息 BFh$.+D  
E eB3 }  
struts.mapper.class  hgO?+x  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class o?wt$j-  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 _2OuskL  
dE [Ol   
struts.multipart.maxSize TsD;Kl1  
      The maximize size of a multipart request (file upload) Q#pnj thM  
      multipart请求信息的最大尺寸(文件上传用) 76u{!\Jo/{  
Gw{+xz KJ  
struts.multipart.parser L\L"mc|O  
      The org.apache.struts2.dispatcher.multipart. P}@*Z>j:#  
      MultiPartRequest parser implementation for a multipart request (file upload) ([KN*OF  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %S`ik!K"I  
TwFb%YM  
2y kCtRe  
struts.multipart.saveDir 1lcnRHO  
      The directory to use for storing uploaded files %[ Zz0|A  
      设置存储上传文件的目录夹 $<OhGk-  
v[&'k\  
struts.objectFactory c'0 5{C  
      The com.opensymphony.xwork2.ObjectFactory implementation class _whF^g8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _~A~+S}  
B 8{ uR  
struts.objectFactory.spring.autoWire _z8;lt   
      Whether Spring should autoWire or not Pp*}R2  
      是否自动绑定Spring cZi[(K  
YPszk5hn  
struts.objectFactory.spring.useClassCache D|Si)_ Iz  
      Whether Spring should use its class cache or not uyT/Xzo3  
      是否spring应该使用自身的cache H]Wp%"L  
O2v.  
struts.objectTypeDeterminer <HQ&-jx  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class b Us|t  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 u+2Lm*M  
#DUh(:E'`  
struts.serve.static.browserCache ({M?Q>s  
If static content served by the Struts filter should set browser caching header properties or not *]x_,:R6Ow  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^~l  $&~  
ce'TYkPM  
struts.serve.static O,mip  
      Whether the Struts filter should serve static content or not <AUWby,"  
      是否struts过滤器应该提供静态内容 ,4Y*:JU4  
O&'/J8  
struts.tag.altSyntax o.^y1mH'  
      Whether to use the alterative syntax for the tags or not ,%hj cGX11  
      是否可以用替代的语法替代tags 8i: [:Z  
GBbhar},g  
struts.ui.templateDir @\}YAa>>"I  
      The directory containing UI templates Bq!cY Wj  
      UI templates的目录夹 M<[ ?g5=#  
B*,?C]0{  
struts.ui.theme 8#59iQl  
      The default UI template theme 1q]c7"  
      默认的UI template主题 3k' .(P|F  
}Bff,q  
struts.url.http.port 8R xc&`_X  
      The HTTP port used by Struts URLs 3ATjsOL  
      设置http端口 >5Lexj  
NHiq^ojk  
struts.url.https.port &qRJceT(  
      The HTTPS port used by Struts URLs }.{}A(^YR  
      设置https端口 EXpSh}  
0H:dv:#WAI  
struts.url.includeParams Pp_V5,i\  
      The default includeParams method to generate Struts URLs G;]:$J  
      在url中产生 默认的includeParams /cY^]VLe  
)+Y&4Qu  
f\K#>u* Q  
struts.velocity.configfile Z$;"8XUM  
      The Velocity configuration file path h0VzIuV  
      velocity配置文件路径 zk=\lp2  
bPd-D-R  
struts.velocity.contexts & _K*kI:  
      List of Velocity context names .nZ3kT`  
      velocity的context列表 nyhMnp#<  
X\sm[_I  
T[.[ g/`  
struts.velocity.manager.classname 1^{`lK~2  
      org.apache.struts2.views.velocity.VelocityManager implementation class i_U}{|j  
      org.apache.struts2.views.velocity.VelocityManager接口名 <NB41/  
gyus8#sT  
struts.velocity.toolboxlocation 7 g6RiH}  
      The location of the Velocity toolbox Lko`F$5X  
      velocity工具盒的位置 $a.u05  
struts.xslt.nocache -M61 Mw1  
      Whether or not XSLT templates should not be cached GLh]G(  
      是否XSLT模版应该被缓存 vA-PR&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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