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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 1, 5"sQ$  
kLc}a5;  
struts.action.extension %eJolztKZ  
      The URL extension to use to determine if the request is meant for a Struts action ,H6*9!Dv2  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 6z;C~_BV  
<dzfD;  
struts.configuration I*,!zym  
      The org.apache.struts2.config.Configuration implementation class tBR"sBiws  
        org.apache.struts2.config.Configuration接口名 V>"nAh]}.  
hf5yTs  
struts.configuration.files 80qSPitj  
      A list of configuration files automatically loaded by Struts E=N44[`.G  
      struts自动加载的一个配置文件列表 $P<T`3Jg  
dnRS$$9#  
struts.configuration.xml.reload h#_KO-#.[  
      Whether to reload the XML configuration or not `re9-HM  
      是否加载xml配置(true,false) *Uq1 q  
0 #*M'C#  
struts.continuations.package =Xwr*FTr  
      The package containing actions that use Rife continuations l#40VHa?S  
      含有actions的完整连续的package名称 P-B3<~*i!  
;F>$\"aG  
struts.custom.i18n.resources ,'=Tf=wq  
      Location of additional localization properties files to load "ecG\}R=  
      加载附加的国际化属性文件(不包含.properties后缀) 3&H#LGoV$  
LjZvWts?  
struts.custom.properties 4sU*UePr  
      Location of additional configuration properties files to load j?!BHNs  
      加载附加的配置文件的位置 Kob i!  
I~:vX^%9  
B 4s^X`?z  
struts.devMode #jY\l&E  
      Whether Struts is in development mode or not 9  Vn  
      是否为struts开发模式 ZUDdLJ  
f~U~f}Uw4  
struts.dispatcher.parametersWorkaround AH*{Bi[vX  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic U5rcI6  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) +|Tz<\.C  
?-'m#5i"  
struts.enable.DynamicMethodInvocation /-Saz29f^Q  
      Allows one to disable dynamic method invocation from the URL FE}!I  
        允许动态方法调用 (_:k s  
9VqE:c /  
struts.freemarker.manager.classname NO(^P+s  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class %BdQ.\4DS  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 f?KHp|  
p]/qf \E  
struts.i18n.encoding U`{'-L.  
      The encoding to use for localization messages "Jd!TLt\x  
      国际化信息内码 P'EPP*)q  
>Yr-aDV  
struts.i18n.reload @UbH ;m  
      Whether the localization messages should automatically be reloaded z ^e99dz  
      是否国际化信息自动加载 `2}Frw+?  
I+qg'mo  
struts.locale :0G_n\  
      The default locale for the Struts application 977%9z<h  
      默认的国际化地区信息 +Ce[OG.  
M84{u!>[  
struts.mapper.class 1|]IWX|  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Vjv~RNGF  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Dt1v`T~=?  
nC-=CMWWr  
struts.multipart.maxSize G~$.Af!9W  
      The maximize size of a multipart request (file upload) ejr9e@D^  
      multipart请求信息的最大尺寸(文件上传用) A`|Z2  
s& INcjC  
struts.multipart.parser J[Ck z]  
      The org.apache.struts2.dispatcher.multipart. " Bz\<e&u  
      MultiPartRequest parser implementation for a multipart request (file upload) +[LG>  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) U;o$=,_p  
bn$('  
:v=^-&t  
struts.multipart.saveDir n*'i{P]  
      The directory to use for storing uploaded files ,F&TSzH[@v  
      设置存储上传文件的目录夹 O)0}yF$0  
%kS4v,I  
struts.objectFactory =r w60B  
      The com.opensymphony.xwork2.ObjectFactory implementation class E_fH,YJ?9  
      com.opensymphony.xwork2.ObjectFactory接口(spring) *=sMJY9#jE  
x,U '!F  
struts.objectFactory.spring.autoWire JbV\eE#KrC  
      Whether Spring should autoWire or not (d> M/x?W  
      是否自动绑定Spring ]lT8Z-h@  
^Y;}GeA,  
struts.objectFactory.spring.useClassCache $)HD`E  
      Whether Spring should use its class cache or not %l4;-x<e  
      是否spring应该使用自身的cache ^M:Y$9r_s  
3q$[r_   
struts.objectTypeDeterminer &.m.ruab  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class fGeDygV^`  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 y4@zi"G  
>i6sJ)2?>  
struts.serve.static.browserCache l**gM  
If static content served by the Struts filter should set browser caching header properties or not ?L%BD7  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ^{V t  
#8Bs15aV  
struts.serve.static :\!D 6\o6  
      Whether the Struts filter should serve static content or not `l#|][B)g$  
      是否struts过滤器应该提供静态内容 kp6{QKDj&  
@3^D[  
struts.tag.altSyntax @r.w+E=  
      Whether to use the alterative syntax for the tags or not n7|8`? R^  
      是否可以用替代的语法替代tags p)u?x)w=  
[~aRA'qJ{V  
struts.ui.templateDir Q)/V >QW  
      The directory containing UI templates b7^Db6qu  
      UI templates的目录夹 S7B7'[ru  
>/]` f8^  
struts.ui.theme /?ZO-]q  
      The default UI template theme B4D#T lB  
      默认的UI template主题 Oc6_x46S4  
ifXGH>C  
struts.url.http.port EZ"n3#/  
      The HTTP port used by Struts URLs Bf21u 9  
      设置http端口 8Q{"W"]O7  
; ,vGw <|o  
struts.url.https.port ;u(#-C2^{l  
      The HTTPS port used by Struts URLs *]7$/%.D  
      设置https端口 Cr7T=&L  
6YHQ/#'G~  
struts.url.includeParams 5 O't-'  
      The default includeParams method to generate Struts URLs .jXD0~N8q  
      在url中产生 默认的includeParams Kl Kk?6 >  
rN3qTp  
\&6^c=2=  
struts.velocity.configfile @#j?Z7E|  
      The Velocity configuration file path #`HY"-7m_  
      velocity配置文件路径 9a6ij*#  
8opd0'SNaB  
struts.velocity.contexts rW P -Rm  
      List of Velocity context names 18HmS>Qo  
      velocity的context列表 Q)IL]S  
I[l8@!0  
CE|iu!-4  
struts.velocity.manager.classname aPwUC:>`D  
      org.apache.struts2.views.velocity.VelocityManager implementation class <hV%OrBz-  
      org.apache.struts2.views.velocity.VelocityManager接口名 'vX:)ZDi  
Irc(5rD7   
struts.velocity.toolboxlocation ~pC\"LU`  
      The location of the Velocity toolbox 8v ZY+Q >  
      velocity工具盒的位置 ; u@& [  
struts.xslt.nocache >p`ZcFNs"  
      Whether or not XSLT templates should not be cached vG{lxPIj  
      是否XSLT模版应该被缓存 svaclkT=  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
温馨提示:欢迎交流讨论,请勿纯表情、纯引用!
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八