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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 lSMv9 :N  
[]i/\0C^  
struts.action.extension +iS'$2)@  
      The URL extension to use to determine if the request is meant for a Struts action AYhWeI+  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 #[|~m;K(w  
4@2<dw|*h  
struts.configuration j7(sYo@x7  
      The org.apache.struts2.config.Configuration implementation class  {{hp;&x  
        org.apache.struts2.config.Configuration接口名 B,Pbm|U1  
U GA_^?4  
struts.configuration.files `pMI @"m  
      A list of configuration files automatically loaded by Struts h |Ofi  
      struts自动加载的一个配置文件列表 a`c#- je  
Rm@#GP`  
struts.configuration.xml.reload 26SXuFJ@  
      Whether to reload the XML configuration or not $w,?%i97  
      是否加载xml配置(true,false) 4Zz%vY  
06ndW9>wD)  
struts.continuations.package 0c2O'&$au  
      The package containing actions that use Rife continuations U0%T<6*H  
      含有actions的完整连续的package名称 [/h3HyZ.  
9v\x&h  
struts.custom.i18n.resources vY 0EffZ  
      Location of additional localization properties files to load 0P{^aSxTP  
      加载附加的国际化属性文件(不包含.properties后缀) U2v;[>=]  
[HRry2#s  
struts.custom.properties \a<7DTV  
      Location of additional configuration properties files to load e"Y ( 7<  
      加载附加的配置文件的位置 :;Lt~:0b~  
CbvP1*1  
[Lck55V+Q  
struts.devMode xq6 eu 9   
      Whether Struts is in development mode or not d#-scv}s5  
      是否为struts开发模式 :n#8/'%1  
#$5"&SM  
struts.dispatcher.parametersWorkaround ;(&$Iw9X  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic X8}m %  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) WqX$;' }h  
UL{+mp  
struts.enable.DynamicMethodInvocation {gL8s  
      Allows one to disable dynamic method invocation from the URL M =/+q  
        允许动态方法调用 +3>)r{#k  
;mT|0&o>#  
struts.freemarker.manager.classname y?6J%~\WP  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \ltbiDP2  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 -yP|CZM  
~Q+E""  
struts.i18n.encoding ;;4>vF#*  
      The encoding to use for localization messages '99rXw  
      国际化信息内码 O/XG}G.x|  
CF,-l B  
struts.i18n.reload #mIgk'kW<  
      Whether the localization messages should automatically be reloaded #EG W76 f  
      是否国际化信息自动加载 dd+hX$,  
H{)DI(,Y^P  
struts.locale l|kGp~  
      The default locale for the Struts application ftb .CPWI  
      默认的国际化地区信息 T!f+H?6  
VyMFALSe]h  
struts.mapper.class ?l> <?i  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Vn=K5nm  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ?[Sac]h ys  
!_?K(X~/  
struts.multipart.maxSize 1Yk!R9.  
      The maximize size of a multipart request (file upload) {6I)6}w!k  
      multipart请求信息的最大尺寸(文件上传用) r,43 gg  
0hN gr'  
struts.multipart.parser T'ko =k  
      The org.apache.struts2.dispatcher.multipart. BvnNAi  
      MultiPartRequest parser implementation for a multipart request (file upload) <)68ol~<  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ym_w09   
La2f]+sV  
qjm6\ii:)  
struts.multipart.saveDir V}Ok>6(~  
      The directory to use for storing uploaded files U/#X,Bi~  
      设置存储上传文件的目录夹 wsKOafrV  
gAudL)X  
struts.objectFactory ^)nIf)9}7  
      The com.opensymphony.xwork2.ObjectFactory implementation class *'-[J2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) We`6# \Z X  
kC_Kb&Q0  
struts.objectFactory.spring.autoWire 7&hhKEA  
      Whether Spring should autoWire or not EXF|; @-"  
      是否自动绑定Spring zhC#<  
rq#\x{l  
struts.objectFactory.spring.useClassCache h@2YQgw`  
      Whether Spring should use its class cache or not g`Kh&|GU  
      是否spring应该使用自身的cache 1 u~Xk?  
[mcER4]}  
struts.objectTypeDeterminer ;RW0Dn)Q  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class I^GZ9@UE  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Fa0NHX2:  
17E,Qnf  
struts.serve.static.browserCache Z1~`S!(}  
If static content served by the Struts filter should set browser caching header properties or not _'mK=`>u  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 EXbaijHQG  
: GdLr  
struts.serve.static 9Ro7xSeD  
      Whether the Struts filter should serve static content or not 9 df GV!Z  
      是否struts过滤器应该提供静态内容 Q,LDn%+;B*  
$=9g,39  
struts.tag.altSyntax \S_o{0ZY}  
      Whether to use the alterative syntax for the tags or not :!QT ,  
      是否可以用替代的语法替代tags 5M&<tj/[a0  
6no&2a|D  
struts.ui.templateDir  ~LF/wx>  
      The directory containing UI templates BhzcimC)  
      UI templates的目录夹 LOEiV  
>^~W'etX|  
struts.ui.theme 9 gc0Ri[4m  
      The default UI template theme )i^ S:2  
      默认的UI template主题 adn2&7H  
`'E(L&  
struts.url.http.port zHX7%x,Cq  
      The HTTP port used by Struts URLs h]vu BHJ}  
      设置http端口 "oT&KW   
&?H`MCv t  
struts.url.https.port adtgNwg  
      The HTTPS port used by Struts URLs %BwvA_T'Q  
      设置https端口 M,vCAZ  
ZK4d;oa",  
struts.url.includeParams 7P bwCRg  
      The default includeParams method to generate Struts URLs o_sb+Vn|  
      在url中产生 默认的includeParams $/kZKoF{f  
fyF8RTm{  
gl~9|$ivj>  
struts.velocity.configfile r'<!wp@  
      The Velocity configuration file path ,UNnz&H+f  
      velocity配置文件路径 !y&<IT(\4  
++!'6! l  
struts.velocity.contexts q\G7T{t$.  
      List of Velocity context names V4ybrUWK  
      velocity的context列表 or`D-x)+@  
f;%=S:3  
6Qn};tbnD  
struts.velocity.manager.classname nC}Y+_wo0  
      org.apache.struts2.views.velocity.VelocityManager implementation class bo-lT-I  
      org.apache.struts2.views.velocity.VelocityManager接口名 |Sv}/ P-  
`hDH7u!U.  
struts.velocity.toolboxlocation #2dH2k\F  
      The location of the Velocity toolbox .k"unclT0  
      velocity工具盒的位置 ,: Ij@u>)  
struts.xslt.nocache K*P:FCz  
      Whether or not XSLT templates should not be cached )@],0yL  
      是否XSLT模版应该被缓存 f<;eNN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
10+5=?,请输入中文答案:十五