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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 mhy='AQJ  
!#=3>\np+X  
struts.action.extension eze%RjO}  
      The URL extension to use to determine if the request is meant for a Struts action !F.h+&^D;  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 PcqS#!t  
eTuKu(0 E  
struts.configuration [FLR&=.(  
      The org.apache.struts2.config.Configuration implementation class I Zw  
        org.apache.struts2.config.Configuration接口名 :q?#$?  
e .~11bx  
struts.configuration.files ncMzHw  
      A list of configuration files automatically loaded by Struts &} { #g  
      struts自动加载的一个配置文件列表 um}q@BU  
&BRa5`  
struts.configuration.xml.reload iaLZ|\`3a  
      Whether to reload the XML configuration or not PjH'5Y  
      是否加载xml配置(true,false) Wky9w r:g  
-$DfnAh  
struts.continuations.package v; R2,`[W  
      The package containing actions that use Rife continuations xiDgQTDz  
      含有actions的完整连续的package名称 8;r#HtFM  
*0to,$ n  
struts.custom.i18n.resources _{-[1-lN5_  
      Location of additional localization properties files to load dDIR~ !T  
      加载附加的国际化属性文件(不包含.properties后缀) ]!&$&t8.  
Y~e)3e  
struts.custom.properties n,2   
      Location of additional configuration properties files to load =^i K^)  
      加载附加的配置文件的位置 *3r s+0  
ft$RF  
-%@ah:iJ  
struts.devMode 5doi4b>]!  
      Whether Struts is in development mode or not lo(C3o'  
      是否为struts开发模式 wjD<"p;P  
8|)^m[c&  
struts.dispatcher.parametersWorkaround @XXPJq;J  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic WgqSw%:$H  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) gWzslgO6  
RB4 +"QUh  
struts.enable.DynamicMethodInvocation h<TZJCt  
      Allows one to disable dynamic method invocation from the URL QS5t~rb  
        允许动态方法调用 E6Z kO/  
+{RTz)e?*  
struts.freemarker.manager.classname 23WrJM!2N  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \~"Ub"~I  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 }\Rmwm-  
"~^0  
struts.i18n.encoding ir/uHN@  
      The encoding to use for localization messages `Z8k#z'bN  
      国际化信息内码 <|jh3Hlp  
<r.QS[:h  
struts.i18n.reload )*>wa%[-q  
      Whether the localization messages should automatically be reloaded cw{TS  
      是否国际化信息自动加载 y<E]; ub  
0o"aSCq8t  
struts.locale #79[Qtkrhm  
      The default locale for the Struts application &29jg_'W  
      默认的国际化地区信息 | @$I<  
L*tfY onq  
struts.mapper.class w2'q9pB+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bXOKC  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 dpw-a4o}  
; Byt'S  
struts.multipart.maxSize fg3Jv*  
      The maximize size of a multipart request (file upload) c|;n)as9(%  
      multipart请求信息的最大尺寸(文件上传用) oV0T   
9K/EteS  
struts.multipart.parser V<J1.8H  
      The org.apache.struts2.dispatcher.multipart. [I3Nu8  
      MultiPartRequest parser implementation for a multipart request (file upload) 5dI=;L >D  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) J\Pb/9M/  
xdgAu  
<Q\KS  
struts.multipart.saveDir 2&>t,;v@  
      The directory to use for storing uploaded files 4,z|hY_*t  
      设置存储上传文件的目录夹 YE~IO5   
2cH RiRT  
struts.objectFactory gTXpaB<  
      The com.opensymphony.xwork2.ObjectFactory implementation class rB$~,q&.V  
      com.opensymphony.xwork2.ObjectFactory接口(spring) j2<+[h-  
Z K+F<}  
struts.objectFactory.spring.autoWire .R)P |@z L  
      Whether Spring should autoWire or not uC^)#Y\"  
      是否自动绑定Spring Cl<!S`  
P:4"~ ]}  
struts.objectFactory.spring.useClassCache M7cD!s@'I  
      Whether Spring should use its class cache or not 8qg%>ZU4d  
      是否spring应该使用自身的cache Sb/?<$>  
Sv{n?BYq  
struts.objectTypeDeterminer peO@ZKmM  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class :5,~CtF5 `  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 `\62 iUN  
qBX_v5pvVA  
struts.serve.static.browserCache dX cbS<  
If static content served by the Struts filter should set browser caching header properties or not 6/mz., g2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 J W@6m  
fq6Obh=A#  
struts.serve.static KtL?,zi  
      Whether the Struts filter should serve static content or not gGL}FNH  
      是否struts过滤器应该提供静态内容 Ne1Oz}  
W_ `]7RO8  
struts.tag.altSyntax /)sP, 2/  
      Whether to use the alterative syntax for the tags or not rM,e$  
      是否可以用替代的语法替代tags ,s#~00C|  
&/]en|f"  
struts.ui.templateDir vS>'LX  
      The directory containing UI templates 4@@Sh`E:  
      UI templates的目录夹 Vb`Vp(>AU  
J 7R(X  
struts.ui.theme $lJcC |*  
      The default UI template theme I]v2-rB&-  
      默认的UI template主题 (yq e 4  
ZyUcL_   
struts.url.http.port !HDb{f  
      The HTTP port used by Struts URLs YQ G<Q  
      设置http端口 OX]$Xdb2:  
_M%S  
struts.url.https.port FtIcA"^N  
      The HTTPS port used by Struts URLs LUMbRrD-  
      设置https端口 )OV0YfO   
[! $N Tt_  
struts.url.includeParams iH }-  
      The default includeParams method to generate Struts URLs Xkhd"Axi  
      在url中产生 默认的includeParams *=!e,  
.P)lQk\  
x950,`zy  
struts.velocity.configfile 1RYrUg"s"  
      The Velocity configuration file path kWXLncE  
      velocity配置文件路径 Kd5'2"DI  
wc;n= %  
struts.velocity.contexts v.-DXQq  
      List of Velocity context names >>P5 4|&  
      velocity的context列表 ~V8z%s@  
aZ4EcQ@-$]  
d2`g,~d  
struts.velocity.manager.classname P"_/P8  
      org.apache.struts2.views.velocity.VelocityManager implementation class 'ztOl`I5V  
      org.apache.struts2.views.velocity.VelocityManager接口名 V%oZT>T3  
(SBhU:^h  
struts.velocity.toolboxlocation 90<g=B  
      The location of the Velocity toolbox {-\U)&6#v  
      velocity工具盒的位置 Q M0B6F  
struts.xslt.nocache t>\sP   
      Whether or not XSLT templates should not be cached a_>|Ny6{  
      是否XSLT模版应该被缓存 Y~I<Locv  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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