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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 HPz9Er  
Z~&$s  
struts.action.extension N_ 3$B=  
      The URL extension to use to determine if the request is meant for a Struts action /WvF}y  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 G~z=,72  
N4]Sp v  
struts.configuration e"^ /xF  
      The org.apache.struts2.config.Configuration implementation class RKIBFP8.  
        org.apache.struts2.config.Configuration接口名 ZGILV  
K fM6(f:  
struts.configuration.files Gi=sJV  
      A list of configuration files automatically loaded by Struts Sn6cwf9.s  
      struts自动加载的一个配置文件列表 y {&"g  
T0:%,o  
struts.configuration.xml.reload GSHJ?}U,  
      Whether to reload the XML configuration or not XH^X4W  
      是否加载xml配置(true,false) $w,O[PIi  
ua!i3]18  
struts.continuations.package w'[^RZW:j  
      The package containing actions that use Rife continuations Q9Tt3h2ga  
      含有actions的完整连续的package名称 *Sd}cDCO%  
8i epG  
struts.custom.i18n.resources !hMD>B2Z  
      Location of additional localization properties files to load }da}vR"iL  
      加载附加的国际化属性文件(不包含.properties后缀) %4bGI/\/  
)Y@E5Tuk>  
struts.custom.properties Ch] `@(l  
      Location of additional configuration properties files to load c0 I;8z`b  
      加载附加的配置文件的位置 Zqo  
ILN Yh3  
!^[i"F:G  
struts.devMode vkR,Sn  
      Whether Struts is in development mode or not [6ycs[{!  
      是否为struts开发模式 +#;t.&\80N  
U4$}8~o4  
struts.dispatcher.parametersWorkaround V4["+Y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic (h8RthQt  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Kia34 ~W  
`@_j Do  
struts.enable.DynamicMethodInvocation .RazjXAY  
      Allows one to disable dynamic method invocation from the URL 8I>'x f  
        允许动态方法调用 o4.?m6d  
qsA`\%]H  
struts.freemarker.manager.classname xYLTz8g=  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class hL?"!  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 e) \PW1b  
jqzG=/0~{  
struts.i18n.encoding )yl;i  
      The encoding to use for localization messages 'DhH:PR  
      国际化信息内码 <MQTOz oj  
F.Sc2n@7-  
struts.i18n.reload su}n3NsJ  
      Whether the localization messages should automatically be reloaded y/.I<5+Bu  
      是否国际化信息自动加载 j}`XF?2D  
hZwbYvu  
struts.locale m=4hi(g  
      The default locale for the Struts application  Qi;62M  
      默认的国际化地区信息 l-gNJ=l+K  
lZ*V.-D^]  
struts.mapper.class +Oafo|%  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class nOm-Yb+F  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )c<X.4  
;irAq|  
struts.multipart.maxSize >zS<1  
      The maximize size of a multipart request (file upload) -V F*h.'  
      multipart请求信息的最大尺寸(文件上传用) |?gO@?KDZ  
PAy/"R9DT-  
struts.multipart.parser xTGdh  
      The org.apache.struts2.dispatcher.multipart. 6JB* brO  
      MultiPartRequest parser implementation for a multipart request (file upload) <*3#nA-O>i  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) mHB0eB'l  
=M],5<2;  
yEPkF0?  
struts.multipart.saveDir .At^b4#(  
      The directory to use for storing uploaded files S\S31pYT  
      设置存储上传文件的目录夹 EEp~\^ -  
~7$jW[i  
struts.objectFactory cna/?V  
      The com.opensymphony.xwork2.ObjectFactory implementation class 6 =H]p1p~O  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 2{9%E6%#  
laQ{nSVBm  
struts.objectFactory.spring.autoWire ec&K}+p@  
      Whether Spring should autoWire or not |ERf3  
      是否自动绑定Spring TMG|"|  
lcR1FbJ2'  
struts.objectFactory.spring.useClassCache pmuT7*<19  
      Whether Spring should use its class cache or not RQ;}+S  
      是否spring应该使用自身的cache V'8Rz#Gc5  
r!&}4lHYi  
struts.objectTypeDeterminer % pQi}x  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class %hVI*p3  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 _-:CU  
7U2?in}?Qi  
struts.serve.static.browserCache  uWkn}P  
If static content served by the Struts filter should set browser caching header properties or not `&jG8lHa  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 D$fWeG{f  
,DD}o  
struts.serve.static 1'!%$D  
      Whether the Struts filter should serve static content or not 0gsRBy  
      是否struts过滤器应该提供静态内容 YZZog6%  
%cl{J_}{&  
struts.tag.altSyntax &l~9FE *  
      Whether to use the alterative syntax for the tags or not B4eV$~<  
      是否可以用替代的语法替代tags z#GrwE,r   
'B;n&tJ   
struts.ui.templateDir 4O7 {a  
      The directory containing UI templates "]}?{2i;  
      UI templates的目录夹 W.^R/s8O%5  
i$6o>V6  
struts.ui.theme 9;ie[sU:u  
      The default UI template theme Ge ?Q)N  
      默认的UI template主题 cuh Z_l  
Sr>5V  
struts.url.http.port J]5ZWo%  
      The HTTP port used by Struts URLs ,0aRHy_^  
      设置http端口 MogIQ  
|4!G@-2V:I  
struts.url.https.port 7`SrqI&  
      The HTTPS port used by Struts URLs V)c.AX5  
      设置https端口 Rnw v/)  
\u*[mrX_B:  
struts.url.includeParams &F.L*M  
      The default includeParams method to generate Struts URLs P\%aJ'f~  
      在url中产生 默认的includeParams h|.{dv  
=kb/4eRg  
5Un)d<!7&u  
struts.velocity.configfile y3ST0=>j}  
      The Velocity configuration file path +J3Y}A4W3X  
      velocity配置文件路径 xTy)qN]P  
H^XTzE  
struts.velocity.contexts CcZM0  
      List of Velocity context names 11B8 LX  
      velocity的context列表 $9ys! <g  
~H:.&'E  
W#foVAi .  
struts.velocity.manager.classname z}-8pDD'  
      org.apache.struts2.views.velocity.VelocityManager implementation class A\v]ZN4  
      org.apache.struts2.views.velocity.VelocityManager接口名 >NZJ-:t  
.xe+cK  
struts.velocity.toolboxlocation $AHdjQ[;6-  
      The location of the Velocity toolbox X<d`!,bn@  
      velocity工具盒的位置 6|Xm8,]yRw  
struts.xslt.nocache 6SEq 2   
      Whether or not XSLT templates should not be cached OE2r2ad  
      是否XSLT模版应该被缓存 Bkdt[qDn5P  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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