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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 t2|0no  
= C/F26=|  
struts.action.extension ~:|V,1  
      The URL extension to use to determine if the request is meant for a Struts action |cC&,8O:{  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 m Ph=bG  
NRspi_&4J  
struts.configuration Y{Lxo])e  
      The org.apache.struts2.config.Configuration implementation class : #so"O  
        org.apache.struts2.config.Configuration接口名 `-K[$V  
NL2D,  
struts.configuration.files I|;C} lfp  
      A list of configuration files automatically loaded by Struts W7{^/s5r  
      struts自动加载的一个配置文件列表 Rm6i[y&  
oZdY0nh4  
struts.configuration.xml.reload (E~6fb "c  
      Whether to reload the XML configuration or not DJqJ6z:'  
      是否加载xml配置(true,false) zsR5"Vi=  
=.J cIT'  
struts.continuations.package #&?}h)Jr'  
      The package containing actions that use Rife continuations Ll VbY=EX7  
      含有actions的完整连续的package名称 {<#b@=G  
jE8}Ho_#)  
struts.custom.i18n.resources |CQ0{1R1  
      Location of additional localization properties files to load ]86*k %A  
      加载附加的国际化属性文件(不包含.properties后缀) 9E4^hkD&  
+At0V(  
struts.custom.properties G]mD_J1$  
      Location of additional configuration properties files to load ULs'oT)K;  
      加载附加的配置文件的位置 "|R75m,Id  
OI3j!L2f  
=EU;%f  
struts.devMode zZey  
      Whether Struts is in development mode or not aSgKh  
      是否为struts开发模式 vj]h[=:  
.' h^  
struts.dispatcher.parametersWorkaround oiD{Z  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ub+XgNO  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) G|||.B 8  
(uC@cVk P  
struts.enable.DynamicMethodInvocation 6z:/ma^  
      Allows one to disable dynamic method invocation from the URL SwaPRAF  
        允许动态方法调用 {.DY\;Q  
^+k= ;nl  
struts.freemarker.manager.classname bqaj~:}@  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class H]f[r~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]Zc\si3i&  
Lr= ^0  
struts.i18n.encoding )HvB ceN  
      The encoding to use for localization messages h-SKw=n  
      国际化信息内码 rhly.f7N=A  
u g;~dhe~  
struts.i18n.reload LB9W.cA   
      Whether the localization messages should automatically be reloaded T21?~jS  
      是否国际化信息自动加载 c\O2|'JzE  
!| - U,  
struts.locale Z`zLrXPD)  
      The default locale for the Struts application 4X+I2CD  
      默认的国际化地区信息 d>Nh<PqH6  
>+>N/`BG  
struts.mapper.class %?[0G,JG  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class '$J M2 u  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {) sE;p-  
hTcU %Nc  
struts.multipart.maxSize 7r.~L  
      The maximize size of a multipart request (file upload) Ttp%U8-LJR  
      multipart请求信息的最大尺寸(文件上传用) /-WmOn*  
c~OvoTF,  
struts.multipart.parser hb %F"Q  
      The org.apache.struts2.dispatcher.multipart. (Jk[%_b>_  
      MultiPartRequest parser implementation for a multipart request (file upload) JZE@W -2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) j%J>LeTca  
[,MK)7DU  
0"ooHP$1  
struts.multipart.saveDir tF./Jx]_  
      The directory to use for storing uploaded files pF8+< T3y  
      设置存储上传文件的目录夹 ELG9ts+5Uj  
ZPz=\^  
struts.objectFactory !41"`D!1  
      The com.opensymphony.xwork2.ObjectFactory implementation class [;ZC_fD  
      com.opensymphony.xwork2.ObjectFactory接口(spring) GCv1x->  
_>?.MUPB  
struts.objectFactory.spring.autoWire Pf?15POg&B  
      Whether Spring should autoWire or not 4?[1JN>  
      是否自动绑定Spring t~) g)=>  
4Tx.|   
struts.objectFactory.spring.useClassCache ]<c\+9  
      Whether Spring should use its class cache or not .~q>e*8AH  
      是否spring应该使用自身的cache <U\8&Uv>  
NA`8 ^PZ  
struts.objectTypeDeterminer "V`DhOG&  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class -w5sXnS  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 T=@Ygjk  
/W LZyT2  
struts.serve.static.browserCache i&DUlmt)f  
If static content served by the Struts filter should set browser caching header properties or not J+N -+,,  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 B ?y[ %i  
T7O)  
struts.serve.static %=\*OIhl  
      Whether the Struts filter should serve static content or not jpTk@  
      是否struts过滤器应该提供静态内容 oL<5hN*D  
_#{qDG=  
struts.tag.altSyntax ?C   
      Whether to use the alterative syntax for the tags or not ?I"?J/zm  
      是否可以用替代的语法替代tags u]ps-R_$G  
+4rd N\.  
struts.ui.templateDir UdA,.C0  
      The directory containing UI templates v$g\]QS p  
      UI templates的目录夹 bk a%W@Y%  
`0!%jz=  
struts.ui.theme 4T v=sP  
      The default UI template theme P97i<pB Y_  
      默认的UI template主题 gkKNOus  
| qelvK*  
struts.url.http.port `VDvxl@1  
      The HTTP port used by Struts URLs DnW/q  
      设置http端口 &FYv4J  
.C ,dV7  
struts.url.https.port Ae"|a_>fMI  
      The HTTPS port used by Struts URLs #uICH t3  
      设置https端口 JeA_mtSQ|  
K]|hkp&  
struts.url.includeParams 3*(><<ZC  
      The default includeParams method to generate Struts URLs yx;K&>  
      在url中产生 默认的includeParams jR@>~t[}o  
$d,{I8d  
o#BI_#b  
struts.velocity.configfile uss!E!_%,  
      The Velocity configuration file path T1x67 b u  
      velocity配置文件路径 CJs ~!ww  
JLjs`oq h  
struts.velocity.contexts }_@p`>|)rB  
      List of Velocity context names t}OzF cyqN  
      velocity的context列表 1F3Q^3+  
7  `c!  
]v]:8>N  
struts.velocity.manager.classname y|3("&)"S  
      org.apache.struts2.views.velocity.VelocityManager implementation class wqJl[~O$  
      org.apache.struts2.views.velocity.VelocityManager接口名 pEX Q  
/WK1(B:  
struts.velocity.toolboxlocation UQ@szE  
      The location of the Velocity toolbox &0J8I Cd=  
      velocity工具盒的位置 u|D L?c>W  
struts.xslt.nocache E]r<t#  
      Whether or not XSLT templates should not be cached KDA2 H>  
      是否XSLT模版应该被缓存 qG g29  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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