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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 "5HSCl$r%  
5>6:#.f%!e  
struts.action.extension AqiH1LAE  
      The URL extension to use to determine if the request is meant for a Struts action 6Ki!j<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ${)oi:K@:  
`r'$l<(4WV  
struts.configuration $ \+x7"pI  
      The org.apache.struts2.config.Configuration implementation class N:q\i57x  
        org.apache.struts2.config.Configuration接口名 boq=@Qh  
a]/KJn /B(  
struts.configuration.files ?9;CC]D  
      A list of configuration files automatically loaded by Struts {/j gB"9  
      struts自动加载的一个配置文件列表 7`j%5%q  
j{j5TvsrY  
struts.configuration.xml.reload ]Twyj  
      Whether to reload the XML configuration or not = GyABK  
      是否加载xml配置(true,false) 7YxVtN  
8@[S,[  
struts.continuations.package jlA6~n  
      The package containing actions that use Rife continuations aGd wuD  
      含有actions的完整连续的package名称 "F =NDF  
A`#?Bj   
struts.custom.i18n.resources OxPl0-]t  
      Location of additional localization properties files to load m lxtey6H3  
      加载附加的国际化属性文件(不包含.properties后缀) .{t*v6(TP  
Xj{gyLs  
struts.custom.properties A=0{}B#  
      Location of additional configuration properties files to load P!"{-m'  
      加载附加的配置文件的位置 &b`'RZe  
=;4K5l{c  
wH$qj'G4CN  
struts.devMode *MS$C$HOq  
      Whether Struts is in development mode or not :%z#s  
      是否为struts开发模式 Gy[anDE&  
et/:vLl13  
struts.dispatcher.parametersWorkaround == E8^jYJw  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic a4.w2GR  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) HUMy\u84H  
z#Fel/L`O  
struts.enable.DynamicMethodInvocation Zf1 uK(6X  
      Allows one to disable dynamic method invocation from the URL wAw1K2d  
        允许动态方法调用 RcO"k3J  
8Ji`wnkXe  
struts.freemarker.manager.classname Z;V(YK(WO.  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Qu1&$oO  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 _|4R^*/ 4  
O\ _ro.  
struts.i18n.encoding R:+'"dBge  
      The encoding to use for localization messages X4 ] miUmh  
      国际化信息内码 er5!n e  
%.hJDX\j  
struts.i18n.reload \i/HHP[%  
      Whether the localization messages should automatically be reloaded 2Mk;r*FT  
      是否国际化信息自动加载 v$0|\)E)  
"0uM%*2  
struts.locale :'B(DzUR  
      The default locale for the Struts application <$yA*  
      默认的国际化地区信息 > SLQW  
p3Qls*  
struts.mapper.class "b~C/-W I  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class L {P'mG=4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ;-8.~Sm  
}2@Z{5sh)  
struts.multipart.maxSize z?<B@\~  
      The maximize size of a multipart request (file upload) I]` RvT  
      multipart请求信息的最大尺寸(文件上传用) X5YOxMq  
ij!d-eM/b  
struts.multipart.parser LT<2 n.S  
      The org.apache.struts2.dispatcher.multipart. 5"@>>"3U  
      MultiPartRequest parser implementation for a multipart request (file upload) +HBizJ9K  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) cFw-JM<  
{QM rgyQ E  
<wk  
struts.multipart.saveDir `v!. ,Yr  
      The directory to use for storing uploaded files \894 Jqh  
      设置存储上传文件的目录夹 A!Cby!,  
;.Bz'Q  
struts.objectFactory aSvv(iV  
      The com.opensymphony.xwork2.ObjectFactory implementation class b"A,q  
      com.opensymphony.xwork2.ObjectFactory接口(spring) QZ l#^-on  
)`rD]0ua;  
struts.objectFactory.spring.autoWire mA{?E9W  
      Whether Spring should autoWire or not b'\Q/;oz>  
      是否自动绑定Spring y62f{ks_/  
v1 8<~  
struts.objectFactory.spring.useClassCache $KbZ4bB[Bo  
      Whether Spring should use its class cache or not R>O_2`c  
      是否spring应该使用自身的cache -n.m "O3  
`Y:]&w  
struts.objectTypeDeterminer <4; nq~  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s{@R|5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9$\s v5  
-*' ?D@l  
struts.serve.static.browserCache P)`^rJ6  
If static content served by the Struts filter should set browser caching header properties or not oj djy#:  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 \W .CHSD  
%PYO9:n  
struts.serve.static OP1` !P y  
      Whether the Struts filter should serve static content or not d5l42^Z  
      是否struts过滤器应该提供静态内容 6^gp /{  
S/XU4i:aV  
struts.tag.altSyntax #@B"E2F  
      Whether to use the alterative syntax for the tags or not F,Q;sq  
      是否可以用替代的语法替代tags 'hjEd.  
'IX1WS&\"  
struts.ui.templateDir 9(^UchZZi  
      The directory containing UI templates Qb^G1#r@C  
      UI templates的目录夹 t,7%| {  
[Kwj 7q`  
struts.ui.theme %*gf_GeM  
      The default UI template theme Q]K` p(  
      默认的UI template主题 G x[ZHpy;  
RE;A 0E_3  
struts.url.http.port J,?#O#j  
      The HTTP port used by Struts URLs tVRN3fJH  
      设置http端口 F"] P|   
+]%S}<R  
struts.url.https.port *SNdU^!  
      The HTTPS port used by Struts URLs G\gjCp?!  
      设置https端口 Eb ILAJ  
U=G49 ~E  
struts.url.includeParams Q~(Gll;  
      The default includeParams method to generate Struts URLs M- ^I!C  
      在url中产生 默认的includeParams N_c44[z 1  
EH |+S  
5.6tVr  
struts.velocity.configfile +yP!7]  
      The Velocity configuration file path (t-hi8"  
      velocity配置文件路径 dTg`z,^F  
iqDyE*a  
struts.velocity.contexts "0CFvN'4  
      List of Velocity context names =npE?wK  
      velocity的context列表 j*DPW)RkKX  
GY]P(NU  
N1~bp?$1  
struts.velocity.manager.classname }93kHO{  
      org.apache.struts2.views.velocity.VelocityManager implementation class {fXkbMO|  
      org.apache.struts2.views.velocity.VelocityManager接口名 e"04jd/  
<< >+z5D+  
struts.velocity.toolboxlocation 1b9S";ct0  
      The location of the Velocity toolbox lMY\8eobcB  
      velocity工具盒的位置 6iU&9Z<%  
struts.xslt.nocache c|?(>  
      Whether or not XSLT templates should not be cached B#V""[Y9  
      是否XSLT模版应该被缓存 zq};{~u(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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