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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 k1W q$KCwG  
QOMh"wC3  
struts.action.extension r!'\$(m E  
      The URL extension to use to determine if the request is meant for a Struts action [;%qxAB/_  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 *s} dtJ  
"9aiin  
struts.configuration ; 7k@_  
      The org.apache.struts2.config.Configuration implementation class Mz_*`lRN  
        org.apache.struts2.config.Configuration接口名 -:&qNY:Vp  
/aP4'U8ov  
struts.configuration.files W&qE_r  
      A list of configuration files automatically loaded by Struts %&0_0BU  
      struts自动加载的一个配置文件列表 8V?O=3<a  
HsO4C)/  
struts.configuration.xml.reload B/7c`V  
      Whether to reload the XML configuration or not P >HEV a  
      是否加载xml配置(true,false) 0& 54xP  
`L/\F,  
struts.continuations.package NLf6}  
      The package containing actions that use Rife continuations LNPwb1)  
      含有actions的完整连续的package名称 u?r=;:N|y  
*H8(G%a!^  
struts.custom.i18n.resources  $ac VJI?  
      Location of additional localization properties files to load  ,SNN[a  
      加载附加的国际化属性文件(不包含.properties后缀) D<78Tm x  
sE{A~{a`  
struts.custom.properties { <f]6  
      Location of additional configuration properties files to load LNOm"D?"  
      加载附加的配置文件的位置 %#7Yr(&  
MIGcV9hf  
Lj`MFZ  
struts.devMode 6SJ  
      Whether Struts is in development mode or not H:TRJ.!w2  
      是否为struts开发模式 ju~js  
HG{r\jh  
struts.dispatcher.parametersWorkaround W{B)c?G]  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~ (I'm[  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 2|8e7q:+*  
Hx5t![g2K!  
struts.enable.DynamicMethodInvocation ckG`^<  
      Allows one to disable dynamic method invocation from the URL 9)}Nx>K  
        允许动态方法调用 vau0Jn%=ck  
z)*7LI  
struts.freemarker.manager.classname >VIb|YA  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class XR3=Y0YDf  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 kqdF)Wa am  
XpFW(v  
struts.i18n.encoding ;n0VF77>O  
      The encoding to use for localization messages h2<Y*j  
      国际化信息内码 JL.noV3q$  
=wE1j  
struts.i18n.reload qn=~4rg]R  
      Whether the localization messages should automatically be reloaded I*hCIy#;  
      是否国际化信息自动加载 +X#JCLD  
Kw_> X&GcJ  
struts.locale $ReoIU^<  
      The default locale for the Struts application tn>z%6;&Z  
      默认的国际化地区信息 !(QDhnx}9c  
rXgU*3 RG  
struts.mapper.class w eu3c`-a  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 9=D09@A%e  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 X} <p|P+  
>,;, 6|S  
struts.multipart.maxSize F-0|&0  
      The maximize size of a multipart request (file upload) /a@gE^TM  
      multipart请求信息的最大尺寸(文件上传用) jG~zpZh  
Y_S>S( 0  
struts.multipart.parser t|XQFb@}  
      The org.apache.struts2.dispatcher.multipart. fR]%:'2k  
      MultiPartRequest parser implementation for a multipart request (file upload) (nL''#Ka  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) @'XxMO[Z!<  
~ A?  
w&VMb&<  
struts.multipart.saveDir cVk&Yp;[*  
      The directory to use for storing uploaded files b9FfDDOq"  
      设置存储上传文件的目录夹 fdk]i/*)  
H & L  
struts.objectFactory AXBf\ )[  
      The com.opensymphony.xwork2.ObjectFactory implementation class iY_E"$}P  
      com.opensymphony.xwork2.ObjectFactory接口(spring) q3Tp /M.  
I#?NxP\S  
struts.objectFactory.spring.autoWire $w%n\t>B  
      Whether Spring should autoWire or not 57PoJ+  
      是否自动绑定Spring [R-&5 G!x  
GO3F[ l  
struts.objectFactory.spring.useClassCache Y367Jr@^N  
      Whether Spring should use its class cache or not =\uQGH  
      是否spring应该使用自身的cache wX7|a/|@  
c:>&iB-Yu  
struts.objectTypeDeterminer {6E&\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class r92C^h0  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @-9u;aL  
HH`G/(a  
struts.serve.static.browserCache (rDB|kc^7  
If static content served by the Struts filter should set browser caching header properties or not T;{M9W+  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 c^Y&4=>T  
wlvhDJ  
struts.serve.static e[`u:  
      Whether the Struts filter should serve static content or not Qqju6}+  
      是否struts过滤器应该提供静态内容 P01o:/}  
F^knlv'  
struts.tag.altSyntax kWkAfzf4a  
      Whether to use the alterative syntax for the tags or not YTWlR]Tr6?  
      是否可以用替代的语法替代tags ~x}/>-d  
>'\cNM~nf  
struts.ui.templateDir mI;#Zq_j  
      The directory containing UI templates X0IXj%\N  
      UI templates的目录夹 L!fiW`>0G  
*p&c}2'  
struts.ui.theme 8Df(|>mK  
      The default UI template theme TttD}`\.  
      默认的UI template主题 i]sz*\P~  
=[X..<bW9:  
struts.url.http.port Yr7%C  
      The HTTP port used by Struts URLs iPnu *29  
      设置http端口 E Ux kYl  
4O~E4" ]  
struts.url.https.port Av3qoH)[<  
      The HTTPS port used by Struts URLs $%*E)~  
      设置https端口 e~Hx+Qp.G  
'1o1=iJN@$  
struts.url.includeParams ,sU#{.(  
      The default includeParams method to generate Struts URLs ">?ocJ\9  
      在url中产生 默认的includeParams ?z "fp$  
+1`Zu$|  
qJ\tc\  
struts.velocity.configfile g(9\r  
      The Velocity configuration file path kB`t_`7f  
      velocity配置文件路径 P[|FK(l  
^g[,}t:/d  
struts.velocity.contexts / /ty] j  
      List of Velocity context names ~[E@P1  
      velocity的context列表 ;a]Lxx;-  
}digw(  
.Fdqn?c|+  
struts.velocity.manager.classname Q"2t :  
      org.apache.struts2.views.velocity.VelocityManager implementation class GoVB1)  
      org.apache.struts2.views.velocity.VelocityManager接口名 G'*_7HD  
WGxe3(d  
struts.velocity.toolboxlocation [8T  
      The location of the Velocity toolbox fa~u<m   
      velocity工具盒的位置 d~ lB4  
struts.xslt.nocache BC/oh+FW3  
      Whether or not XSLT templates should not be cached %FN3/iM  
      是否XSLT模版应该被缓存 t6zc$0-j "  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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