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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 paW'R+Rck  
2Sge  
struts.action.extension .Qd}.EG  
      The URL extension to use to determine if the request is meant for a Struts action R{*_1cyW  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 p{NPcT%&  
^DBD63 N"  
struts.configuration ("_Q  
      The org.apache.struts2.config.Configuration implementation class !xkj30O(G  
        org.apache.struts2.config.Configuration接口名 EVR! @6@  
sf Dg/ a  
struts.configuration.files &&;ex9  
      A list of configuration files automatically loaded by Struts P?^JPbfV  
      struts自动加载的一个配置文件列表 [ZuVUOm  
AK6=Ydu  
struts.configuration.xml.reload ?E % +}P  
      Whether to reload the XML configuration or not <u0*"  
      是否加载xml配置(true,false) 8)N0S% B  
c#=&!FRe  
struts.continuations.package '.pgXsC:=?  
      The package containing actions that use Rife continuations D899gGe  
      含有actions的完整连续的package名称 KzV.+f  
6hZ.{8e0  
struts.custom.i18n.resources YVoao#!  
      Location of additional localization properties files to load [ L  
      加载附加的国际化属性文件(不包含.properties后缀) ytEQ`  
Iq+2mQi*/k  
struts.custom.properties >f>V5L%1  
      Location of additional configuration properties files to load StEQ -k  
      加载附加的配置文件的位置 !?jK1{E3  
21U&Ww  
LyIKP$t  
struts.devMode -:MmSeG7gO  
      Whether Struts is in development mode or not $u:<x  
      是否为struts开发模式 O47PkP8  
jQ6Xr&}  
struts.dispatcher.parametersWorkaround Tj=gRQ2v  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic UL&} s_  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) -(!uC +BZX  
4 bn t=5]  
struts.enable.DynamicMethodInvocation W/sY#"  
      Allows one to disable dynamic method invocation from the URL RF:04d  
        允许动态方法调用 @9aGz6k+  
h{I`7X  
struts.freemarker.manager.classname /w0sj`;"  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class a_Jb> }  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 *m*`}9  
Wu,S\!  
struts.i18n.encoding }7%9}2}Iw  
      The encoding to use for localization messages E-^2"j >o  
      国际化信息内码 rR\;G2p)  
Hj2<ZL  
struts.i18n.reload Hoj8okP  
      Whether the localization messages should automatically be reloaded vTdUuj3N  
      是否国际化信息自动加载 sJOV2#r  
> V8sm/M  
struts.locale M;qBDT~)  
      The default locale for the Struts application )Bo]=ZTJ^  
      默认的国际化地区信息 gSb,s [p&+  
d,UCH  
struts.mapper.class NddO*`8+)  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Y17hOKc`  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8&%Cy'TIz4  
7#ofNH J  
struts.multipart.maxSize S nW7x  
      The maximize size of a multipart request (file upload) ;= a_B1"9u  
      multipart请求信息的最大尺寸(文件上传用) E:)Cp  
G{+2x N a(  
struts.multipart.parser P].eAAXnP  
      The org.apache.struts2.dispatcher.multipart. okstY4f'  
      MultiPartRequest parser implementation for a multipart request (file upload) NEw $q4  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) K3L"^a  
+p z}4M`  
eeW`JG-E  
struts.multipart.saveDir ET.dI.R8  
      The directory to use for storing uploaded files ywO mQcZ  
      设置存储上传文件的目录夹 J'e]x[Y  
*}w+ 68eO  
struts.objectFactory ^^U%cuKg  
      The com.opensymphony.xwork2.ObjectFactory implementation class &))\2pl  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6J\fF tB@V  
BZ+;n |<r  
struts.objectFactory.spring.autoWire 6WeM rWx  
      Whether Spring should autoWire or not !p',Za   
      是否自动绑定Spring -9d%+O~v6~  
&?y7I Pp  
struts.objectFactory.spring.useClassCache dw9T f^V  
      Whether Spring should use its class cache or not +P)ys#=  
      是否spring应该使用自身的cache {~'H  
u h )o  
struts.objectTypeDeterminer CW p#^1F  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class k3>YBf`fC  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 W:vr@e6  
FY4T(4#  
struts.serve.static.browserCache F?BS717qS%  
If static content served by the Struts filter should set browser caching header properties or not <( EyXV  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 wt?o 7R2  
UFw](%=&M  
struts.serve.static bq NP#C  
      Whether the Struts filter should serve static content or not U*\17YU6h  
      是否struts过滤器应该提供静态内容 YG`? o  
kAo.C Nj7  
struts.tag.altSyntax e)b%`ntF  
      Whether to use the alterative syntax for the tags or not gi$XB}L+X  
      是否可以用替代的语法替代tags Ac`;st%l.  
{$33B'wk  
struts.ui.templateDir ^_W40/c3  
      The directory containing UI templates 2khh4?|\  
      UI templates的目录夹 e;h,V(  
4-^[%&>}  
struts.ui.theme 0[Eb .2I  
      The default UI template theme )+EN$*H  
      默认的UI template主题 |>+uw|LtZ  
Oaa"T8t  
struts.url.http.port (%'9CfPx  
      The HTTP port used by Struts URLs sJU`u'w  
      设置http端口 qybxXK:  
]iVLHVqz  
struts.url.https.port /iG7MC\`  
      The HTTPS port used by Struts URLs WbcS: !0  
      设置https端口 4TZ cc|B5  
8:dQ._#v  
struts.url.includeParams 5FOqv=6S  
      The default includeParams method to generate Struts URLs p$XKlg&  
      在url中产生 默认的includeParams a <wL#Id  
i\Wdo/c-H  
%\6Q .V#s  
struts.velocity.configfile s`;f2B/|  
      The Velocity configuration file path +~35G:&:  
      velocity配置文件路径 jatr/  
t)a;/scT  
struts.velocity.contexts HdNnUDb$B  
      List of Velocity context names B<,YPS8w  
      velocity的context列表 Z h'&-c_J  
izuF !9  
/{*$JF  
struts.velocity.manager.classname Ch5+N6c^  
      org.apache.struts2.views.velocity.VelocityManager implementation class VteEDL/w  
      org.apache.struts2.views.velocity.VelocityManager接口名 # {PmNx%M  
^$NJD  
struts.velocity.toolboxlocation 6R4<J% $P  
      The location of the Velocity toolbox 2*AG7  
      velocity工具盒的位置 <[i}n55  
struts.xslt.nocache n>FY?  
      Whether or not XSLT templates should not be cached <]U1\~j  
      是否XSLT模版应该被缓存 i zwUS!5e  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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