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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 _crhBp5@T3  
R2n 2mQ<  
struts.action.extension * eC[74Kng  
      The URL extension to use to determine if the request is meant for a Struts action );':aX j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 +^lB"OcOX@  
?WHf%Ie2(  
struts.configuration #H w(w  
      The org.apache.struts2.config.Configuration implementation class iX6>u4~(  
        org.apache.struts2.config.Configuration接口名 Vn4wk>b}$2  
=V]0G,,\  
struts.configuration.files 7dcR@v`c  
      A list of configuration files automatically loaded by Struts *s*Y uY%y  
      struts自动加载的一个配置文件列表 ')!X1A{  
IC&P-X_aP  
struts.configuration.xml.reload ^e_LnJ+  
      Whether to reload the XML configuration or not chKK9SC+|  
      是否加载xml配置(true,false) n'v\2(&uYN  
-z~!%4 a  
struts.continuations.package Ac|\~w[\  
      The package containing actions that use Rife continuations cd1G.10  
      含有actions的完整连续的package名称 R8k4?_W?T  
R__:~ uv,  
struts.custom.i18n.resources } 1e4u{  
      Location of additional localization properties files to load sde>LZet/  
      加载附加的国际化属性文件(不包含.properties后缀) }VZExqm)  
itP`{[  
struts.custom.properties <M@-|K"Eb  
      Location of additional configuration properties files to load ey=KAt  
      加载附加的配置文件的位置 N"G aQ  
q50F!yHC-  
2^=.j2  
struts.devMode z'"7zLQ  
      Whether Struts is in development mode or not q:/df]Ntt  
      是否为struts开发模式 4lB??`UN  
/W$i8g  
struts.dispatcher.parametersWorkaround =&}_bd/]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3{$7tck,  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) N o6!gZ1  
d]] z )  
struts.enable.DynamicMethodInvocation o]4\Geg$  
      Allows one to disable dynamic method invocation from the URL IgG[Pr'D  
        允许动态方法调用 B6Kl_~gT  
7bzm5w@v  
struts.freemarker.manager.classname lb. Q^TghU  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class iCF},W+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Y@0'0   
SOhM6/ID2/  
struts.i18n.encoding e4YP$}_L  
      The encoding to use for localization messages )&c#?wx'w  
      国际化信息内码 :rUMmO-  
L"|Bm{Run  
struts.i18n.reload X`KSj N&(  
      Whether the localization messages should automatically be reloaded 3NtUB;!  
      是否国际化信息自动加载 cx$IWQf2  
]a4U\yr  
struts.locale M_};J;  
      The default locale for the Struts application cdt9hH`Cd  
      默认的国际化地区信息 Y/kq!)u;%L  
hc3hU   
struts.mapper.class Nv7-6C6<  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }+9?)f{?@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 KOS0Du  
H\R a*EO~j  
struts.multipart.maxSize 8u+kA mI  
      The maximize size of a multipart request (file upload) i]%f94  
      multipart请求信息的最大尺寸(文件上传用) e~SK*vR%]  
Nnl3r@  
struts.multipart.parser qT@h/Y  
      The org.apache.struts2.dispatcher.multipart. |nZ^RCHog  
      MultiPartRequest parser implementation for a multipart request (file upload) z#GZb   
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) r%?-MGc  
+7 H)s  
[j+:2@  
struts.multipart.saveDir IC0L&;En  
      The directory to use for storing uploaded files [i`  
      设置存储上传文件的目录夹 LpU}.  
HU $"o6ap  
struts.objectFactory ;o!p9MEpz;  
      The com.opensymphony.xwork2.ObjectFactory implementation class CJ\a7=*i  
      com.opensymphony.xwork2.ObjectFactory接口(spring) iYStl  
`F7]M  
struts.objectFactory.spring.autoWire z l@^[km{  
      Whether Spring should autoWire or not  2h   
      是否自动绑定Spring Mj MDD  
KGy 3#r;Q  
struts.objectFactory.spring.useClassCache XP@dg4Z=z  
      Whether Spring should use its class cache or not ,Z@#( =f  
      是否spring应该使用自身的cache R+M=)Z  
g#J aw|N  
struts.objectTypeDeterminer 35& ^spb  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class h=7q;-@7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 b_31 \  
qNQ54#  
struts.serve.static.browserCache e^Zm09J  
If static content served by the Struts filter should set browser caching header properties or not VI2lw E3  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }csA|cC  
W[8Kia-OD  
struts.serve.static /| v.A\ :  
      Whether the Struts filter should serve static content or not E 5&Z={  
      是否struts过滤器应该提供静态内容 :(n<c  
I}4 PB+yu  
struts.tag.altSyntax *): |WDR  
      Whether to use the alterative syntax for the tags or not Cs6`lX >  
      是否可以用替代的语法替代tags z qeQ  
ZRagM'K  
struts.ui.templateDir OUv<a `0  
      The directory containing UI templates pLB2! +  
      UI templates的目录夹 UCLM*`M  
d05xn7%!{  
struts.ui.theme ,Xn2xOP  
      The default UI template theme n%&L&G  
      默认的UI template主题 Zhq_ pus"a  
$D^\[^S  
struts.url.http.port IOl_J>D]F  
      The HTTP port used by Struts URLs +~^S'6yB  
      设置http端口 n[3z_Q I  
Qg*\aa94  
struts.url.https.port U**8^:*y#:  
      The HTTPS port used by Struts URLs "6f`hy  
      设置https端口 /f3/}x!po  
{@InOo!4w]  
struts.url.includeParams KZppQ0  
      The default includeParams method to generate Struts URLs ?"x4u#x  
      在url中产生 默认的includeParams (9]Uuvfp6"  
"\b>JV5  
RQ,#TbAe  
struts.velocity.configfile 7rjl-FUA~  
      The Velocity configuration file path :; +!ID_  
      velocity配置文件路径 \;{ ]YX  
* 65/gG8>  
struts.velocity.contexts d51lTGH7Z  
      List of Velocity context names <Vhd4c  
      velocity的context列表 G^c,i5}w  
W0gS>L_  
I=0c\ U}  
struts.velocity.manager.classname \OwF!~&  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9-42A7g^C  
      org.apache.struts2.views.velocity.VelocityManager接口名 F9r.DG$}  
}_D.Hy5  
struts.velocity.toolboxlocation g*V.u]U!i  
      The location of the Velocity toolbox (T%F^s5D  
      velocity工具盒的位置 pR S!  
struts.xslt.nocache V:n0BlZ,B  
      Whether or not XSLT templates should not be cached a"vzC$Hxd  
      是否XSLT模版应该被缓存 v)5;~.+%  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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