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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 FsZM_0>/s  
*sf9(%j  
struts.action.extension ] d| -r:4  
      The URL extension to use to determine if the request is meant for a Struts action :YjOv  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 7d/wT+f  
sAk~`(:4!  
struts.configuration '.~vN L+ O  
      The org.apache.struts2.config.Configuration implementation class _5M!ec  
        org.apache.struts2.config.Configuration接口名 )?'sw5C  
,)V*xpp  
struts.configuration.files +`f gn9p  
      A list of configuration files automatically loaded by Struts S$%/9^\jF  
      struts自动加载的一个配置文件列表 6f 6_ztTL  
aGp <%d  
struts.configuration.xml.reload Hk2@X(  
      Whether to reload the XML configuration or not 0]8+rWp|Nz  
      是否加载xml配置(true,false) FVG|5'V^  
3leg,q d  
struts.continuations.package ^w2n  
      The package containing actions that use Rife continuations &.kg8|s{  
      含有actions的完整连续的package名称 t,N- |  
[k-7Kq  
struts.custom.i18n.resources y=9a2 [3Dz  
      Location of additional localization properties files to load -j3 -H&  
      加载附加的国际化属性文件(不包含.properties后缀) _KmpC>J+  
eJ{"\c(  
struts.custom.properties ~'fa,XZ<  
      Location of additional configuration properties files to load BO[Q"g$Kon  
      加载附加的配置文件的位置 X_s;j5ur  
H#U{i  
i40r}?-  
struts.devMode &:]_a?|*S  
      Whether Struts is in development mode or not ABhza|  
      是否为struts开发模式 vo Q,K9  
oBqP^uT>a|  
struts.dispatcher.parametersWorkaround 6z%3l7#7Yi  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic %n}fkj'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) { KwLcSn  
/7S]%UY  
struts.enable.DynamicMethodInvocation R$,`}@VqZ3  
      Allows one to disable dynamic method invocation from the URL nq/xD;q  
        允许动态方法调用 rA*,)I_v@  
AG}' W  
struts.freemarker.manager.classname ZM; EjS1  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class JPQ02&e  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 Xki/5roCQ|  
0 {{7"  
struts.i18n.encoding ]CC~Eo-%-  
      The encoding to use for localization messages w?M*n<) O  
      国际化信息内码 08k1 w,6W  
.E;6Xx_+r  
struts.i18n.reload od^ha  
      Whether the localization messages should automatically be reloaded QH\*l~;B\  
      是否国际化信息自动加载 ^ fK8~g;rB  
~w]1QHA'f  
struts.locale ,eUMSg~P.7  
      The default locale for the Struts application vo7 1T<K  
      默认的国际化地区信息 fil6w</L  
73}k[e7e  
struts.mapper.class /Z2*>7HM8[  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qWE"vI22M  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 S"3g 1yU^_  
k})9(Sy~  
struts.multipart.maxSize 6\0GVM\  
      The maximize size of a multipart request (file upload) {##A|{$3%  
      multipart请求信息的最大尺寸(文件上传用) |xKB><  
;;nmF#  
struts.multipart.parser D@ =.4z  
      The org.apache.struts2.dispatcher.multipart. vMRKs#&8  
      MultiPartRequest parser implementation for a multipart request (file upload) 2DV{gF  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 3'/wRKl  
) ]~HjA;  
%< j=&  
struts.multipart.saveDir kI[EG<N1k  
      The directory to use for storing uploaded files bjT0Fi0-  
      设置存储上传文件的目录夹 }_?7k0EZ@  
BMX x(W]  
struts.objectFactory &OzJ^G\o  
      The com.opensymphony.xwork2.ObjectFactory implementation class M$&>"%Oi  
      com.opensymphony.xwork2.ObjectFactory接口(spring) :cynZab  
'!1lK  
struts.objectFactory.spring.autoWire p$9N}}/c  
      Whether Spring should autoWire or not ~o # NOfYi  
      是否自动绑定Spring .{x5(bi0S  
P{>T?-Hj  
struts.objectFactory.spring.useClassCache q"5 2-42  
      Whether Spring should use its class cache or not ;=^WIC+Nr  
      是否spring应该使用自身的cache 0e7v ?UT  
x~{ m%)I  
struts.objectTypeDeterminer N@d4)  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class in+`zfUJ9  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {?L}qV  
[e^i".  
struts.serve.static.browserCache ;N1FP*  
If static content served by the Struts filter should set browser caching header properties or not k2+Z7#2n  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 }<Me%`x"  
R,^FJ  
struts.serve.static ,*lK4 ?v  
      Whether the Struts filter should serve static content or not %xk]y&jv  
      是否struts过滤器应该提供静态内容 fV5#k@,")  
15s?QSKj  
struts.tag.altSyntax F H%yyT  
      Whether to use the alterative syntax for the tags or not _%L3?PpF"  
      是否可以用替代的语法替代tags X@D3  
Bkz   
struts.ui.templateDir JGdBpj:  
      The directory containing UI templates 9a4RW}S<  
      UI templates的目录夹 92tb`'  
X|q0m3jt  
struts.ui.theme zYs? w=  
      The default UI template theme (f.A5~e  
      默认的UI template主题 jyT(LDsS  
<kM%z{p  
struts.url.http.port EwOTG Y{0p  
      The HTTP port used by Struts URLs {MEU|9@ Y  
      设置http端口 d[Fsp7U}  
'V>+G>U  
struts.url.https.port d z\b]H]  
      The HTTPS port used by Struts URLs 2'}2r ~6  
      设置https端口 =VSieh  
s3knh&'zb  
struts.url.includeParams 6/n;u{|  
      The default includeParams method to generate Struts URLs mcR!P~"i  
      在url中产生 默认的includeParams 4{Ak|  
y\)w#  
l3MH+o  
struts.velocity.configfile ?nn,RBS-  
      The Velocity configuration file path J *B`C^i  
      velocity配置文件路径 _Ey8P0-I  
bQ4 }no0  
struts.velocity.contexts a&cV@~  
      List of Velocity context names w##Fpv<m  
      velocity的context列表 So 5{E 4[  
c ~C W-%wN  
i'u;"ot=  
struts.velocity.manager.classname a3)#tt=rA  
      org.apache.struts2.views.velocity.VelocityManager implementation class qqAsh]Z  
      org.apache.struts2.views.velocity.VelocityManager接口名 !3&}r  
h}d7M55#|  
struts.velocity.toolboxlocation oy'+n-  
      The location of the Velocity toolbox YS~x-5OE\  
      velocity工具盒的位置 }v!6BU6<Q  
struts.xslt.nocache -|T^  
      Whether or not XSLT templates should not be cached Af%?WZlOq  
      是否XSLT模版应该被缓存 FP Mk&  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
10+5=?,请输入中文答案:十五