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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 uznqq}  
+M.BMS2A<l  
struts.action.extension m +A4aQ9  
      The URL extension to use to determine if the request is meant for a Struts action )E9c6'd  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 O<fy^[r:`  
]9_tto!/  
struts.configuration bD)"Jy  
      The org.apache.struts2.config.Configuration implementation class 0x*1I1(c  
        org.apache.struts2.config.Configuration接口名 q1 HJ_y  
E$_zBD%  
struts.configuration.files 'Rnzu0<lF  
      A list of configuration files automatically loaded by Struts #^9bBF/  
      struts自动加载的一个配置文件列表 NJJ=ch  
aF/DFaiYv  
struts.configuration.xml.reload m|JA }&A  
      Whether to reload the XML configuration or not @GXKqi  
      是否加载xml配置(true,false) 3LyNi$`f  
t=eI*M+>h  
struts.continuations.package h@JX?LzZS  
      The package containing actions that use Rife continuations N_Ezp68Fp  
      含有actions的完整连续的package名称 7r:&%?2:g  
`JV(ae0  
struts.custom.i18n.resources FzOWM7+\  
      Location of additional localization properties files to load ;E{jn4B'  
      加载附加的国际化属性文件(不包含.properties后缀) {KDN|o+%  
;t>4VA  
struts.custom.properties ~jJ.E_i  
      Location of additional configuration properties files to load /0>'ZzjV,  
      加载附加的配置文件的位置 _KloX{a  
; Ows8  
z-3.%P2g  
struts.devMode =84EX<B  
      Whether Struts is in development mode or not #Fo#f<b p  
      是否为struts开发模式 0 NSw^dO\  
?@in($67  
struts.dispatcher.parametersWorkaround ).HA #!SE  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic He8]Eb  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) d<Lc&wlP  
{a\! 1~  
struts.enable.DynamicMethodInvocation ,ye[TQ\,M  
      Allows one to disable dynamic method invocation from the URL W3ms8=z  
        允许动态方法调用 s;Bh69  
6? lAbW  
struts.freemarker.manager.classname -vm1xp$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class @=z.^I30  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 wIAH,3!  
?=)lbSu K  
struts.i18n.encoding &kvmLOI  
      The encoding to use for localization messages ic}TiTK  
      国际化信息内码 o6w8Y/VPu  
zrSYLG  
struts.i18n.reload L[:A Ue  
      Whether the localization messages should automatically be reloaded 22ySMtxn  
      是否国际化信息自动加载 PI$i_3N  
yX*$PNL5w  
struts.locale g :B4zlKG  
      The default locale for the Struts application }UcdkKq  
      默认的国际化地区信息 2oc18#iG (  
jLn#%Ia}  
struts.mapper.class AMB{Fssz  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class sWse (_2  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口  mVS^HQ:  
y5c\\e  
struts.multipart.maxSize ,%A|:T]  
      The maximize size of a multipart request (file upload) 7MZH'nO  
      multipart请求信息的最大尺寸(文件上传用) |_g7k2oLY  
EF$ASNh"  
struts.multipart.parser Q3hSWXq'  
      The org.apache.struts2.dispatcher.multipart. E,ilJl\  
      MultiPartRequest parser implementation for a multipart request (file upload) 5|jY  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) t%e<]2-8  
]Hl{(v\H O  
:B=Gb8?  
struts.multipart.saveDir K@:omT  
      The directory to use for storing uploaded files .* `]x  
      设置存储上传文件的目录夹 >h:'Z*9  
<7)sS<I  
struts.objectFactory H}_R`S  
      The com.opensymphony.xwork2.ObjectFactory implementation class IDf\! QGx  
      com.opensymphony.xwork2.ObjectFactory接口(spring) l-nH  
%${$P+a`D  
struts.objectFactory.spring.autoWire /Q)I5sL@E  
      Whether Spring should autoWire or not o+8H:7,o'  
      是否自动绑定Spring 4P5^.\.  
=rZ'!Pa  
struts.objectFactory.spring.useClassCache PPFt p3C  
      Whether Spring should use its class cache or not u{HO6 s\S  
      是否spring应该使用自身的cache yK&  
&N=vs  
struts.objectTypeDeterminer QEut@L  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class CvZ\Z472.j  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 N3lz-vP-  
%A3m%&(m&%  
struts.serve.static.browserCache WB_BEh[>j  
If static content served by the Struts filter should set browser caching header properties or not OXp N8Dh5  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 LibQlNW\  
IS!OO<  
struts.serve.static (x\VGo  
      Whether the Struts filter should serve static content or not Vh;|qF 9  
      是否struts过滤器应该提供静态内容 vm;%713#1  
`YwJ.E  
struts.tag.altSyntax yEjiMtQll]  
      Whether to use the alterative syntax for the tags or not o_b3G  
      是否可以用替代的语法替代tags rZ n@i  
F_-xp1|  
struts.ui.templateDir mT-[I<  
      The directory containing UI templates $aU.M3  
      UI templates的目录夹 .Mb0++% W  
7BINqVS&  
struts.ui.theme =Yl ea,S  
      The default UI template theme dR_6j}  
      默认的UI template主题 ' =5B   
sm Ql^ 6a  
struts.url.http.port Nr]Fh  
      The HTTP port used by Struts URLs $kN=45SR  
      设置http端口 oj{CNa  
hi$AZ+  
struts.url.https.port ^>ir&$  
      The HTTPS port used by Struts URLs U/A iI;Ne  
      设置https端口 \\13n4fAv  
_x""-X~OL  
struts.url.includeParams sG_/E-%5'  
      The default includeParams method to generate Struts URLs EN[T3 Y  
      在url中产生 默认的includeParams Ua:@,};  
QnP3U  
%x{kd8>u!  
struts.velocity.configfile U$OI]Dd9  
      The Velocity configuration file path  7 FY2a  
      velocity配置文件路径 K^@9\cl^  
+C~d;p  
struts.velocity.contexts (p12=EB<  
      List of Velocity context names j%y{d(Q4  
      velocity的context列表 g"|>^90  
|kvH`&s  
L~;(M6Jp  
struts.velocity.manager.classname U/kQwrM  
      org.apache.struts2.views.velocity.VelocityManager implementation class <},JWV3  
      org.apache.struts2.views.velocity.VelocityManager接口名 ^vT!24sK  
|LbAW /9a  
struts.velocity.toolboxlocation vC@^B)5gb  
      The location of the Velocity toolbox  iKd+AzT  
      velocity工具盒的位置 #O;JV}y  
struts.xslt.nocache rq!*unJ  
      Whether or not XSLT templates should not be cached a9p:k ]{  
      是否XSLT模版应该被缓存 ! #! MTk  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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