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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 p B*8D  
pxy=edd  
struts.action.extension JG\T2/b  
      The URL extension to use to determine if the request is meant for a Struts action zg L0v5vk  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 {=};<;_F  
E:'TZ4Z  
struts.configuration /qM:;:N%j  
      The org.apache.struts2.config.Configuration implementation class KKB&)R  
        org.apache.struts2.config.Configuration接口名 *S,5  
{/d<Jm:  
struts.configuration.files pm`BMy<5PU  
      A list of configuration files automatically loaded by Struts Qa-]IKOs  
      struts自动加载的一个配置文件列表 ^'9:n\SKQ  
k@vN_Un  
struts.configuration.xml.reload TN!8J=sx.  
      Whether to reload the XML configuration or not ,rkY1w-  
      是否加载xml配置(true,false) O1!hSu&  
[\+"<;m$  
struts.continuations.package GIG\bQSv2  
      The package containing actions that use Rife continuations i8t%v  
      含有actions的完整连续的package名称 0*G =~:  
6?GR+;/  
struts.custom.i18n.resources [HNWM/ff7+  
      Location of additional localization properties files to load Xo^P=uf%  
      加载附加的国际化属性文件(不包含.properties后缀)  @Tk5<B3  
<=D !/7$ O  
struts.custom.properties ixc~DV+@[  
      Location of additional configuration properties files to load MtWzGE=?  
      加载附加的配置文件的位置 R <Mvwu  
B q/<kEgM  
za$v I?ux  
struts.devMode _ zM/>Qa  
      Whether Struts is in development mode or not {-?^j{O0.  
      是否为struts开发模式 -CePtq`  
Fb8~2N"3  
struts.dispatcher.parametersWorkaround wNQhz.>y  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ,n )f=q*%  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) m+&) eQ:  
~\HGV+S!g}  
struts.enable.DynamicMethodInvocation $6 46"1S  
      Allows one to disable dynamic method invocation from the URL nKxu8YAJe  
        允许动态方法调用 l@:|OGD;8  
9Q)9*nHe  
struts.freemarker.manager.classname !Miw.UmPm  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Y'n+,g  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ICq  
vq(ElXTO  
struts.i18n.encoding /XEt2,sI9  
      The encoding to use for localization messages p@`]9tLP(K  
      国际化信息内码 Zw4z`x1f  
~\ uI&S5  
struts.i18n.reload S: b-+w|*  
      Whether the localization messages should automatically be reloaded ]dvNUD   
      是否国际化信息自动加载 b{X,0a{*  
6yU#;|6d  
struts.locale mQ~0cwo)  
      The default locale for the Struts application v>S[} du  
      默认的国际化地区信息 *SP@`)\D  
6d%V=1^F  
struts.mapper.class Eu;f~ V  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class _d<xxF^q  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 O4Z_v%2M  
Cf&.hod  
struts.multipart.maxSize v2ab  
      The maximize size of a multipart request (file upload) QY)hMo=|o8  
      multipart请求信息的最大尺寸(文件上传用) Wycood*  
PRTn~!Z0  
struts.multipart.parser #H8% BZyV  
      The org.apache.struts2.dispatcher.multipart. >s*ZT%TF  
      MultiPartRequest parser implementation for a multipart request (file upload) ! J7ExfEA  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 5}v<?<l9\  
.A6i?iROe  
fm u;Pb]r  
struts.multipart.saveDir VDnN2)Km*  
      The directory to use for storing uploaded files wgETL|3-  
      设置存储上传文件的目录夹 "~:AsZ"7  
o=%pR|  
struts.objectFactory uC2-T5n'  
      The com.opensymphony.xwork2.ObjectFactory implementation class O%hmGW4  
      com.opensymphony.xwork2.ObjectFactory接口(spring) Qf=+%-$Y  
9?xD"Z   
struts.objectFactory.spring.autoWire |:[ [w&R  
      Whether Spring should autoWire or not B:?MMXB  
      是否自动绑定Spring u[Ij4h.  
)c; YR}tC  
struts.objectFactory.spring.useClassCache }hoyjzv]L  
      Whether Spring should use its class cache or not PjxZ3O  
      是否spring应该使用自身的cache s2 8t'  
&-e@Et`Pg  
struts.objectTypeDeterminer B_ x?s  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class V DN@=/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 Gt|m;o  
OQ=0>;>  
struts.serve.static.browserCache 8k.<xWDU  
If static content served by the Struts filter should set browser caching header properties or not _{k-&I  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 &xgKHbg  
kiP-^Wan  
struts.serve.static *PF}L%K(?  
      Whether the Struts filter should serve static content or not _Qh :*j!  
      是否struts过滤器应该提供静态内容 D# Gf.c  
iCZuE:I1K,  
struts.tag.altSyntax PKxI09B  
      Whether to use the alterative syntax for the tags or not O5v)}4  
      是否可以用替代的语法替代tags ' 5F3,/r  
KFuP gp  
struts.ui.templateDir O3*}L2 j@  
      The directory containing UI templates vAV{HBQ*  
      UI templates的目录夹 9$~a&lXO5  
C2a2K={  
struts.ui.theme Fk4T>8q2;  
      The default UI template theme WL#E%6p[  
      默认的UI template主题 g##yR/L  
QT<\E`v  
struts.url.http.port f6$$e+  
      The HTTP port used by Struts URLs 3_ P<0%  
      设置http端口 Yvn*evO4  
R?Ou=p .  
struts.url.https.port jl)7Jd  
      The HTTPS port used by Struts URLs =^5,ua6  
      设置https端口 ag* 5fBF  
Y<WA-dYoF  
struts.url.includeParams >;NiG)Z  
      The default includeParams method to generate Struts URLs @ =XJ<  
      在url中产生 默认的includeParams E&_q"jJRi  
?cvV~&$gc  
K'@lXA:  
struts.velocity.configfile hN"cXz"/  
      The Velocity configuration file path *K'_"2J  
      velocity配置文件路径 L8{4>,  
.Xcf *$.;s  
struts.velocity.contexts FPC^-mD  
      List of Velocity context names 4))5l9kc.  
      velocity的context列表 *U}cj A:ZN  
QNcbl8@  
`z!6zo2d  
struts.velocity.manager.classname tso\bxiU  
      org.apache.struts2.views.velocity.VelocityManager implementation class /h v2=A  
      org.apache.struts2.views.velocity.VelocityManager接口名 .[Nr2w:>  
O,_k.EH  
struts.velocity.toolboxlocation .Z9{\tj  
      The location of the Velocity toolbox 0Z&ua  
      velocity工具盒的位置 j0.E!8Ae{  
struts.xslt.nocache 2E$K='H:,  
      Whether or not XSLT templates should not be cached v1aE[Q  
      是否XSLT模版应该被缓存 b+tm[@|,v  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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