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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Vb@ 4(Q  
v6s\Z\v)Q`  
struts.action.extension 7J9l.cM3  
      The URL extension to use to determine if the request is meant for a Struts action ^GMJ~[]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 d0(Cn}m"c  
&E bI Op  
struts.configuration  ep+  
      The org.apache.struts2.config.Configuration implementation class wV\%R,bZj  
        org.apache.struts2.config.Configuration接口名 kdp% !S%2  
OJAx:&]3  
struts.configuration.files ZJ;LD*  
      A list of configuration files automatically loaded by Struts Q48+O?&  
      struts自动加载的一个配置文件列表 "EoDQT"0  
0$6*o}N%  
struts.configuration.xml.reload kt^yj"C>  
      Whether to reload the XML configuration or not FigR1/3o'6  
      是否加载xml配置(true,false) 0n3D~Xzd  
V vu(`9u]  
struts.continuations.package CSL#s^4T  
      The package containing actions that use Rife continuations Ia2(Km  
      含有actions的完整连续的package名称 [C1 LT2a  
k#O,j pbB  
struts.custom.i18n.resources Py|;kF~![  
      Location of additional localization properties files to load \m4T3fy  
      加载附加的国际化属性文件(不包含.properties后缀) |; $Bb866/  
?aBj#  
struts.custom.properties V<8K@/n@  
      Location of additional configuration properties files to load B0d%c&N${  
      加载附加的配置文件的位置 8eluO ?p  
k=[pm5ZvT~  
q$[n`w-  
struts.devMode A>=E{  
      Whether Struts is in development mode or not L@RIZu>ZW+  
      是否为struts开发模式 - v]Qhf&>  
>"v9iT  
struts.dispatcher.parametersWorkaround =E(#YCx  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3e%nA8?  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ]f8L:=c  
}7ehF6  
struts.enable.DynamicMethodInvocation m:uPEpcU  
      Allows one to disable dynamic method invocation from the URL F";.6%;AC  
        允许动态方法调用 48O~Jx,  
}#1/fok  
struts.freemarker.manager.classname  fRB5U'  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ZF6c{~D  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 7" 4z+w  
Z^yNLF*&V  
struts.i18n.encoding Qd]we$ G  
      The encoding to use for localization messages 1vnYogL   
      国际化信息内码 , sjh^-;  
thc <xxRP  
struts.i18n.reload #Exp51  
      Whether the localization messages should automatically be reloaded ;),"M{"v  
      是否国际化信息自动加载 [Wi 1|]X"G  
IXpc,l `  
struts.locale jq-l5})h  
      The default locale for the Struts application eF~dQ4RZ  
      默认的国际化地区信息 xwi\  
VwyVEZt  
struts.mapper.class yVX8e I  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class D:"{g|nW}  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 GIyF81KR 3  
s?2$ue&-f  
struts.multipart.maxSize \?**2{9&)  
      The maximize size of a multipart request (file upload) Kcy@$uF{2  
      multipart请求信息的最大尺寸(文件上传用) [;A[.&6  
u 8^{  
struts.multipart.parser SJ?cI!=x  
      The org.apache.struts2.dispatcher.multipart. MSw$_d  
      MultiPartRequest parser implementation for a multipart request (file upload) %Ip*Kq-  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GbI-SbE  
H1/?+N}(  
_%/}>L>-`8  
struts.multipart.saveDir YJ_\Ns+Ow  
      The directory to use for storing uploaded files zmI]cD@G  
      设置存储上传文件的目录夹 *JX;|S  
ICC%,$C~l  
struts.objectFactory hI},~af  
      The com.opensymphony.xwork2.ObjectFactory implementation class c!#:E`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 5T@aCC@$h  
?QZ"JX])  
struts.objectFactory.spring.autoWire l(;Kij  
      Whether Spring should autoWire or not ]e'fa/I  
      是否自动绑定Spring JH8}Ru%Z  
l{Dct\ #s  
struts.objectFactory.spring.useClassCache K2{aNv R)t  
      Whether Spring should use its class cache or not k(t}^50^j  
      是否spring应该使用自身的cache iK5_u2]Q  
v&a4^s  
struts.objectTypeDeterminer q%Yn;g|_  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class |~!U4D\  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 #bX9Tu0  
8NBT|N~N  
struts.serve.static.browserCache EV pi^>M  
If static content served by the Struts filter should set browser caching header properties or not y5r4+2B  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 7 aV%=_  
qpIC{'A.  
struts.serve.static ag-f{UsTy  
      Whether the Struts filter should serve static content or not 3ZEB  
      是否struts过滤器应该提供静态内容 2*w0t:Yx e  
U*3J+Y  
struts.tag.altSyntax d?wc*N3  
      Whether to use the alterative syntax for the tags or not '2^7-3_1  
      是否可以用替代的语法替代tags :cB=SYcC%  
zk-.u}RBFG  
struts.ui.templateDir fGhn+8VfX  
      The directory containing UI templates eET&pP3Rp  
      UI templates的目录夹 1W7% 1FA  
oND@:>QBF  
struts.ui.theme ?;[w" `"  
      The default UI template theme ktIi$v  
      默认的UI template主题 %\]* OZ7  
wO?{?+I`q  
struts.url.http.port #(An6itl  
      The HTTP port used by Struts URLs ^8.]d~j  
      设置http端口 /xtq_*I1S  
T,aW8|  
struts.url.https.port y@0E[/O  
      The HTTPS port used by Struts URLs /1Ue?)g  
      设置https端口 , ]bB9tid  
AbZKYF P  
struts.url.includeParams X}+>!%W!}  
      The default includeParams method to generate Struts URLs '>r7V  
      在url中产生 默认的includeParams ns6(cJ^a  
*G* k6.9W!  
yKO`rtP  
struts.velocity.configfile :Nofp&  
      The Velocity configuration file path phM>.y_  
      velocity配置文件路径 |*}4 m'c  
15o9 .   
struts.velocity.contexts 0PlO(" ,a  
      List of Velocity context names w!fE;H8w6  
      velocity的context列表 |PC*=ykT3  
j~!X;PV3  
~l)-wNqR4r  
struts.velocity.manager.classname J0@X<Lt U  
      org.apache.struts2.views.velocity.VelocityManager implementation class ,7<f9 EVY  
      org.apache.struts2.views.velocity.VelocityManager接口名 #B4%|v;`E?  
T}8Y6N<\m  
struts.velocity.toolboxlocation 6i1LjLB  
      The location of the Velocity toolbox #Y$hNQQ$F  
      velocity工具盒的位置 ?Y@N`S  
struts.xslt.nocache dq]0X?[6  
      Whether or not XSLT templates should not be cached rzt Ru  
      是否XSLT模版应该被缓存 ZIQ [bE7  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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