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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 "6U0 !.ro@  
fG \" p  
struts.action.extension x6cG'3&T  
      The URL extension to use to determine if the request is meant for a Struts action mP)bOAU  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 zyPb\/  
Wl| i$L)7  
struts.configuration w%L4O;E]*{  
      The org.apache.struts2.config.Configuration implementation class f I1CT)0<e  
        org.apache.struts2.config.Configuration接口名 A7L;ims7  
[4"(\r\f  
struts.configuration.files \uZpAV)5  
      A list of configuration files automatically loaded by Struts $0V+<  
      struts自动加载的一个配置文件列表 Uu7]`Ul  
RP~nLh3=\  
struts.configuration.xml.reload t|U5]$5  
      Whether to reload the XML configuration or not u`v&URM  
      是否加载xml配置(true,false) By1T um+I1  
c7CYulm  
struts.continuations.package .gO|=E"  
      The package containing actions that use Rife continuations J!Z6$VERy  
      含有actions的完整连续的package名称 F_079~bJ  
=z. hJu  
struts.custom.i18n.resources aE0R{yupZ  
      Location of additional localization properties files to load ?o(284sV3  
      加载附加的国际化属性文件(不包含.properties后缀) LATizu  
"`M~=RiI  
struts.custom.properties Zh8\B)0unn  
      Location of additional configuration properties files to load H9WYt#  
      加载附加的配置文件的位置 P0 0G*iY~\  
:Wbp|:N0  
k| OM?\  
struts.devMode Do4hg $:40  
      Whether Struts is in development mode or not kn:hxdZ  
      是否为struts开发模式 NfDS6i.Fqp  
Zj[m  
struts.dispatcher.parametersWorkaround 2/3yW.C  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic >/-H!jUF]  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) A;8kC}  
jU-LT8y:  
struts.enable.DynamicMethodInvocation 3I 0pHP5  
      Allows one to disable dynamic method invocation from the URL +.Vh<:?  
        允许动态方法调用 <y7{bk~i  
db 99S   
struts.freemarker.manager.classname >_j(uw?u  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class x<I[?GT=  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 3$"V,_TBZ  
G$,s.MSf  
struts.i18n.encoding }[leUYi`  
      The encoding to use for localization messages {XU!p: x  
      国际化信息内码 l2;$qNAo  
k (AE%eA  
struts.i18n.reload N[eL Qe]q  
      Whether the localization messages should automatically be reloaded k -G9'c~  
      是否国际化信息自动加载 /T6bc^nOW  
L9)gN.#  
struts.locale $6m@gW]N  
      The default locale for the Struts application "6C a{n1hk  
      默认的国际化地区信息 q:kGJ xfaW  
5& %M L  
struts.mapper.class d5-Q}D,P  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class PxYK)n9&  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 h GA2.{  
G^{~'TZv%  
struts.multipart.maxSize "d<uc j  
      The maximize size of a multipart request (file upload) 6"iNh)  
      multipart请求信息的最大尺寸(文件上传用) #pZeGI|'J  
l^I? @{W  
struts.multipart.parser ~Bl,_?CBr  
      The org.apache.struts2.dispatcher.multipart. d>u^ 7:  
      MultiPartRequest parser implementation for a multipart request (file upload) mh4 VQ9  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用)  dF `7]  
,q%X`F rc  
qGq]E `O  
struts.multipart.saveDir rOOo42Y W`  
      The directory to use for storing uploaded files ]]y>d!  
      设置存储上传文件的目录夹 1tTP;C l#  
`XF[A8@h  
struts.objectFactory 0`zdj  
      The com.opensymphony.xwork2.ObjectFactory implementation class oi`L ;w|]  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,R=!ts[qi  
-W6@[5c  
struts.objectFactory.spring.autoWire sDs.da#*2  
      Whether Spring should autoWire or not Sm[#L`eqW  
      是否自动绑定Spring O-[YU%K3?  
F3V:B.C  
struts.objectFactory.spring.useClassCache  }c||$  
      Whether Spring should use its class cache or not n',7=~  
      是否spring应该使用自身的cache wmV=GV8 d  
41/civX>V  
struts.objectTypeDeterminer @F8NN\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Q1Qw45$  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 (,sz.  
vE`;1UA}  
struts.serve.static.browserCache cFie;k  
If static content served by the Struts filter should set browser caching header properties or not a1_ N~4r`  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 N5l`Rq^K  
ax5n}  
struts.serve.static @[joM*U  
      Whether the Struts filter should serve static content or not rmBzLZ}  
      是否struts过滤器应该提供静态内容 47Vt8oyh%  
#IGcQY  
struts.tag.altSyntax M &-p  
      Whether to use the alterative syntax for the tags or not G8]{pbX  
      是否可以用替代的语法替代tags !^Ay !  
t ^>07#z  
struts.ui.templateDir u gRyUny  
      The directory containing UI templates Q~"Lyy8  
      UI templates的目录夹 -N/n|{+F  
DNj<:Pdd)  
struts.ui.theme +)h# !/  
      The default UI template theme zEQQ4)mA  
      默认的UI template主题 xBc$qjV  
N6kMl  
struts.url.http.port O<wH+k[  
      The HTTP port used by Struts URLs ~i?Jg/qcxN  
      设置http端口 ~tTa[_a!  
Q(x=;wf5r  
struts.url.https.port ;~ Xjk  
      The HTTPS port used by Struts URLs [qxpu{  
      设置https端口 _[8JSw7  
>9XG+f66E  
struts.url.includeParams Tq* <J~-  
      The default includeParams method to generate Struts URLs pqvl,G5  
      在url中产生 默认的includeParams (=rDt93J  
E\Wd*,/v)  
_`C|K>:  
struts.velocity.configfile us5Zi#}  
      The Velocity configuration file path K HNU=k  
      velocity配置文件路径 rp @%0/[  
)s7EhIP  
struts.velocity.contexts &Odrq#o?R  
      List of Velocity context names xP9R d/xa|  
      velocity的context列表 IecD41%  
P{s1NorKDh  
PRYm1Y  
struts.velocity.manager.classname Gyy4)dP  
      org.apache.struts2.views.velocity.VelocityManager implementation class  S\ZCZ0  
      org.apache.struts2.views.velocity.VelocityManager接口名 RKMF?:  
ve a$G~[%6  
struts.velocity.toolboxlocation ,]qc#KDq-1  
      The location of the Velocity toolbox ?l[#d7IB  
      velocity工具盒的位置 )jwovS?V  
struts.xslt.nocache f7 ew<c\  
      Whether or not XSLT templates should not be cached 'M?pg$ta_V  
      是否XSLT模版应该被缓存 ]ml'd  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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