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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5]M>8ll  
hWH:wB  
struts.action.extension uYE`"/h,1e  
      The URL extension to use to determine if the request is meant for a Struts action z{Mr$%'EY  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [o F|s-"9!  
i hh/sPi  
struts.configuration .BFYY13H  
      The org.apache.struts2.config.Configuration implementation class Ok n(pJ0  
        org.apache.struts2.config.Configuration接口名 2Ry1b+\  
&3yD_P_3  
struts.configuration.files %/9 EORdeH  
      A list of configuration files automatically loaded by Struts v@e~k-#  
      struts自动加载的一个配置文件列表 gUeuUj  
'uq#ai[5I  
struts.configuration.xml.reload 4.IU!.Uo  
      Whether to reload the XML configuration or not Bdj%hyW  
      是否加载xml配置(true,false) Y(44pA&oN  
x' .:&z  
struts.continuations.package -!c"k}N=  
      The package containing actions that use Rife continuations u%.$BD Hg  
      含有actions的完整连续的package名称 0{#8',*}m?  
ezPz<iZ\N  
struts.custom.i18n.resources v%fu  
      Location of additional localization properties files to load $V1;la!  
      加载附加的国际化属性文件(不包含.properties后缀) K~22\G`  
uL[.ND2._&  
struts.custom.properties ei rzYt  
      Location of additional configuration properties files to load 4C FB"?n0  
      加载附加的配置文件的位置 Q'%PNrN  
W3iZ|[E;  
_6wFba@>/n  
struts.devMode G#MdfKH  
      Whether Struts is in development mode or not / ~^rr f  
      是否为struts开发模式 Vb9',a?#n  
.nyfYa+  
struts.dispatcher.parametersWorkaround 1&e} ms  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic =C~/7N,lW]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) b!)<-|IK  
TC<@e<-%Sq  
struts.enable.DynamicMethodInvocation C:Hoq(  
      Allows one to disable dynamic method invocation from the URL Zfyo-Wk  
        允许动态方法调用 qG<$Ajiin  
&gjF4~W]  
struts.freemarker.manager.classname qbv#I;  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class );FJx~b  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 YX` 7Hm,  
F4K0) ;  
struts.i18n.encoding :H c0b=  
      The encoding to use for localization messages /tUy3myJ  
      国际化信息内码 `\+@Fwfx  
~V$ |i"  
struts.i18n.reload \|K;-pL  
      Whether the localization messages should automatically be reloaded Uf,4  
      是否国际化信息自动加载 c 9jGq  
$ibuWb"a  
struts.locale G#?Sfn O0  
      The default locale for the Struts application +). 0cs0k5  
      默认的国际化地区信息 *cEob b  
DZ_lW  
struts.mapper.class |_yYLYH'   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class O9r>E3-q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 SCz(5[MZJ  
r fq;%C  
struts.multipart.maxSize D&S26jrZ  
      The maximize size of a multipart request (file upload) # 0Lf<NZ  
      multipart请求信息的最大尺寸(文件上传用) ;s52{>&F]  
9k6r_G"  
struts.multipart.parser ^.>jG I%rB  
      The org.apache.struts2.dispatcher.multipart. i@4~.iZ8  
      MultiPartRequest parser implementation for a multipart request (file upload) ?2oHZ%G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) E <c9#I=  
HcqfB NM  
lIProF0  
struts.multipart.saveDir Jej` ;I  
      The directory to use for storing uploaded files _vZ"4L+Iw+  
      设置存储上传文件的目录夹 !&"<oPjr+  
t 89!Ihk  
struts.objectFactory C?2' +K  
      The com.opensymphony.xwork2.ObjectFactory implementation class $_x^lr  
      com.opensymphony.xwork2.ObjectFactory接口(spring) mVR P~:+  
*guoWPA|Ij  
struts.objectFactory.spring.autoWire Lliq j1&  
      Whether Spring should autoWire or not Yboiw y,n  
      是否自动绑定Spring Kh MSL  
A7n\h-b  
struts.objectFactory.spring.useClassCache OD5m9XS  
      Whether Spring should use its class cache or not 'Tc]KXD6  
      是否spring应该使用自身的cache >hr{JJe  
4vwTs*eB `  
struts.objectTypeDeterminer 3#TV5+x*"`  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class ,JEF GI{  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @U2qD  J6  
IhA*"  
struts.serve.static.browserCache B|&"#Q  
If static content served by the Struts filter should set browser caching header properties or not VL*ovD%-  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 %Jrt4sg[j-  
pi ,eIm  
struts.serve.static E~_]Lfs)  
      Whether the Struts filter should serve static content or not /<]{KI  
      是否struts过滤器应该提供静态内容 J52 o g4l  
l'TWkQ-  
struts.tag.altSyntax 4A2?Uhp y  
      Whether to use the alterative syntax for the tags or not 0eS)&GdR  
      是否可以用替代的语法替代tags (4Zts0O\  
/\W Qx e  
struts.ui.templateDir <0PT"ij  
      The directory containing UI templates ,.qMEMm  
      UI templates的目录夹 r9ww.PpNk#  
f?'JAC*  
struts.ui.theme wV ^V]c?U  
      The default UI template theme zBe8,, e  
      默认的UI template主题 iX4Iu3  
1rDqa(7  
struts.url.http.port a@0BBihz  
      The HTTP port used by Struts URLs &Ky_v^  
      设置http端口 @!8ZPiW<  
R]i7 $}n  
struts.url.https.port 4M^G`WA}t9  
      The HTTPS port used by Struts URLs _z1(y}u}  
      设置https端口 W<E47  
?:L:EW8  
struts.url.includeParams V@\%)J'g  
      The default includeParams method to generate Struts URLs ]hbyELs  
      在url中产生 默认的includeParams ._+J_ts  
-G|G_$9  
QQV~?iW{~  
struts.velocity.configfile izx#3u$P  
      The Velocity configuration file path W[}s o6  
      velocity配置文件路径 ($~RoQ=0S  
Y)}Rb6qGW  
struts.velocity.contexts w&x!,yd;  
      List of Velocity context names Bdu&V*0g  
      velocity的context列表 {je-I9%OK  
Qr$;AZ G  
"^1L'4'S  
struts.velocity.manager.classname FSRj4e1y1  
      org.apache.struts2.views.velocity.VelocityManager implementation class G2^et$<{uU  
      org.apache.struts2.views.velocity.VelocityManager接口名 !0dNQ[$82  
=lVK IW  
struts.velocity.toolboxlocation wX*K]VMn  
      The location of the Velocity toolbox D11F.McM  
      velocity工具盒的位置  *tAg*$  
struts.xslt.nocache d`/tE?Gw  
      Whether or not XSLT templates should not be cached |#*'H*W  
      是否XSLT模版应该被缓存 H~E(JLcU  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五