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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 P6 G/J-  
Onoi6^G  
struts.action.extension  Q-&]Vg  
      The URL extension to use to determine if the request is meant for a Struts action V1;Qt-i  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 jW",'1h<n  
j|(bDa4\  
struts.configuration _>:g&pS/  
      The org.apache.struts2.config.Configuration implementation class 4%j&]PASa1  
        org.apache.struts2.config.Configuration接口名 bvR*sT#rg  
V2]S{!p}k  
struts.configuration.files RN:#+S(8  
      A list of configuration files automatically loaded by Struts FZmYv%J  
      struts自动加载的一个配置文件列表 c\4n7m,y  
(*fsv g~  
struts.configuration.xml.reload AQ 7e  
      Whether to reload the XML configuration or not r5iO%JFg  
      是否加载xml配置(true,false) U w`LWG3T  
L}a3!33)C  
struts.continuations.package <p0$Q!^dK=  
      The package containing actions that use Rife continuations pr0V)C6  
      含有actions的完整连续的package名称 6eK^T=  
Yhw* `"X  
struts.custom.i18n.resources r rwsj`  
      Location of additional localization properties files to load X0Oq lAw  
      加载附加的国际化属性文件(不包含.properties后缀) v,i:vT\~  
OEwfNZQ-  
struts.custom.properties q=1SP@;\6  
      Location of additional configuration properties files to load AYZds >#Q  
      加载附加的配置文件的位置 V!U[N.&$  
H@j^,  
2aje$w-  
struts.devMode j'J*QK&Q  
      Whether Struts is in development mode or not 'qd")  
      是否为struts开发模式 Xp?Z;$r$  
.RWBn~b#I  
struts.dispatcher.parametersWorkaround T&23Pf1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic E0DEFB  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1aT$07G0  
-<O:isB   
struts.enable.DynamicMethodInvocation `( a^=e5  
      Allows one to disable dynamic method invocation from the URL G\NCEE'A  
        允许动态方法调用  zm.2L  
4 z`5W,  
struts.freemarker.manager.classname j5)qF1W,  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class SA7,]&Zb  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ~3Y NHm6V  
H5I#/j  
struts.i18n.encoding 2Ls<OO  
      The encoding to use for localization messages nz',Zm},  
      国际化信息内码 E>1USKxn  
vPs X!m[#  
struts.i18n.reload r/T DU[`&  
      Whether the localization messages should automatically be reloaded rh l5r"%  
      是否国际化信息自动加载 g0U ?s  
#"M Pe4  
struts.locale *3K"Kc2  
      The default locale for the Struts application [Bh]\I'  
      默认的国际化地区信息 FS}z_G|4]  
T7Ac4LA  
struts.mapper.class >dl!Ep  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 6J*`<k/ S  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 !T{g& f  
!!86Sv  
struts.multipart.maxSize vSA%A47G  
      The maximize size of a multipart request (file upload) IXN4?=)I  
      multipart请求信息的最大尺寸(文件上传用) &F}+U#H  
A!kyga6F5  
struts.multipart.parser Td >k \<  
      The org.apache.struts2.dispatcher.multipart. ;Z_C3/b  
      MultiPartRequest parser implementation for a multipart request (file upload) c" 7pf T  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @^%_ir(  
,')bO*N g  
8TPm[r]  
struts.multipart.saveDir Q ?t  
      The directory to use for storing uploaded files v1=X=H  
      设置存储上传文件的目录夹 N96BWgT  
SA1/U  
struts.objectFactory F udD  
      The com.opensymphony.xwork2.ObjectFactory implementation class | dwxea  
      com.opensymphony.xwork2.ObjectFactory接口(spring) n4 @a`lN5g  
}A7qIys$4  
struts.objectFactory.spring.autoWire (O2HB-<rY  
      Whether Spring should autoWire or not z)>{O3  
      是否自动绑定Spring C#&6p0U  
RKkI/Z0  
struts.objectFactory.spring.useClassCache E3skC%}  
      Whether Spring should use its class cache or not { NJ>[mKg  
      是否spring应该使用自身的cache HJR<d&l;p  
i)i)3K2  
struts.objectTypeDeterminer )X;cS} yp  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class J\'5CG  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Zbh]O CN  
Ne7{{1  
struts.serve.static.browserCache 1qe^rz|  
If static content served by the Struts filter should set browser caching header properties or not <WJ0St  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 rcmAVl:$>  
&R*5;/ !  
struts.serve.static *v ^"4  
      Whether the Struts filter should serve static content or not \]A;EwC4C  
      是否struts过滤器应该提供静态内容 ~x"79=!W  
;-GzGDc~0  
struts.tag.altSyntax aX)./  
      Whether to use the alterative syntax for the tags or not  MK"  
      是否可以用替代的语法替代tags ('q vYQ  
"q^'5p]  
struts.ui.templateDir :V~*vLvR  
      The directory containing UI templates ,l .U^d6>  
      UI templates的目录夹 uyt-q|83=  
N"RYM~c7  
struts.ui.theme 2^#UO=ct  
      The default UI template theme qd~98FS  
      默认的UI template主题 )?&kQ^@v  
@) ZO$h  
struts.url.http.port [Cqqjv;_  
      The HTTP port used by Struts URLs 7b,,%rUd  
      设置http端口 |zq!CLjD@  
`]P5,  
struts.url.https.port /cC6qhkp%  
      The HTTPS port used by Struts URLs :n9xH  
      设置https端口 yCCw<?  
:LiDJF  
struts.url.includeParams | 58 !A]  
      The default includeParams method to generate Struts URLs &^n> ZY,  
      在url中产生 默认的includeParams ob0 8xGj  
3E}NiD\V}  
ZoON5P>  
struts.velocity.configfile 9jR[:[  
      The Velocity configuration file path <cv2-?L{  
      velocity配置文件路径 D5!K<G?-K  
vk)0n=  
struts.velocity.contexts `X<`j6zaG  
      List of Velocity context names 4^[}]'w  
      velocity的context列表 dH2]ZE0V  
\q|7,S,5  
Bf:tal6 -M  
struts.velocity.manager.classname |\%F(d330  
      org.apache.struts2.views.velocity.VelocityManager implementation class D<bU~Gd,P  
      org.apache.struts2.views.velocity.VelocityManager接口名 0L0Jc,(F+  
]\RSHz  
struts.velocity.toolboxlocation 1Y"35)CR)  
      The location of the Velocity toolbox mvTyx7 h=  
      velocity工具盒的位置 yMbcFDlBr  
struts.xslt.nocache J[!x%8m  
      Whether or not XSLT templates should not be cached oB0 8  
      是否XSLT模版应该被缓存 L)/6kt=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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