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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Ko>pwhR}  
h+t{z"Ic=  
struts.action.extension I$9 t^82j  
      The URL extension to use to determine if the request is meant for a Struts action 5~aSkg,MD  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 oPo<F5M]d%  
\iSaxwU_  
struts.configuration ]\ sBl  
      The org.apache.struts2.config.Configuration implementation class FUvZMA$  
        org.apache.struts2.config.Configuration接口名 `fY~Lv{4d_  
psgXJe$  
struts.configuration.files 6@ ToPbj4  
      A list of configuration files automatically loaded by Struts 1i$9x$4~E  
      struts自动加载的一个配置文件列表 na(@`(j[  
bn~=d@'  
struts.configuration.xml.reload v&xk?F?WU,  
      Whether to reload the XML configuration or not X<#Q~"  
      是否加载xml配置(true,false) z<sf}6q  
2Z\6xb|u  
struts.continuations.package aOyAP-m,  
      The package containing actions that use Rife continuations 2\CFt;fk  
      含有actions的完整连续的package名称 J0C,K U(  
8`U5/!6fu  
struts.custom.i18n.resources `GqS.O}C  
      Location of additional localization properties files to load Do=*bZ;A  
      加载附加的国际化属性文件(不包含.properties后缀) k .KN9=o  
 H.'MQ  
struts.custom.properties aVM@^n  
      Location of additional configuration properties files to load K /g\x0  
      加载附加的配置文件的位置 ,*@m<{DX)  
kJZBQ<^  
HZkC3$  
struts.devMode Ac^}wXp  
      Whether Struts is in development mode or not _F;(#D  
      是否为struts开发模式 FC.y%P,  
l`[*b_ Xt  
struts.dispatcher.parametersWorkaround B&O931E7  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic UStZ3A'  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) PfF7*}P  
UyEyk$6SU  
struts.enable.DynamicMethodInvocation N6Vn/7I5%  
      Allows one to disable dynamic method invocation from the URL 6AUXYbK,  
        允许动态方法调用 XB50>??NE  
}f;Zx)!  
struts.freemarker.manager.classname esLPJx  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class kzbgy)PK3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 q/XZb@rt  
Pi40w+/  
struts.i18n.encoding [JO'ta  
      The encoding to use for localization messages {h7*a=  
      国际化信息内码 t(\d;ybyx  
x5c pv  
struts.i18n.reload ])7t!<  
      Whether the localization messages should automatically be reloaded [`6|~E"F  
      是否国际化信息自动加载 k8GcHqNHx  
:@`Ll;G  
struts.locale j_o6+R k  
      The default locale for the Struts application 0^? 3hK  
      默认的国际化地区信息 '<^%> R2  
\T/~" w  
struts.mapper.class Q*^zphT  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class A@?2qX^4  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 0>)('Kv  
;B:'8$j$  
struts.multipart.maxSize kC!7<%(  
      The maximize size of a multipart request (file upload) B+`m  
      multipart请求信息的最大尺寸(文件上传用) KNic$:i  
]$EKowi  
struts.multipart.parser 38>8{Ma  
      The org.apache.struts2.dispatcher.multipart. f]h99T  
      MultiPartRequest parser implementation for a multipart request (file upload) CTD{!I(  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) I'`Q_5s5  
d-#MRl$rtK  
*QG>U[  
struts.multipart.saveDir cW/RH.N  
      The directory to use for storing uploaded files 71z$a  
      设置存储上传文件的目录夹 zEl@jK,{$  
"c\ZUx_i6  
struts.objectFactory !BIq>pO%Ui  
      The com.opensymphony.xwork2.ObjectFactory implementation class v< xe(dC  
      com.opensymphony.xwork2.ObjectFactory接口(spring) j;=+5PY  
E@}t1!E<  
struts.objectFactory.spring.autoWire S@k4k^Vg  
      Whether Spring should autoWire or not D`o* OlU  
      是否自动绑定Spring WID4{>G2  
N*|Mfpf  
struts.objectFactory.spring.useClassCache JrQd7  
      Whether Spring should use its class cache or not !}9k @=[  
      是否spring应该使用自身的cache I%h9V([  
l-Xxur5M'  
struts.objectTypeDeterminer `jSxq66L p  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class pa~.[cBI  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 B+ud-M0  
JY(_}AAu  
struts.serve.static.browserCache $*Njvr7  
If static content served by the Struts filter should set browser caching header properties or not DDwH9*  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 |dsd5Vdr  
5sao+dZ"|  
struts.serve.static od"Oq?~/t  
      Whether the Struts filter should serve static content or not /VgA}[%y  
      是否struts过滤器应该提供静态内容 Sy6Y3 ~7  
5)wz`OS  
struts.tag.altSyntax razVO]]E  
      Whether to use the alterative syntax for the tags or not ?dl7!I@<E<  
      是否可以用替代的语法替代tags iN %kF'&9  
~gNa<tg"1  
struts.ui.templateDir )V*Z|,#no  
      The directory containing UI templates  5%mc|  
      UI templates的目录夹  O3bo3Cm$  
c_s=>z  
struts.ui.theme uCB7(<  
      The default UI template theme ^%@(> :)0  
      默认的UI template主题 $VvL  
9fp1*d  
struts.url.http.port ryy".'v  
      The HTTP port used by Struts URLs ArDkJ`DE  
      设置http端口 6+b!|`?l+  
t|0Zpp;  
struts.url.https.port _Y4%Fv>@  
      The HTTPS port used by Struts URLs P3jDx{F  
      设置https端口 x{`>Il  
`PXSQf  
struts.url.includeParams K9\`Wu_qL  
      The default includeParams method to generate Struts URLs ]x8 ^s  
      在url中产生 默认的includeParams EtjN :p|$  
H4ml0SS^  
_w/w~;7  
struts.velocity.configfile ijOUv6=-  
      The Velocity configuration file path ma)Y@Uw M  
      velocity配置文件路径 Q|q.~x<RQ  
I,OEor6%R(  
struts.velocity.contexts h[b;_>7  
      List of Velocity context names O~N0JK_>  
      velocity的context列表 MKq:=^w  
7dhip  
PJA%aRP,:  
struts.velocity.manager.classname qn}4PVn4  
      org.apache.struts2.views.velocity.VelocityManager implementation class |_@ '_  
      org.apache.struts2.views.velocity.VelocityManager接口名 #]>Z4=]v  
Tp2`eY5  
struts.velocity.toolboxlocation '!>LF1W=  
      The location of the Velocity toolbox 2fM*6CaS  
      velocity工具盒的位置 GLrHb3@"N  
struts.xslt.nocache bx`s;r=  
      Whether or not XSLT templates should not be cached tn&~~G~#  
      是否XSLT模版应该被缓存 8x#SpDI  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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