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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 J9aqmQj('  
2{U5*\FhVX  
struts.action.extension co^bS;r  
      The URL extension to use to determine if the request is meant for a Struts action Q1kZ+b&  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (\8IgQ{  
(KG2X  
struts.configuration X$r5KJU  
      The org.apache.struts2.config.Configuration implementation class aA -j  
        org.apache.struts2.config.Configuration接口名 =)#<u9 qqL  
Rzyaicj^c  
struts.configuration.files (QdLz5\  
      A list of configuration files automatically loaded by Struts [s[!PlazX  
      struts自动加载的一个配置文件列表 )xL_jSyh  
tb>Q#QB&u  
struts.configuration.xml.reload F=?GV\Tw  
      Whether to reload the XML configuration or not "!Nu A  
      是否加载xml配置(true,false) _&N:%;9uD  
6FX]b4  
struts.continuations.package (tF/2cZk  
      The package containing actions that use Rife continuations RWB]uHzE  
      含有actions的完整连续的package名称 P_P~c~o  
V#B'm?aQ  
struts.custom.i18n.resources yjOZed;M  
      Location of additional localization properties files to load k~2FlRoC^  
      加载附加的国际化属性文件(不包含.properties后缀) tI  
7H4\AG\>  
struts.custom.properties @nnX{$YX  
      Location of additional configuration properties files to load 9&HaEAme  
      加载附加的配置文件的位置 EUq6) K  
)afH:  
u= Ga}  
struts.devMode NA YwuE-`  
      Whether Struts is in development mode or not >_#A*B|  
      是否为struts开发模式 _ t.E_K  
mqBX1D`e2  
struts.dispatcher.parametersWorkaround Bw<$fT`  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic Q>xp 90&.n  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) f*EDSJu\  
9%dO"t$-q  
struts.enable.DynamicMethodInvocation -dw/wHf"  
      Allows one to disable dynamic method invocation from the URL ^Ge|tBMoKE  
        允许动态方法调用 Sq5}v]k@&  
29W`L2L  
struts.freemarker.manager.classname *CVI@:Q9  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Snq0OxS[v  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 MM~4D  
% C)|fDwN  
struts.i18n.encoding ;[7#h8  
      The encoding to use for localization messages &m`@6\N(  
      国际化信息内码 fG<[zt\e  
#%]?e N  
struts.i18n.reload Pk8(2fAYk  
      Whether the localization messages should automatically be reloaded CX7eCo  
      是否国际化信息自动加载 -5\.\L3y)  
{;38&Izwz  
struts.locale QvzE:]pyi  
      The default locale for the Struts application Q@TeU#2Y  
      默认的国际化地区信息 &!*p>Ns)e  
Va/}|& 9  
struts.mapper.class C@MJn)$4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class D7v.Xq|  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 }cIj1:  
t?p>L*  
struts.multipart.maxSize $wcV~'fM  
      The maximize size of a multipart request (file upload) 9Z:pss@  
      multipart请求信息的最大尺寸(文件上传用) W,%qL6qV  
zB"y^g  
struts.multipart.parser CbMClnF  
      The org.apache.struts2.dispatcher.multipart. $cGV)[KWp@  
      MultiPartRequest parser implementation for a multipart request (file upload) 'l1cuAP!+  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) InG<B,/W?  
^Uldyv/  
K&&YxX~ 3  
struts.multipart.saveDir ]2z Gb5s"  
      The directory to use for storing uploaded files NV^n}]ci  
      设置存储上传文件的目录夹 ?o d*"M  
1! R:}r3t  
struts.objectFactory QjsN7h&%  
      The com.opensymphony.xwork2.ObjectFactory implementation class pS!N<;OWr  
      com.opensymphony.xwork2.ObjectFactory接口(spring) b~+\\,q}  
2!a~YT  
struts.objectFactory.spring.autoWire ([hd  
      Whether Spring should autoWire or not |H8UT S X+  
      是否自动绑定Spring qjRp5  
Z-i$KF  
struts.objectFactory.spring.useClassCache a]x\e{  
      Whether Spring should use its class cache or not Csm23QLsg)  
      是否spring应该使用自身的cache FFc?Av?_  
:5zO!~\  
struts.objectTypeDeterminer K st2.Yy  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k= 9a/M u  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ,oj)`?Vh  
=1j`VJU9  
struts.serve.static.browserCache jE$]Z(Ab  
If static content served by the Struts filter should set browser caching header properties or not oX-h7;SD  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 3UGdXufw  
p|=0EWo4U  
struts.serve.static 1c $iW>0K  
      Whether the Struts filter should serve static content or not {"^#CSi  
      是否struts过滤器应该提供静态内容 zQx7qx  
)eWg2w]  
struts.tag.altSyntax t2z@"e   
      Whether to use the alterative syntax for the tags or not ":^cb =  
      是否可以用替代的语法替代tags d\rs/ee  
;hPo5uZQ  
struts.ui.templateDir ,,(BW7(  
      The directory containing UI templates SVT'fPm1M  
      UI templates的目录夹 }/z\%Y  
wk6tdY{&s  
struts.ui.theme Oc^bbC  
      The default UI template theme 4Bq4d.0  
      默认的UI template主题 NZ~"2~Hh  
,:3Di (  
struts.url.http.port v&u8Ks  
      The HTTP port used by Struts URLs =A^VzIj(  
      设置http端口 {FM:\/  
8KS9!*.iZ  
struts.url.https.port qC YXkZ%`  
      The HTTPS port used by Struts URLs N:rnH:g+:  
      设置https端口 12yX`9h>  
2aGK}sS6  
struts.url.includeParams Z65]|  
      The default includeParams method to generate Struts URLs LwIX&\Ub  
      在url中产生 默认的includeParams L3X[; |v}  
h+Tt+ Q\  
f<( ysl1[  
struts.velocity.configfile 4+r26S,T  
      The Velocity configuration file path Psu*t%nQ?A  
      velocity配置文件路径 24/ ^_Td  
5I@2UvV8  
struts.velocity.contexts }5Pzen  
      List of Velocity context names qn@:A2e d  
      velocity的context列表 2;=xH t  
<7sGA{  
!4 G9`>n  
struts.velocity.manager.classname nK|WzUtp  
      org.apache.struts2.views.velocity.VelocityManager implementation class TfqQh!Y  
      org.apache.struts2.views.velocity.VelocityManager接口名 NpYzN|W:  
[ f`V_1d3  
struts.velocity.toolboxlocation "npLl]XM  
      The location of the Velocity toolbox . xdSUe  
      velocity工具盒的位置 Tg.}rNA4  
struts.xslt.nocache 626 !6E;T  
      Whether or not XSLT templates should not be cached NX:i]t  
      是否XSLT模版应该被缓存 a;e~D 9%1  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八