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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ?zf3Fn2y  
gYc]z5`  
struts.action.extension 8'8`xu$  
      The URL extension to use to determine if the request is meant for a Struts action bHe' U>  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 nm,LKS7  
I'BhN#GhX  
struts.configuration S-7&$n  
      The org.apache.struts2.config.Configuration implementation class _NsEeKU  
        org.apache.struts2.config.Configuration接口名 K8sRan[4}  
~I@ls Ch  
struts.configuration.files W-n4w Ij"  
      A list of configuration files automatically loaded by Struts fx{8ERo  
      struts自动加载的一个配置文件列表 k~"E h]38  
*(F`NJ 3  
struts.configuration.xml.reload WYUDD_m  
      Whether to reload the XML configuration or not mOsp~|d  
      是否加载xml配置(true,false) =Nxkr0])!  
WQ.0}n}d  
struts.continuations.package 1*TbgxS~W  
      The package containing actions that use Rife continuations WK>|IgK  
      含有actions的完整连续的package名称 L>h8>JvQ  
nTEN&8Y>R  
struts.custom.i18n.resources Gs,:$Im  
      Location of additional localization properties files to load -V|"T+U  
      加载附加的国际化属性文件(不包含.properties后缀) %'=*utOxy  
zXn-E  
struts.custom.properties PC#^L$cg}  
      Location of additional configuration properties files to load #_wq#rF  
      加载附加的配置文件的位置 :pqUUZ6x&  
,KW Q 6  
9qB0F_xl  
struts.devMode q*l4h u%3  
      Whether Struts is in development mode or not tg/UtE`V  
      是否为struts开发模式 ZNX38<3h  
%M@K(Qu  
struts.dispatcher.parametersWorkaround U%nkPIFm  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic l}))vf=i  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 27e!KG[&  
YB5"i9T2  
struts.enable.DynamicMethodInvocation g"evnp  
      Allows one to disable dynamic method invocation from the URL -)`_w^Ox  
        允许动态方法调用 5QMra5Nk  
%L+q:naZe  
struts.freemarker.manager.classname L=4+rshl!_  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class !mmMAsd,  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 }'$PYAf6  
_fHml   
struts.i18n.encoding lT^su'+bk  
      The encoding to use for localization messages  8s0+6{vW  
      国际化信息内码 MEiP&=gX!  
Xo34~V@(  
struts.i18n.reload |`5 IP8Z  
      Whether the localization messages should automatically be reloaded ]dpL PR  
      是否国际化信息自动加载 ;Y?MbD  
>.iF,[.[F<  
struts.locale a[-!X7,IU  
      The default locale for the Struts application 69g{oo  
      默认的国际化地区信息 `t~jHe4!Y  
!*N9PUM  
struts.mapper.class <1D|TrP  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ]%' AZ`8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Qd[_W^QI  
BNu >/zGpB  
struts.multipart.maxSize 0ns\:2)cEB  
      The maximize size of a multipart request (file upload) }Y~Dk]*  
      multipart请求信息的最大尺寸(文件上传用) Lnr9*dm6q  
!@ ^6/=  
struts.multipart.parser J7`mEL>?  
      The org.apache.struts2.dispatcher.multipart. +xFn~b/  
      MultiPartRequest parser implementation for a multipart request (file upload) *; o%*:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6p9fq3~7Y  
HEF e?  
g'(bk@<BP  
struts.multipart.saveDir fE-R(9K  
      The directory to use for storing uploaded files 6_Fr\H  
      设置存储上传文件的目录夹 P8tdT3*6/  
: uncOd.  
struts.objectFactory m9 h '!X<  
      The com.opensymphony.xwork2.ObjectFactory implementation class VfX^iG r  
      com.opensymphony.xwork2.ObjectFactory接口(spring) $ Habhw  
jx: IK  
struts.objectFactory.spring.autoWire w&p+mJL.  
      Whether Spring should autoWire or not 3 jZMXEG)  
      是否自动绑定Spring 4b8G 1fm  
9L=mS  
struts.objectFactory.spring.useClassCache 7*!7EBb  
      Whether Spring should use its class cache or not 95l)s],  
      是否spring应该使用自身的cache u\]EG{w(  
! _S#8"  
struts.objectTypeDeterminer ~||0lj.D  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 6hxZ5&;(*  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 a+w2cN'  
QNj]wm=mp  
struts.serve.static.browserCache {M]_]L{&7  
If static content served by the Struts filter should set browser caching header properties or not D}_.D=)  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 5R7x%3@L  
v@ _1V  
struts.serve.static uoS:-v}/Y~  
      Whether the Struts filter should serve static content or not G{U#9   
      是否struts过滤器应该提供静态内容 IiU> VLa  
XB)D".\  
struts.tag.altSyntax $|N6I  
      Whether to use the alterative syntax for the tags or not {213/@,  
      是否可以用替代的语法替代tags NAGM3{\5v$  
(bsx|8[  
struts.ui.templateDir |&; ^?M  
      The directory containing UI templates QL?_FwZL  
      UI templates的目录夹 z 6:Wh  
0HzqU31%l@  
struts.ui.theme AkhG~L  
      The default UI template theme 77P\:xc  
      默认的UI template主题 <J/ =$u/  
ma.84~m  
struts.url.http.port i?x gV_q;  
      The HTTP port used by Struts URLs "tJ+v*E  
      设置http端口 I |Oco?Q"  
}Q\%tZC#T  
struts.url.https.port q~ H>rC(\  
      The HTTPS port used by Struts URLs x/*lNG/  
      设置https端口 to={q CqU  
82r8K|L.<y  
struts.url.includeParams -$Oh.B`i  
      The default includeParams method to generate Struts URLs 3_(_yEKx  
      在url中产生 默认的includeParams .WSyL  
1Cr&6't  
,"v&r(  
struts.velocity.configfile K d&/9<{>  
      The Velocity configuration file path #@R0$x  
      velocity配置文件路径 8Q'Emw |  
ZT0\V ]!B  
struts.velocity.contexts NkZG   
      List of Velocity context names ]G/m,Zv*:  
      velocity的context列表 acd[rjeT  
A;oHji#*  
ci0A!wWD  
struts.velocity.manager.classname ['d9sEv.  
      org.apache.struts2.views.velocity.VelocityManager implementation class #N|\7(#~u  
      org.apache.struts2.views.velocity.VelocityManager接口名 OF-k7g7  
~tDYo)hH8  
struts.velocity.toolboxlocation aJu&h2 G  
      The location of the Velocity toolbox 7sot?gF  
      velocity工具盒的位置 jLAEHEs  
struts.xslt.nocache z0z@LA4k6@  
      Whether or not XSLT templates should not be cached Qb536RpcTY  
      是否XSLT模版应该被缓存 E&M(QX5  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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