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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 , hp8b$  
8KsPAK_  
struts.action.extension NC sem  
      The URL extension to use to determine if the request is meant for a Struts action #1WCSLvtV  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 E9' 2_e  
z00,Vr^m  
struts.configuration ~{pds  
      The org.apache.struts2.config.Configuration implementation class "kjSg7m*:  
        org.apache.struts2.config.Configuration接口名 8/lgM'Eux  
}q,dJE  
struts.configuration.files O .jCDAP  
      A list of configuration files automatically loaded by Struts z:&/O&?  
      struts自动加载的一个配置文件列表 -Q|]C{r  
! %N@>[  
struts.configuration.xml.reload VL|Z+3L  
      Whether to reload the XML configuration or not y<c7RK]  
      是否加载xml配置(true,false) 3`Xzp  
dq0!.gBT2  
struts.continuations.package /<"ok;Pu7  
      The package containing actions that use Rife continuations !1Ht{cA0  
      含有actions的完整连续的package名称 wEQZ9?\  
msQ?V&+<  
struts.custom.i18n.resources 7"OJ,Mx%  
      Location of additional localization properties files to load xl@~K^c]  
      加载附加的国际化属性文件(不包含.properties后缀) bL5u;iy)  
dk0} q6~  
struts.custom.properties Vd'=Fe;eB  
      Location of additional configuration properties files to load o.s(=iG  
      加载附加的配置文件的位置 U.Y7]#P:  
F45-M[z  
/<Z3x _c  
struts.devMode Y8N+v+V/  
      Whether Struts is in development mode or not PZI6{KOis  
      是否为struts开发模式 m>*~ tP  
cM]ZYi  
struts.dispatcher.parametersWorkaround m|v$F,Lv  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZKM@U?PK  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) #$}A$sm  
{]$)dz5  
struts.enable.DynamicMethodInvocation )_6W@s  
      Allows one to disable dynamic method invocation from the URL ,hm&]  
        允许动态方法调用 as@? Kv  
B&<P>AZ  
struts.freemarker.manager.classname i1*0'x  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class {BgJ=0g?  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 yJ ;Qe_up  
gMp' S  
struts.i18n.encoding oN`khS]_v0  
      The encoding to use for localization messages `$q0fTz  
      国际化信息内码 qqys`.  
7y_<BCx h  
struts.i18n.reload \ _?d?:#RD  
      Whether the localization messages should automatically be reloaded s'bTP(wl9  
      是否国际化信息自动加载 ,5AEtoF  
%pqB/  
struts.locale Zay%QNsb  
      The default locale for the Struts application $EzWUt  
      默认的国际化地区信息 8s %YudW  
>*Ej2ex  
struts.mapper.class c0;rvw7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ^F&j;8U  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 u'T-}95 V  
CTxP3a9]  
struts.multipart.maxSize @uanej0q7  
      The maximize size of a multipart request (file upload) CyXaHO  
      multipart请求信息的最大尺寸(文件上传用) }Yc5U,A;  
P'DcNMdw  
struts.multipart.parser |kTq &^$  
      The org.apache.struts2.dispatcher.multipart. WBb*2  
      MultiPartRequest parser implementation for a multipart request (file upload) +r&:c[  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) /y6I I$AvM  
f .$*9Fkw  
JoZS p"R  
struts.multipart.saveDir ;lfv.-u:<  
      The directory to use for storing uploaded files :Gew8G  
      设置存储上传文件的目录夹 12;YxW>[  
)uMv]  
struts.objectFactory UcH#J &r  
      The com.opensymphony.xwork2.ObjectFactory implementation class [ako8  
      com.opensymphony.xwork2.ObjectFactory接口(spring) wvxsn!Ao&=  
;>S|?M4GZ  
struts.objectFactory.spring.autoWire Q7i(M >|O  
      Whether Spring should autoWire or not be$']}cP  
      是否自动绑定Spring 9A/bA|$  
9%bErMHL  
struts.objectFactory.spring.useClassCache *LuR o  
      Whether Spring should use its class cache or not 4C ;y2`C  
      是否spring应该使用自身的cache Kr;=4xg=  
G*jq5_6  
struts.objectTypeDeterminer N;k)>  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class <lLJf8OK  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #=;vg  
/Gn0|]KI  
struts.serve.static.browserCache X{<taD2~  
If static content served by the Struts filter should set browser caching header properties or not ]Qa|9G,b  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 WW2hwB (  
i0J`{PbI  
struts.serve.static %wI)uJ2  
      Whether the Struts filter should serve static content or not ;8^(Z  
      是否struts过滤器应该提供静态内容 u?H.Z  
=LGSywWM9  
struts.tag.altSyntax g/i%XTX>  
      Whether to use the alterative syntax for the tags or not 1 -C~C]&  
      是否可以用替代的语法替代tags Ob}XeN(L3  
L u'<4 R  
struts.ui.templateDir @#$(Cs*{]  
      The directory containing UI templates p1K]m>Y{?  
      UI templates的目录夹 ei{tW3 H$  
5&O%0`t  
struts.ui.theme Y=g]\%-PB  
      The default UI template theme h=JW^\?\]  
      默认的UI template主题 '@Yp@ _  
zqBzataR:  
struts.url.http.port \ 9iiS(e  
      The HTTP port used by Struts URLs -GM"gkz  
      设置http端口 hQlyqTP|2  
T7Y}v,+-  
struts.url.https.port ]>Gi_20*.  
      The HTTPS port used by Struts URLs hJD3G |E  
      设置https端口 o)]O  
_:WNk(  
struts.url.includeParams x+;y0`oL  
      The default includeParams method to generate Struts URLs scYqU7$%T  
      在url中产生 默认的includeParams 6:6A" A  
O0s!3hKu  
08D:2 z1z  
struts.velocity.configfile j>uu3ADd2  
      The Velocity configuration file path O:GAS [O`  
      velocity配置文件路径 >/lB%<$/  
*'-t_F';  
struts.velocity.contexts s@{~8cHgU  
      List of Velocity context names ^E:-Uy  
      velocity的context列表 ByO?qft>u  
57 Bx-  
;R Jv7@  
struts.velocity.manager.classname fOME&$=O  
      org.apache.struts2.views.velocity.VelocityManager implementation class /wl]kGF  
      org.apache.struts2.views.velocity.VelocityManager接口名 U_ j[<.aN)  
>(wQx05^D  
struts.velocity.toolboxlocation I|qhj*_C  
      The location of the Velocity toolbox r| )45@  
      velocity工具盒的位置 ^FkB/j  
struts.xslt.nocache DvB{N`COd  
      Whether or not XSLT templates should not be cached '$EyVu!  
      是否XSLT模版应该被缓存 SMJRoK3  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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