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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 i[3$Wi$  
* V W \  
struts.action.extension ygpC1nN  
      The URL extension to use to determine if the request is meant for a Struts action z('93vsO  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nS?HH6H  
?RWd"JTGue  
struts.configuration uNXh"?  
      The org.apache.struts2.config.Configuration implementation class `k\]I |6  
        org.apache.struts2.config.Configuration接口名 b,T=0W  
Zpb3>0<R  
struts.configuration.files m)_1->K  
      A list of configuration files automatically loaded by Struts /UyW&]nK  
      struts自动加载的一个配置文件列表 w0/W=!_  
l$m^{6IYc  
struts.configuration.xml.reload Bo%M-Gmu  
      Whether to reload the XML configuration or not BqZLqGO Ku  
      是否加载xml配置(true,false) 3=bzIU  
' 1P_*  
struts.continuations.package I4|p;\`fK  
      The package containing actions that use Rife continuations cIM5;"gLP  
      含有actions的完整连续的package名称 vp mSzh  
.v1rrH?  
struts.custom.i18n.resources h:bs/q+-  
      Location of additional localization properties files to load WtRy~5A2  
      加载附加的国际化属性文件(不包含.properties后缀) $<s@S;Ri  
)CR8-z1`  
struts.custom.properties t 1C{  
      Location of additional configuration properties files to load 1b|<   
      加载附加的配置文件的位置 iT^lk'?{O  
HqYaQ~Dth  
y_$^Po  
struts.devMode L6 _Sc-sU  
      Whether Struts is in development mode or not w4L\@y 3  
      是否为struts开发模式 D@ =.4z  
vMRKs#&8  
struts.dispatcher.parametersWorkaround 2DV{gF  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3'/wRKl  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ) ]~HjA;  
%< j=&  
struts.enable.DynamicMethodInvocation kI[EG<N1k  
      Allows one to disable dynamic method invocation from the URL bjT0Fi0-  
        允许动态方法调用 }_?7k0EZ@  
BMX x(W]  
struts.freemarker.manager.classname &OzJ^G\o  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class M$&>"%Oi  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 z%g<&Cq  
'!1lK  
struts.i18n.encoding ["L?t ^*G  
      The encoding to use for localization messages R*yB);p  
      国际化信息内码 K4R jGSaF  
HYg _{  
struts.i18n.reload xD1wHp!+  
      Whether the localization messages should automatically be reloaded Y(A?ib~K  
      是否国际化信息自动加载 |g;XC^!%=o  
n,HWVo>([  
struts.locale ~{NDtB)  
      The default locale for the Struts application UT{N ly8u  
      默认的国际化地区信息 pwZ &2&|  
`HJwwKd  
struts.mapper.class A1'IK.  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 'M'LJ.,"/  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 wy -!1wd  
El+]}D"  
struts.multipart.maxSize 54^hBejQ  
      The maximize size of a multipart request (file upload) ,~4(td+R7  
      multipart请求信息的最大尺寸(文件上传用) 3K0J6/mc  
fV5#k@,")  
struts.multipart.parser 15s?QSKj  
      The org.apache.struts2.dispatcher.multipart. 1gm{.*G  
      MultiPartRequest parser implementation for a multipart request (file upload) V&}Z# 9Dx  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) f Fz8m  
jcG4h/A  
9a4RW}S<  
struts.multipart.saveDir ;zJ_apZ:{  
      The directory to use for storing uploaded files %vThbP#mR|  
      设置存储上传文件的目录夹 _9gn;F  
 C3<3  
struts.objectFactory Sqge5v  
      The com.opensymphony.xwork2.ObjectFactory implementation class bFJn-g n  
      com.opensymphony.xwork2.ObjectFactory接口(spring) {MEU|9@ Y  
6R,;c7Izhd  
struts.objectFactory.spring.autoWire #tfJ?w`  
      Whether Spring should autoWire or not hs*:!&E  
      是否自动绑定Spring :m~lgb<  
Rd!.8K[  
struts.objectFactory.spring.useClassCache SMy&K[hJ[  
      Whether Spring should use its class cache or not ]E3g8?L  
      是否spring应该使用自身的cache ;kFp)*i  
23fAc"@ B  
struts.objectTypeDeterminer "bO]  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class s`TBz8QO$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 hg&AQk  
Fca?'^X  
struts.serve.static.browserCache g!QumRF  
If static content served by the Struts filter should set browser caching header properties or not aOuon0  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 W>Kwl*Cis"  
*>#cs#)  
struts.serve.static tsa6: D  
      Whether the Struts filter should serve static content or not |% kK?!e+-  
      是否struts过滤器应该提供静态内容 )- \w  
JjCf<ktE.  
struts.tag.altSyntax *w6N&  
      Whether to use the alterative syntax for the tags or not PDsLJ|:yL  
      是否可以用替代的语法替代tags N1-LM9S  
>@|<1Fx|  
struts.ui.templateDir -Tt}M#W   
      The directory containing UI templates $k?L?R1  
      UI templates的目录夹 >*(>%E~H  
M]{!Nx  
struts.ui.theme sd6Wmmo  
      The default UI template theme #}Cwn$  
      默认的UI template主题 0t&H1xsxX  
{!S/8o"]  
struts.url.http.port .edZKmC6  
      The HTTP port used by Struts URLs G@'0vYb#  
      设置http端口 K_xOY *  
h ^c'L=dR  
struts.url.https.port Qi}LV"&L  
      The HTTPS port used by Struts URLs ][mc^eI0s|  
      设置https端口 lyPXlt  
W7 E-j+2  
struts.url.includeParams z~_\onC  
      The default includeParams method to generate Struts URLs -jy"?]ve.  
      在url中产生 默认的includeParams Rju8%FRO  
Z8@]e}n  
u0e#iX  
struts.velocity.configfile Rb0{t[IU  
      The Velocity configuration file path tvUvd(8 w  
      velocity配置文件路径  R pbl)  
oGqv,[$qN  
struts.velocity.contexts ?x0yiV~dL  
      List of Velocity context names 2uTa}{/%  
      velocity的context列表 ww2Qa-K  
bi[l,  
q  ha1b$  
struts.velocity.manager.classname {P5@2u6S  
      org.apache.struts2.views.velocity.VelocityManager implementation class S#9SAX [  
      org.apache.struts2.views.velocity.VelocityManager接口名 [:'n+D=T3M  
C"{on%  
struts.velocity.toolboxlocation (D{}1sZBQ  
      The location of the Velocity toolbox #.)>geLC>9  
      velocity工具盒的位置 l.juys8s  
struts.xslt.nocache 85 hYYB0v  
      Whether or not XSLT templates should not be cached jJvNN -^  
      是否XSLT模版应该被缓存 Y P c<  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录 或 注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八