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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9@( O\xr  
-zPm{a  
struts.action.extension o~Bk0V=  
      The URL extension to use to determine if the request is meant for a Struts action zA2UFax=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 01&*`0?  
X QI.0L"  
struts.configuration dK:l&R  
      The org.apache.struts2.config.Configuration implementation class | \Ab L!u  
        org.apache.struts2.config.Configuration接口名 en Pzy:C  
Coga-: 2vu  
struts.configuration.files yonJd  
      A list of configuration files automatically loaded by Struts aw %>YrJ  
      struts自动加载的一个配置文件列表 "CIpo/ebL  
`DI{wqV9  
struts.configuration.xml.reload u86J.K1Q  
      Whether to reload the XML configuration or not g ^D)x[  
      是否加载xml配置(true,false) ;~}- AI-  
:X3rd|;kc  
struts.continuations.package \%w7D6dEZ  
      The package containing actions that use Rife continuations \B*k_W/r@  
      含有actions的完整连续的package名称 # rh0r`  
{fAh@:{@  
struts.custom.i18n.resources (jp1; #P!  
      Location of additional localization properties files to load xnl<<}4pJ  
      加载附加的国际化属性文件(不包含.properties后缀) {;]uL`abi?  
:`{9x%o;  
struts.custom.properties &i4 (s%z#  
      Location of additional configuration properties files to load  rE/}hHU  
      加载附加的配置文件的位置 A>qd2  
lH6Cd/a  
0|WOReskK  
struts.devMode 7yY1dR<Y  
      Whether Struts is in development mode or not ({*.!ty  
      是否为struts开发模式 ^AovkK(p  
0lLr[  
struts.dispatcher.parametersWorkaround Wwn5LlJ^  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 0z#l0-NdQ  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) k$9Gn9L%  
2N6Pa(6  
struts.enable.DynamicMethodInvocation ?3]h~( =  
      Allows one to disable dynamic method invocation from the URL NUi{!<  
        允许动态方法调用 ~@b9  
==jkp U*=  
struts.freemarker.manager.classname "U/NMGMj  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class v&t`5-e-A  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 27h/6i3  
t9KH|y  
struts.i18n.encoding U p]VU9z  
      The encoding to use for localization messages 5*G8W\ $  
      国际化信息内码 H;7O\  
f)&`mqeE  
struts.i18n.reload UQC'(>.}  
      Whether the localization messages should automatically be reloaded dg!1wD   
      是否国际化信息自动加载 ')C _An>X6  
J ,Qy`Y B  
struts.locale \GjXsR*b5  
      The default locale for the Struts application PO=ZxG   
      默认的国际化地区信息 Q1N,^71  
{GGO')p  
struts.mapper.class Y\Fuj)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class !Szgph"ul  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 /ieu)m:2  
^L*VW gi9  
struts.multipart.maxSize [#H8=  
      The maximize size of a multipart request (file upload) )w }*PL  
      multipart请求信息的最大尺寸(文件上传用) e3HF"v]2!  
pAPQi|CN  
struts.multipart.parser !5g)3St  
      The org.apache.struts2.dispatcher.multipart. 4wM$5  
      MultiPartRequest parser implementation for a multipart request (file upload) sT;=7 L<TA  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) D{&+7C:8.  
oHP >v_ X  
?z4uze1  
struts.multipart.saveDir ^c;skV&S  
      The directory to use for storing uploaded files (HTk;vbZm  
      设置存储上传文件的目录夹 Sgjr4axu  
iTKG,$G  
struts.objectFactory o'= [<  
      The com.opensymphony.xwork2.ObjectFactory implementation class 2vW,.]95M  
      com.opensymphony.xwork2.ObjectFactory接口(spring) e+]YCp[(  
} (GQDJp  
struts.objectFactory.spring.autoWire B?/12+sR  
      Whether Spring should autoWire or not D6pEQdX`  
      是否自动绑定Spring +v`^_  
Z3u""oM/  
struts.objectFactory.spring.useClassCache @BB,i /  
      Whether Spring should use its class cache or not n WO~v{h3J  
      是否spring应该使用自身的cache g-TX;(  
<O`q3u'l  
struts.objectTypeDeterminer JydQA_   
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class U4mh!  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 J^<j=a|D  
?tal/uC  
struts.serve.static.browserCache )Or:wFSMq  
If static content served by the Struts filter should set browser caching header properties or not 6|(7G64{  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0ghwFo  
Ff1M~MhG  
struts.serve.static OU Yb-  
      Whether the Struts filter should serve static content or not 9g^./k\8%  
      是否struts过滤器应该提供静态内容 bj* v'  
,2:L{8_L  
struts.tag.altSyntax :h](;W>H  
      Whether to use the alterative syntax for the tags or not ~9{-I{=  
      是否可以用替代的语法替代tags iM-hWhU  
{(zL"g46  
struts.ui.templateDir 5SPl#*W  
      The directory containing UI templates e\bF_ N2VA  
      UI templates的目录夹 1>O0Iu  
`\/Wah}I  
struts.ui.theme ?;r7j V/`j  
      The default UI template theme ?_h#>  
      默认的UI template主题 @+Anv~B.  
U:\oGa84A  
struts.url.http.port )F9%^a(  
      The HTTP port used by Struts URLs 66y,{t  
      设置http端口 !nD[hI8P  
g5TLX &Bd  
struts.url.https.port ysP/@;jC  
      The HTTPS port used by Struts URLs "r `6c0Z  
      设置https端口 @0x.n\M_  
FK,r<+h  
struts.url.includeParams UVuuIW0k  
      The default includeParams method to generate Struts URLs ]8j5Ou6#y  
      在url中产生 默认的includeParams Sv]"Y/N  
w})&[d  
W SeRV?+T  
struts.velocity.configfile $F'~^2  
      The Velocity configuration file path ok=E/77`  
      velocity配置文件路径 S>zKD  
<PA$hTYM  
struts.velocity.contexts U";Rp&\3;  
      List of Velocity context names hFF&(t2{^  
      velocity的context列表 '{_tDboY  
g&20F`.N*>  
5;%xqdD  
struts.velocity.manager.classname ^rZ+H@p:6  
      org.apache.struts2.views.velocity.VelocityManager implementation class )pj \b[  
      org.apache.struts2.views.velocity.VelocityManager接口名 78}%{7YY  
P6Ol+SI#m  
struts.velocity.toolboxlocation +/^q"/f F  
      The location of the Velocity toolbox $7ME a"a  
      velocity工具盒的位置 p{_ O*bo  
struts.xslt.nocache .6]cu{K(  
      Whether or not XSLT templates should not be cached :=KGQ3V~eK  
      是否XSLT模版应该被缓存 RB 0j!H:  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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