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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 9][Mw[k>  
8f^URN<x  
struts.action.extension M#S8x@U  
      The URL extension to use to determine if the request is meant for a Struts action pI(FUoP^  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 >jl"Yr#  
a^[io1}-  
struts.configuration \<lV),  
      The org.apache.struts2.config.Configuration implementation class @{I55EQ]  
        org.apache.struts2.config.Configuration接口名 Q k-y 0  
$6!`  
struts.configuration.files ::H jpM  
      A list of configuration files automatically loaded by Struts @T/C<-/:  
      struts自动加载的一个配置文件列表 GU&XK7L  
(!X:[Ah*$  
struts.configuration.xml.reload u6r-{[W}  
      Whether to reload the XML configuration or not fY%Sw7ql<  
      是否加载xml配置(true,false) }T,E$vsx  
D4#,9?us  
struts.continuations.package &KR@2~vE  
      The package containing actions that use Rife continuations @D"|Jq=6P  
      含有actions的完整连续的package名称 "6KOql3  
Cc Ni8Wg_  
struts.custom.i18n.resources PY z | d  
      Location of additional localization properties files to load $Uewv +  
      加载附加的国际化属性文件(不包含.properties后缀) HwST^\Ao  
;;nmF#  
struts.custom.properties D@ =.4z  
      Location of additional configuration properties files to load [c86b  
      加载附加的配置文件的位置 bMSF-lQ  
ui 2RTAb  
>^InNJd  
struts.devMode u]dpA  
      Whether Struts is in development mode or not Z,i klB-  
      是否为struts开发模式 Ds}6{']K  
Wnf`Rf)1z  
struts.dispatcher.parametersWorkaround |=%$7b\C  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic _4E+7+  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) t&r?O dc&m  
|um)vlN;9  
struts.enable.DynamicMethodInvocation vN4X%^:(  
      Allows one to disable dynamic method invocation from the URL fs)O7x-B(  
        允许动态方法调用 9(X *[X#  
n<hwstk  
struts.freemarker.manager.classname Ue,"CQ6H  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ! h4So4p  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ^Ws~h\{%  
0]HK (,/h  
struts.i18n.encoding :sA-$*&x  
      The encoding to use for localization messages sg6cq_\  
      国际化信息内码 ,RT\&Ze5  
5<a<!]|C  
struts.i18n.reload IB;y8e,  
      Whether the localization messages should automatically be reloaded A(s/Nz>  
      是否国际化信息自动加载 g:,4Kd|  
`7 B [<  
struts.locale wy -!1wd  
      The default locale for the Struts application El+]}D"  
      默认的国际化地区信息 wK\SeX  
3QR-8  
struts.mapper.class >XZq=q]E!  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5N|77AAxK  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 ]B7t9l  
g)p[A 4  
struts.multipart.maxSize %##9.Xm6l  
      The maximize size of a multipart request (file upload) 1^W Aps  
      multipart请求信息的最大尺寸(文件上传用) Hd2_Cg FB  
s~63JDy"E  
struts.multipart.parser S7SPc   
      The org.apache.struts2.dispatcher.multipart. (6A{6_p  
      MultiPartRequest parser implementation for a multipart request (file upload) rpXw 8  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) QB@*/Le   
ome>Jbdhe  
[X=eCHB?  
struts.multipart.saveDir X0P$r6 ;  
      The directory to use for storing uploaded files PCIC*!{  
      设置存储上传文件的目录夹 ^a}{u$<  
v0xi(Wu  
struts.objectFactory TX+t   
      The com.opensymphony.xwork2.ObjectFactory implementation class #UI`G3w<  
      com.opensymphony.xwork2.ObjectFactory接口(spring) }}xR?+4A  
-OW$  
struts.objectFactory.spring.autoWire oz0-'_  
      Whether Spring should autoWire or not :m~lgb<  
      是否自动绑定Spring Fwqv 1+  
_j2`#|oG  
struts.objectFactory.spring.useClassCache n&Tv]-  
      Whether Spring should use its class cache or not .ev]tu2N  
      是否spring应该使用自身的cache [{c8:)ar  
[a Z)*L ;  
struts.objectTypeDeterminer M1>a,va8Zq  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class D2mB4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 @6tx5D?  
JH5])i0  
struts.serve.static.browserCache i@;a%$5  
If static content served by the Struts filter should set browser caching header properties or not D"WkD j"M  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 v|'N|k l  
{38aaf|'/  
struts.serve.static .5z|g@ 6  
      Whether the Struts filter should serve static content or not qqAsh]Z  
      是否struts过滤器应该提供静态内容 !3&}r  
ynd}w G'  
struts.tag.altSyntax oy'+n-  
      Whether to use the alterative syntax for the tags or not YS~x-5OE\  
      是否可以用替代的语法替代tags x~z 2l#ow  
b$ eJH  
struts.ui.templateDir $k?L?R1  
      The directory containing UI templates >*(>%E~H  
      UI templates的目录夹 M]{!Nx  
sd6Wmmo  
struts.ui.theme iUKj:q:  
      The default UI template theme YsDl2P  
      默认的UI template主题 E}GSii%S  
/6fPC;l  
struts.url.http.port CNz[@6-cYU  
      The HTTP port used by Struts URLs ;wF|.^_2  
      设置http端口 yUG5'<lX  
:tgTYIF  
struts.url.https.port D0P% .r"v  
      The HTTPS port used by Struts URLs 9%wppNT/  
      设置https端口 ",+uvJT1O  
93dotuF  
struts.url.includeParams S .jjB  
      The default includeParams method to generate Struts URLs @W,Y_8:  
      在url中产生 默认的includeParams IY:O?M  
;0 *^98K  
P&YaJUq.u  
struts.velocity.configfile Y^G3<.B  
      The Velocity configuration file path IO'Q}bU4vs  
      velocity配置文件路径 {?iqO?  
:}z% N7T  
struts.velocity.contexts yKI.TR#  
      List of Velocity context names P:TpB6.=q  
      velocity的context列表 qw/{o:ce]  
1L|(:m+  
? `KOW  
struts.velocity.manager.classname w;(gi  
      org.apache.struts2.views.velocity.VelocityManager implementation class mI0r,Z*+M  
      org.apache.struts2.views.velocity.VelocityManager接口名 Dfo9jYPf  
8G P}g?%  
struts.velocity.toolboxlocation (D{}1sZBQ  
      The location of the Velocity toolbox #.)>geLC>9  
      velocity工具盒的位置 l.juys8s  
struts.xslt.nocache cn0Fz"d  
      Whether or not XSLT templates should not be cached "m3Y))a  
      是否XSLT模版应该被缓存 r;C\eN  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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