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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 E5n7 <  
KD &nLm!  
struts.action.extension P\7*ql`  
      The URL extension to use to determine if the request is meant for a Struts action QIGUi,R  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 z/ 1$G"  
ZyUcL_   
struts.configuration ='o3<}  
      The org.apache.struts2.config.Configuration implementation class <J&S[`U!  
        org.apache.struts2.config.Configuration接口名 SWV*w[X<X  
ju{Y6XJ)  
struts.configuration.files [! $N Tt_  
      A list of configuration files automatically loaded by Struts **hQb$  
      struts自动加载的一个配置文件列表 o{sv<$  
ca_mift  
struts.configuration.xml.reload t^~vi'bB  
      Whether to reload the XML configuration or not PR.3EL  
      是否加载xml配置(true,false) ~i5YqH0  
>>P5 4|&  
struts.continuations.package \9VF)Y.ke  
      The package containing actions that use Rife continuations kP ]Up&'  
      含有actions的完整连续的package名称 E{|B&6$[}  
q,,  
struts.custom.i18n.resources 0hemXvv1  
      Location of additional localization properties files to load A9MM^j V8  
      加载附加的国际化属性文件(不包含.properties后缀) ?uq`|1`  
t>\sP   
struts.custom.properties kcCCa@~v  
      Location of additional configuration properties files to load \;X7DK2  
      加载附加的配置文件的位置 EnM  
A `Z/B[)  
t5-O-AI[b{  
struts.devMode l*1|B3#m!  
      Whether Struts is in development mode or not 'I]XX==_  
      是否为struts开发模式 faQmkO  
l a3B`p  
struts.dispatcher.parametersWorkaround P1-eDHYw  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic  arYq$~U  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) bE_8NA"2  
;o9h|LRs  
struts.enable.DynamicMethodInvocation L.HeBeO  
      Allows one to disable dynamic method invocation from the URL dkC[SG`  
        允许动态方法调用 ==dKC;  
&jP1Q3  
struts.freemarker.manager.classname e}UQN:1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class bF"l0 jS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 UT<e/  
BX >L7n  
struts.i18n.encoding ]||b2[*  
      The encoding to use for localization messages n=.P46|  
      国际化信息内码 ;]dD\4_hK  
o:Fq|?/e  
struts.i18n.reload :$WO"HfMSn  
      Whether the localization messages should automatically be reloaded YZol4q|ic  
      是否国际化信息自动加载 6cH8Jr _  
2d&F<J<sU  
struts.locale ']M/'CcM  
      The default locale for the Struts application 5C Dk5B_  
      默认的国际化地区信息 jxog8 E  
VfoWPyWD#  
struts.mapper.class C96/   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class IO%kXF.[  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 8z9 {H  
0fsVbC  
struts.multipart.maxSize @5>#<LV=E#  
      The maximize size of a multipart request (file upload) nKx)R^]k  
      multipart请求信息的最大尺寸(文件上传用) t3;Zx+Br  
UqP{Cyy{  
struts.multipart.parser M8/a laoT  
      The org.apache.struts2.dispatcher.multipart. 7r:h_r-  
      MultiPartRequest parser implementation for a multipart request (file upload) '75T2Ud  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) w#"\*SKK  
> i/jqT/  
bZnOX*y]  
struts.multipart.saveDir Lljn\5!r<  
      The directory to use for storing uploaded files I3t5S;_8  
      设置存储上传文件的目录夹 =X$ieXq|  
gmGK3am  
struts.objectFactory y* +y&  
      The com.opensymphony.xwork2.ObjectFactory implementation class xcB\Y:   
      com.opensymphony.xwork2.ObjectFactory接口(spring) DR#" 3  
mWp>E`l  
struts.objectFactory.spring.autoWire jI-a+LnEm  
      Whether Spring should autoWire or not GY~$<^AK  
      是否自动绑定Spring 98[uRywI  
Itl8#LpLM  
struts.objectFactory.spring.useClassCache Ca2r<|uA  
      Whether Spring should use its class cache or not + :MSY p  
      是否spring应该使用自身的cache fQ<sq0' e\  
?cV,lak  
struts.objectTypeDeterminer mQ[$U  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 2dn^K3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 +}:Z9AAMy  
-C=0Pg]ga  
struts.serve.static.browserCache E7Cobpm  
If static content served by the Struts filter should set browser caching header properties or not =?i?-6M  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8!_jZf8  
=*\s`ox`  
struts.serve.static t~Q 9} +  
      Whether the Struts filter should serve static content or not Bkcwl  
      是否struts过滤器应该提供静态内容 iN;Pg _Kq  
Kd\0nf6  
struts.tag.altSyntax 59E9K)c3  
      Whether to use the alterative syntax for the tags or not Ymut]`dX  
      是否可以用替代的语法替代tags A  6(`  
"hIYf7r##  
struts.ui.templateDir mqSVd^  
      The directory containing UI templates G~9m,l+  
      UI templates的目录夹 C=?S  
k/K)nH@)  
struts.ui.theme ]!hjKu"  
      The default UI template theme [txOh!sxD  
      默认的UI template主题 THrLX;I  
wh:;G`6S  
struts.url.http.port &#p1ogf:  
      The HTTP port used by Struts URLs %cF`x_h[j  
      设置http端口 Y=S0|!u  
0seCQANd  
struts.url.https.port j7I=2xnTWu  
      The HTTPS port used by Struts URLs E7uIur=g!  
      设置https端口 4_#$k{  
PRh C1#  
struts.url.includeParams ghQ B  
      The default includeParams method to generate Struts URLs 2yN!yIPR  
      在url中产生 默认的includeParams l}nVWuD  
%4~"$kE  
8ro`lX*F@2  
struts.velocity.configfile )nm+_U  
      The Velocity configuration file path PGTEIptX7  
      velocity配置文件路径 &PMQ]B  
&V38)83a  
struts.velocity.contexts Fis!MMh.$  
      List of Velocity context names F`D$bE;|  
      velocity的context列表 ~&?([}A  
|Ajd$+3  
zIa={tU  
struts.velocity.manager.classname % km <+F=~  
      org.apache.struts2.views.velocity.VelocityManager implementation class |$WHw*F^  
      org.apache.struts2.views.velocity.VelocityManager接口名 @-@Coy 4Tt  
(HNc9QVC'W  
struts.velocity.toolboxlocation e!u]l  
      The location of the Velocity toolbox ?2@^O=I  
      velocity工具盒的位置 Ah2@sp,z  
struts.xslt.nocache cy%M$O|hX5  
      Whether or not XSLT templates should not be cached -`]9o3E7H  
      是否XSLT模版应该被缓存 gM96RY  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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