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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,sPsL9]$  
@]lKQZ^2&  
struts.action.extension .E:QZH'M  
      The URL extension to use to determine if the request is meant for a Struts action ?! dp0<  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 @Tmqw(n{  
` c~:3^?9d  
struts.configuration :w_J/k5Zd  
      The org.apache.struts2.config.Configuration implementation class hNXP-s  
        org.apache.struts2.config.Configuration接口名 'qBg^c  
:HhLc'1Jw  
struts.configuration.files oD_'8G}  
      A list of configuration files automatically loaded by Struts eN]0]9JO  
      struts自动加载的一个配置文件列表 DmAMr=p  
btb-MSkO  
struts.configuration.xml.reload Qz&I~7aoyV  
      Whether to reload the XML configuration or not MNip;S_j  
      是否加载xml配置(true,false) i}Ea>bi{N  
KfJF9!U*?  
struts.continuations.package m MO:m8W  
      The package containing actions that use Rife continuations Cec!{]DL&  
      含有actions的完整连续的package名称 YBQO]3f  
P(fTlrb  
struts.custom.i18n.resources -[OGZP`8  
      Location of additional localization properties files to load *1iJa  
      加载附加的国际化属性文件(不包含.properties后缀) drT X  
-Zfzl`r  
struts.custom.properties %Bg} a  
      Location of additional configuration properties files to load o2?[*pa  
      加载附加的配置文件的位置 l'-dB  
UMUr"-l =  
* EOIgQp  
struts.devMode hBDPz1<  
      Whether Struts is in development mode or not B]]_rl,  
      是否为struts开发模式 y6Xfddd61  
M9*7r\hqYV  
struts.dispatcher.parametersWorkaround <x DD*u  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic w#k'RuOw5  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) QFIdp R.  
X tZ0z?  
struts.enable.DynamicMethodInvocation g<oSTA w  
      Allows one to disable dynamic method invocation from the URL y]eH@:MJ;A  
        允许动态方法调用 S*rgYe!E  
W|~Lmdzj  
struts.freemarker.manager.classname msg&~" Z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &O5%6Sv3d  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~Bn#A kL  
" M8 j?  
struts.i18n.encoding FX)g\=ov  
      The encoding to use for localization messages (qHI>3tpY  
      国际化信息内码 T#?KY  
{y=H49  
struts.i18n.reload cX"[#Em#  
      Whether the localization messages should automatically be reloaded (i>VJr  
      是否国际化信息自动加载 Zeyhr\T  
{c|nIwdB  
struts.locale 5~4I.+~8  
      The default locale for the Struts application dsqqq,>Q  
      默认的国际化地区信息 f33'2PYl  
x, a[ p\1  
struts.mapper.class 95^w" [}4Q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class h";G vjy  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Wfkm'BnV  
2S}%r4$n}  
struts.multipart.maxSize qQ%zSJ?  
      The maximize size of a multipart request (file upload) ZN5\lon|Y  
      multipart请求信息的最大尺寸(文件上传用) laqKP+G  
|{cdXbr  
struts.multipart.parser 'R8VCj  
      The org.apache.struts2.dispatcher.multipart. 2qKo|'gL`  
      MultiPartRequest parser implementation for a multipart request (file upload) sl-LX)*N#  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) T=: &W3  
^sd+s ~ xx  
NS6Bi3~  
struts.multipart.saveDir zAt!jP0E  
      The directory to use for storing uploaded files CF>k_\/Bj  
      设置存储上传文件的目录夹 <=n$oMO  
ymXR#E  
struts.objectFactory 9I=J#Hi|+  
      The com.opensymphony.xwork2.ObjectFactory implementation class ' ^gF  
      com.opensymphony.xwork2.ObjectFactory接口(spring) hFuS>Hx  
;Avd$&::  
struts.objectFactory.spring.autoWire 9+h9]T:9  
      Whether Spring should autoWire or not G+AD &EHV  
      是否自动绑定Spring j2deb`GD  
6'395x_ .\  
struts.objectFactory.spring.useClassCache ,7SLc+  
      Whether Spring should use its class cache or not d|]F^DDuI  
      是否spring应该使用自身的cache ukv _bw  
,XCC#F(d1  
struts.objectTypeDeterminer =PAvPj&}e  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6%C:k,Cx{d  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 PTIC2  
W&}YM b  
struts.serve.static.browserCache V=k!&xN~  
If static content served by the Struts filter should set browser caching header properties or not ui`xgR\6Rh  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =1)yI>2e%}  
3SVI|A5(d  
struts.serve.static O\pqZ`E=s  
      Whether the Struts filter should serve static content or not kmNY ;b6Y$  
      是否struts过滤器应该提供静态内容 3lhXD_Y  
xeo;4c#S5  
struts.tag.altSyntax A2 qus$  
      Whether to use the alterative syntax for the tags or not 8,=Ti7_  
      是否可以用替代的语法替代tags 4z Af|Je  
$1.iMHb  
struts.ui.templateDir Fp4eGuWH#  
      The directory containing UI templates v<_}Br2I[  
      UI templates的目录夹 I:u xj%  
F}<&@7kF  
struts.ui.theme D}px=?  
      The default UI template theme a+szA};  
      默认的UI template主题 $&EZVZ{r  
's@v'u3  
struts.url.http.port Wt()DG|[  
      The HTTP port used by Struts URLs ,W5pe#n  
      设置http端口 G{}E~jDi?  
PV(b J7&R  
struts.url.https.port 9fMg?  
      The HTTPS port used by Struts URLs jpZX5_o  
      设置https端口 ;#78`x2  
< Up n~tH  
struts.url.includeParams 511^f`P<  
      The default includeParams method to generate Struts URLs kf_s.Dedw  
      在url中产生 默认的includeParams }lML..((1  
7'7bIaJk  
3 l->$R]  
struts.velocity.configfile 03J,NXs  
      The Velocity configuration file path pK1P-!c  
      velocity配置文件路径 qi`*4cas*A  
2W|4  
struts.velocity.contexts }fZT$'*;  
      List of Velocity context names })g|r9=  
      velocity的context列表 |;6FhDW+'  
?0hk~8c  
5|NM]8^^0[  
struts.velocity.manager.classname l Vo](#W  
      org.apache.struts2.views.velocity.VelocityManager implementation class 9~ajEs  
      org.apache.struts2.views.velocity.VelocityManager接口名 *'`ByS  
LTS3[=AB  
struts.velocity.toolboxlocation ] $$ciFM  
      The location of the Velocity toolbox  UB&ofO  
      velocity工具盒的位置 b.47KJzt  
struts.xslt.nocache y&t&'l/m  
      Whether or not XSLT templates should not be cached fC.-* r  
      是否XSLT模版应该被缓存 4o9#B:N]J  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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