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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 E>SnH  
\'E%ue_<9  
struts.action.extension /0"Y. @L  
      The URL extension to use to determine if the request is meant for a Struts action iSIj ?.  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 g%RL9-z  
";s?#c  
struts.configuration <K4'|HU/  
      The org.apache.struts2.config.Configuration implementation class @uT\.W:Q2  
        org.apache.struts2.config.Configuration接口名 E(TL+o  
193Q  
struts.configuration.files sl/#1B   
      A list of configuration files automatically loaded by Struts pjHUlQ   
      struts自动加载的一个配置文件列表 .rN 5A+By`  
7M^!t X  
struts.configuration.xml.reload ;wTl#\|w0  
      Whether to reload the XML configuration or not m./lrz  
      是否加载xml配置(true,false) oryoGy=(yk  
%4+r&  
struts.continuations.package C4Bh#C  
      The package containing actions that use Rife continuations {!'AR`|  
      含有actions的完整连续的package名称 QXgh[9w G  
=$Xdn'  
struts.custom.i18n.resources #/5jWH7U  
      Location of additional localization properties files to load .xCO_7Rd  
      加载附加的国际化属性文件(不包含.properties后缀) 3VA Lrb;  
m:Z=: -x  
struts.custom.properties yWt87+%T  
      Location of additional configuration properties files to load V\)@Yk2  
      加载附加的配置文件的位置 6^UeEmjc  
).-B@&Eu%  
1 ,[T;pdDd  
struts.devMode ddlLS  
      Whether Struts is in development mode or not eN N%%Q  
      是否为struts开发模式 ,Iwri\  
Tv~<W4  
struts.dispatcher.parametersWorkaround A[=)Zw "  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S37Bl5W  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 65s|gfu/  
/g@.1z1w  
struts.enable.DynamicMethodInvocation OYy%aA}h  
      Allows one to disable dynamic method invocation from the URL %2bZeZ  
        允许动态方法调用 J/R=O>  
C x$|7J=O  
struts.freemarker.manager.classname nmS3  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class h"]v+u`!SM  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3D;\V&([  
f:Ju20D  
struts.i18n.encoding @x"vGYKd  
      The encoding to use for localization messages LnrR#fF]Z  
      国际化信息内码 xr)kHJ:v  
hp Lo  
struts.i18n.reload 3V LwMF?  
      Whether the localization messages should automatically be reloaded I)Lg=n$  
      是否国际化信息自动加载 9[6xo!  
?&"cI5-  
struts.locale \7*9l%  
      The default locale for the Struts application f>-OwL($P  
      默认的国际化地区信息 lj'c0k8  
" 0K5 /9  
struts.mapper.class F}2U8O  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class xREqcH,vU  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @6}c\z@AxM  
0@^YxU[YN  
struts.multipart.maxSize |UBR8  
      The maximize size of a multipart request (file upload) !-LPFy>  
      multipart请求信息的最大尺寸(文件上传用) ]%ikr&78u  
4+'yJ9~,B  
struts.multipart.parser 9IC"p<D  
      The org.apache.struts2.dispatcher.multipart. Hc5@ gN  
      MultiPartRequest parser implementation for a multipart request (file upload) h^?[:XBeav  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) u{tjB/K&  
@&mv4zz&W  
) dwPD  
struts.multipart.saveDir YDC[s ^d5  
      The directory to use for storing uploaded files y%`^* E&  
      设置存储上传文件的目录夹 6hAeLlU1  
mY#[D; mUe  
struts.objectFactory e=1&mO?  
      The com.opensymphony.xwork2.ObjectFactory implementation class L ?4c8!Q  
      com.opensymphony.xwork2.ObjectFactory接口(spring) _"##p  
gWv/3hWWB  
struts.objectFactory.spring.autoWire !T6oD]x3  
      Whether Spring should autoWire or not a}0\kDe  
      是否自动绑定Spring {cq; SH  
:$dGcX}  
struts.objectFactory.spring.useClassCache 6>SP5|GG  
      Whether Spring should use its class cache or not lmQ!q>N  
      是否spring应该使用自身的cache M2%<4(UwI  
]^/:Xsk$  
struts.objectTypeDeterminer E/Eny 5  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class IAhyGD{b  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 2 os&d|  
I6{}S6  
struts.serve.static.browserCache M+ 8!#n  
If static content served by the Struts filter should set browser caching header properties or not =p N?h<dc  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 =JX.* MEB  
Euk#C;uBg  
struts.serve.static >c5Vz^uM{4  
      Whether the Struts filter should serve static content or not fPZBm&`C  
      是否struts过滤器应该提供静态内容 qYGnebn@\  
MU-ie*+  
struts.tag.altSyntax Xr6lYO_R  
      Whether to use the alterative syntax for the tags or not ce 1KUwo]  
      是否可以用替代的语法替代tags 'O \YL(j_e  
v9u/<w68!  
struts.ui.templateDir ~EpMO]I  
      The directory containing UI templates E9!IGci  
      UI templates的目录夹 ofj7$se  
g@`14U/|  
struts.ui.theme #Z98D9Pv`o  
      The default UI template theme DUM,dFIlvF  
      默认的UI template主题 >.\G/'\?  
>p}d:t/  
struts.url.http.port H.v`JNs (  
      The HTTP port used by Struts URLs < 5;0LPU  
      设置http端口 UN_lK<utF  
FavU"QU&|  
struts.url.https.port n|yl3v  
      The HTTPS port used by Struts URLs fn&gM\<-+(  
      设置https端口 1;080| ,s  
xXp\U'Ad~~  
struts.url.includeParams * j:  
      The default includeParams method to generate Struts URLs ubj ~ULA  
      在url中产生 默认的includeParams Czid"Ih-  
T5Sa9\`>  
rcOpOoU|  
struts.velocity.configfile W6E9  
      The Velocity configuration file path f/eT4y  
      velocity配置文件路径 Gx y>aS3  
t \Fc <  
struts.velocity.contexts lk2F]@_kJH  
      List of Velocity context names vXq=f:y4  
      velocity的context列表 PF1!aAvVb  
Kg~<h B6  
rcF;Lp :  
struts.velocity.manager.classname 3k5Mty  
      org.apache.struts2.views.velocity.VelocityManager implementation class L!3{ASIN0  
      org.apache.struts2.views.velocity.VelocityManager接口名 j<R,}nmD3\  
Op~sR^ez  
struts.velocity.toolboxlocation x,5$VLs\+  
      The location of the Velocity toolbox b+[9) B)a?  
      velocity工具盒的位置 />FrMz8;(  
struts.xslt.nocache >O9j},X  
      Whether or not XSLT templates should not be cached kIiId8l  
      是否XSLT模版应该被缓存 X>wB=z5PXK  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八