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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 v4@Z(M  
C6rg<tCH  
struts.action.extension t&?i m<  
      The URL extension to use to determine if the request is meant for a Struts action ^>"z@$|\:  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qzb<J=FAU  
R8.CC1Ix  
struts.configuration K~ ;45Z2  
      The org.apache.struts2.config.Configuration implementation class 1S@vGq}  
        org.apache.struts2.config.Configuration接口名 JxyB(  
B]tIi^  
struts.configuration.files ve&zcSeb  
      A list of configuration files automatically loaded by Struts DxJX+.9K9  
      struts自动加载的一个配置文件列表 'Ei;^Y 1e  
fS^!ZPe1  
struts.configuration.xml.reload aZ\UrV4,  
      Whether to reload the XML configuration or not 2t $j  
      是否加载xml配置(true,false) @LJpdvb  
'M3">$N  
struts.continuations.package 610D% F  
      The package containing actions that use Rife continuations WxF:~{  
      含有actions的完整连续的package名称 aL\nT XakX  
j <o3JV  
struts.custom.i18n.resources p !s}=wI `  
      Location of additional localization properties files to load ! !PYP'e  
      加载附加的国际化属性文件(不包含.properties后缀) #A]-ax?Qc}  
k}~O}~-  
struts.custom.properties 1bGopi/  
      Location of additional configuration properties files to load GguFo+YeZ  
      加载附加的配置文件的位置 52o x`t|  
"s\L~R.&  
3"F`ZJ]=  
struts.devMode $+7`Dy!  
      Whether Struts is in development mode or not 86z]<p (  
      是否为struts开发模式 $8a(veXd  
4b:s<$TZ  
struts.dispatcher.parametersWorkaround 2B,] -Mu)  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic dx ;k`r$w  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +iI&c s  
qc-mGmomL  
struts.enable.DynamicMethodInvocation j2 !3rI  
      Allows one to disable dynamic method invocation from the URL ^B+!N;  
        允许动态方法调用 RQMEBsI}  
- M,7N}z@;  
struts.freemarker.manager.classname }x&N^Ky3c  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Un6/e/6,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Xt#1Qs  
H{t_xL)k.  
struts.i18n.encoding f-r] |k  
      The encoding to use for localization messages t=xOQ 8  
      国际化信息内码 ntmyNf?;  
 f3UXCp  
struts.i18n.reload *3D%<kVl  
      Whether the localization messages should automatically be reloaded 0q&'(-{s1  
      是否国际化信息自动加载 ><=gV~7lx  
1 E22R  
struts.locale 8Dvazg}4  
      The default locale for the Struts application @u1zB:  
      默认的国际化地区信息 v(p mI b{  
]^6c8sgnR  
struts.mapper.class ;U_QvN|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Wq^qpN)5Y  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 w^]6w\p  
UQ4% Xp  
struts.multipart.maxSize nJ" '  
      The maximize size of a multipart request (file upload) oTT7M`P3h  
      multipart请求信息的最大尺寸(文件上传用) \w'*z&`W9  
;*,f<  
struts.multipart.parser not YeY7wR  
      The org.apache.struts2.dispatcher.multipart. ~,2/JDVJ5-  
      MultiPartRequest parser implementation for a multipart request (file upload) wfjnA~1h  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) fK(}Ce  
E_zIg+(+  
5^j45'%I  
struts.multipart.saveDir ZNx$r]4nF  
      The directory to use for storing uploaded files T,$WlK Wj  
      设置存储上传文件的目录夹 kCXdGhb  
Y F*OU"2U  
struts.objectFactory ^gFqRbuS  
      The com.opensymphony.xwork2.ObjectFactory implementation class is/scv<  
      com.opensymphony.xwork2.ObjectFactory接口(spring) *OyHHq|>q  
'ky b\q  
struts.objectFactory.spring.autoWire n6k9~"?  
      Whether Spring should autoWire or not wM|" I^[  
      是否自动绑定Spring `~cuQ<3Tn  
M|] "W  
struts.objectFactory.spring.useClassCache Ka`=WeJ|  
      Whether Spring should use its class cache or not P bQk<"J1  
      是否spring应该使用自身的cache PdVfO8-  
GHmv} Z  
struts.objectTypeDeterminer v 36%Pj`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |^9BA-nA  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;m2<eS`o'  
rSYi<ku  
struts.serve.static.browserCache n>'Kp T9|  
If static content served by the Struts filter should set browser caching header properties or not <G*nDFWf  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ooV*I|wcI  
 ;vb8G$  
struts.serve.static `g,8-  
      Whether the Struts filter should serve static content or not G-T0f  
      是否struts过滤器应该提供静态内容 6eokCc"o  
5K?}}Frrt`  
struts.tag.altSyntax 5#QXR+ T  
      Whether to use the alterative syntax for the tags or not D0N9Ksq  
      是否可以用替代的语法替代tags \);4F=h}f  
Q#EP|  
struts.ui.templateDir Sv;_HZ  
      The directory containing UI templates m%PC8bf`S  
      UI templates的目录夹 XQ*eP?OS{  
d,by / .2  
struts.ui.theme P#:?ok  
      The default UI template theme wRrnniqf8  
      默认的UI template主题 J6jwBo2m  
u~)`&1{%  
struts.url.http.port "5A&_E }3  
      The HTTP port used by Struts URLs U w4>v:  
      设置http端口 [ib P%xb  
%N#%|2B  
struts.url.https.port b9XW9O `B  
      The HTTPS port used by Struts URLs !|<=ZF2  
      设置https端口 zuJtpMn  
YA&g$!  
struts.url.includeParams > 0<)=  
      The default includeParams method to generate Struts URLs 'L{8@gq i  
      在url中产生 默认的includeParams AL5Vu$V~n}  
z(\4 M==2O  
y?SyInt  
struts.velocity.configfile `~X!Ll  
      The Velocity configuration file path FV,4pi  
      velocity配置文件路径 ,y%3mR_~  
#M!!CX*k  
struts.velocity.contexts d`1I".y  
      List of Velocity context names |] Qg7m,O  
      velocity的context列表 +,2Jzl'-  
$TI5vhQ  
U8(Nk\"X\  
struts.velocity.manager.classname jg&E94}+  
      org.apache.struts2.views.velocity.VelocityManager implementation class . <tq6 1  
      org.apache.struts2.views.velocity.VelocityManager接口名 jV8q)=}*)  
hkO sm6  
struts.velocity.toolboxlocation jP~Z`y f  
      The location of the Velocity toolbox rS1fK1dy s  
      velocity工具盒的位置 *Y@nVi  
struts.xslt.nocache RyRpl*^  
      Whether or not XSLT templates should not be cached Pm$q]A~  
      是否XSLT模版应该被缓存 t^ZV|s 1  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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