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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ,Ua`BWF  
Q"n|<!DN  
struts.action.extension p@!{Sh  
      The URL extension to use to determine if the request is meant for a Struts action ,{MA90!  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 pwU l&hwte  
*/fmy|#   
struts.configuration 3Z;`n,g  
      The org.apache.struts2.config.Configuration implementation class ORHs1/L`j  
        org.apache.struts2.config.Configuration接口名 RI9&KS  
9E~=/Q=  
struts.configuration.files a[bu{Z]%  
      A list of configuration files automatically loaded by Struts gBGUGjVj  
      struts自动加载的一个配置文件列表 .I_Mmaq;i  
p3>p1tC  
struts.configuration.xml.reload Ugzq;}V#  
      Whether to reload the XML configuration or not B%QvFxZz  
      是否加载xml配置(true,false) Y4 q;  
Li)rs<IX;m  
struts.continuations.package ")LcB' C  
      The package containing actions that use Rife continuations bim}{wMb  
      含有actions的完整连续的package名称 M|nTO  
KfD=3h=  
struts.custom.i18n.resources X<{kf-GP  
      Location of additional localization properties files to load xwoK#eC~ F  
      加载附加的国际化属性文件(不包含.properties后缀) l0N~mes  
_{0'3tI7  
struts.custom.properties 6wK>SW)#&j  
      Location of additional configuration properties files to load tGv5pe*r  
      加载附加的配置文件的位置 ,xmmS\  
I~ Q2jg2  
[vCZoG8+>  
struts.devMode ;cKN5#7  
      Whether Struts is in development mode or not LCKCg[D  
      是否为struts开发模式 SbS*z:  
!c+,OU[  
struts.dispatcher.parametersWorkaround &[QvMh  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic K@yLcgr{O2  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) eW%Cef  
?Vg251-H  
struts.enable.DynamicMethodInvocation 5DB4vh  
      Allows one to disable dynamic method invocation from the URL HoE@t-S  
        允许动态方法调用 !7)` g i  
jD]Ci#|W  
struts.freemarker.manager.classname V?pqKQL0  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class uW4 )DT9[5  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 !' ;1;k);  
[\|`C4@3a  
struts.i18n.encoding ]/31@RT  
      The encoding to use for localization messages /qf(5Bm  
      国际化信息内码 -;T!d  
H{yUKZH*  
struts.i18n.reload Z9S5rPHEL  
      Whether the localization messages should automatically be reloaded aYy+iP'$  
      是否国际化信息自动加载 Tnd)4}2 p  
::goqajV  
struts.locale | R\PQ/)  
      The default locale for the Struts application ~bC-0^/ 8|  
      默认的国际化地区信息 Vc2 (R^  
'c]Fhe fb  
struts.mapper.class [Q0n-b,Q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class b({K6#?'[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 TPE1}8p17  
)-jA4!&  
struts.multipart.maxSize Hsdcv~Xr;l  
      The maximize size of a multipart request (file upload) kJP` C\4}f  
      multipart请求信息的最大尺寸(文件上传用) dUvgFOy|P  
EU5^"\  
struts.multipart.parser /-FvC^Fj  
      The org.apache.struts2.dispatcher.multipart. `eo$o!  
      MultiPartRequest parser implementation for a multipart request (file upload) ./7*<W:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GMv.G  
Q L 1e  
L <QjkFj  
struts.multipart.saveDir b7uxCH]Z  
      The directory to use for storing uploaded files v.Vd js  
      设置存储上传文件的目录夹 UR{OrNg*  
JK jVrx> @  
struts.objectFactory `T#Jiq E  
      The com.opensymphony.xwork2.ObjectFactory implementation class uge~*S  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $*\G Z$y>  
@A.7`*i_  
struts.objectFactory.spring.autoWire 6?`3zdOeO  
      Whether Spring should autoWire or not ow<z @^ 3'  
      是否自动绑定Spring >?L)+*^  
[gkOwU=?  
struts.objectFactory.spring.useClassCache [<nmJ-V  
      Whether Spring should use its class cache or not ;5dA  
      是否spring应该使用自身的cache px=k&|l  
fD* ?JzVY  
struts.objectTypeDeterminer lj US-6  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 0Yo(pW,k  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 h 7/wkv\y9  
[G<SAWFg7  
struts.serve.static.browserCache zcE` .)y  
If static content served by the Struts filter should set browser caching header properties or not yhsbso,5 a  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 b/]@G05>>  
qX"m"ko  
struts.serve.static RD_l  
      Whether the Struts filter should serve static content or not K&IHt?vh!  
      是否struts过滤器应该提供静态内容 D,,$  
 m1#,B<6  
struts.tag.altSyntax Ir?ehA  
      Whether to use the alterative syntax for the tags or not JTS<n4<a  
      是否可以用替代的语法替代tags E]gy5y  
":vF[6K6  
struts.ui.templateDir +'`I]K>  
      The directory containing UI templates @tfatq+q  
      UI templates的目录夹 d-ML[^G  
W*Gp0pX  
struts.ui.theme q6T>y%|FZ  
      The default UI template theme R-]i BL  
      默认的UI template主题 (U_dPf  
nK>D& S_!  
struts.url.http.port T,uVt^.R+  
      The HTTP port used by Struts URLs eCy]ugsi%  
      设置http端口  $1.l|  
Epm%/ {sHV  
struts.url.https.port "SFs\] Z  
      The HTTPS port used by Struts URLs w@$_2t  
      设置https端口 ;Ebpf J  
c]3^2Ag,  
struts.url.includeParams g 6!#n  
      The default includeParams method to generate Struts URLs z\6/?5D#v  
      在url中产生 默认的includeParams v>' mW  
D]zpG  
;o?Wn=J  
struts.velocity.configfile x5YHmvy/l  
      The Velocity configuration file path i= s>a;*#  
      velocity配置文件路径 tbq_ Rg7s  
}< m@82\  
struts.velocity.contexts :}[[G2|9  
      List of Velocity context names 2@+ MT z  
      velocity的context列表 pNzpT!}H>  
]zR,Y= #  
v}^ f8nVR  
struts.velocity.manager.classname /u N3"m5i  
      org.apache.struts2.views.velocity.VelocityManager implementation class c69M   
      org.apache.struts2.views.velocity.VelocityManager接口名 d +Bz pS@p  
'$5o5\  
struts.velocity.toolboxlocation x|IG'R1:Y  
      The location of the Velocity toolbox dD}!E  
      velocity工具盒的位置 jHWJpm(  
struts.xslt.nocache BA+:}81&<q  
      Whether or not XSLT templates should not be cached vaEAjg*To<  
      是否XSLT模版应该被缓存 N~A#itmdx  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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