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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 5<U:Yy  
7md,!|m  
struts.action.extension R&.mNji*  
      The URL extension to use to determine if the request is meant for a Struts action fVf @Ngvu  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (;VlK#rnC  
":@\kw  
struts.configuration ~'1gX`o:  
      The org.apache.struts2.config.Configuration implementation class &A}hx\_T  
        org.apache.struts2.config.Configuration接口名 B']-4X{SGa  
.fFXH  
struts.configuration.files 4j|IG/m  
      A list of configuration files automatically loaded by Struts y'L7o V?L9  
      struts自动加载的一个配置文件列表 FQTAkkA_!  
q"(b}3  
struts.configuration.xml.reload !E7JDk''@  
      Whether to reload the XML configuration or not U45kA\[bZ  
      是否加载xml配置(true,false) :'`y}'  
iq^F?$gFk  
struts.continuations.package gcF:/@:Rm  
      The package containing actions that use Rife continuations Upw`|$1S  
      含有actions的完整连续的package名称 0\zY?UUww  
B/O0 ~y!n  
struts.custom.i18n.resources "w&IO}j;=  
      Location of additional localization properties files to load Oh# z zo  
      加载附加的国际化属性文件(不包含.properties后缀) |xawguJ  
)_n=it$  
struts.custom.properties dJv2tVm&'  
      Location of additional configuration properties files to load ?}RPn f  
      加载附加的配置文件的位置 +>3jMs~&  
t =V| '  
3c%_RI.  
struts.devMode unKPqc%q=n  
      Whether Struts is in development mode or not e&nE  
      是否为struts开发模式 f+!k:}K  
]*?lgwE  
struts.dispatcher.parametersWorkaround &&% oazR=  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic k,eo+qH.Hz  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) XEegUTs  
~+ kfb^<-  
struts.enable.DynamicMethodInvocation 3iM7c.f*/  
      Allows one to disable dynamic method invocation from the URL j)ME%17  
        允许动态方法调用 JR_%v=n~x  
!mZDukfjQ  
struts.freemarker.manager.classname UpaF>,kM  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class QUeuN?3X\  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 kx?f,^ -  
12VIP-ABK  
struts.i18n.encoding r=-b@U.fk>  
      The encoding to use for localization messages >{S ~(KxK  
      国际化信息内码 A!cY!aQ  
:6MV@{;PJ  
struts.i18n.reload j"hNkCF  
      Whether the localization messages should automatically be reloaded dBw7l}  
      是否国际化信息自动加载 dd=ca0c7e  
=(+]ee!Ti  
struts.locale 8Kw, 1O:  
      The default locale for the Struts application !\VzX  
      默认的国际化地区信息 WEYZ(a|  
v%rmfIU  
struts.mapper.class |'Z+`HI  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class qv^P  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 e%s1D  
"1$X5?%  
struts.multipart.maxSize i 50E#+E8  
      The maximize size of a multipart request (file upload) \o*w#e[M  
      multipart请求信息的最大尺寸(文件上传用) qjObu\r  
~R&rQJJeJ  
struts.multipart.parser :.9Y  
      The org.apache.struts2.dispatcher.multipart. x<h|$$4S  
      MultiPartRequest parser implementation for a multipart request (file upload) '_b3m2I.G  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) R_D&"&   
C$p012D1  
$DXO7;#  
struts.multipart.saveDir 5tyA{&Ao  
      The directory to use for storing uploaded files $K.DLqDt  
      设置存储上传文件的目录夹  ZC]|s[  
NH;e|8  
struts.objectFactory f&j\gYWq  
      The com.opensymphony.xwork2.ObjectFactory implementation class A9lw^.  
      com.opensymphony.xwork2.ObjectFactory接口(spring) eC"k-a8j+  
#+QJ5VI :  
struts.objectFactory.spring.autoWire uI$n7\G!  
      Whether Spring should autoWire or not NN#k^[i1  
      是否自动绑定Spring 4> uNH5  
IQ$!y,VJ  
struts.objectFactory.spring.useClassCache c2t`i  
      Whether Spring should use its class cache or not wFF,rUV  
      是否spring应该使用自身的cache 3?K+wg s  
6cd!;Ca  
struts.objectTypeDeterminer A!,c@Kv 3  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class zMRa <G7  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 N5{v;~Cm}V  
2Z(t/Zp>  
struts.serve.static.browserCache Td ade+  
If static content served by the Struts filter should set browser caching header properties or not veuX />!  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 Ni8%K6]z  
(/At+MF3E  
struts.serve.static XD?Lu _.  
      Whether the Struts filter should serve static content or not BTD_j&+(  
      是否struts过滤器应该提供静态内容 X!:J1'FE  
#]dq^B~~  
struts.tag.altSyntax gg.]\#3g  
      Whether to use the alterative syntax for the tags or not & #JYh=#  
      是否可以用替代的语法替代tags 118lb]  
6fo\ z2  
struts.ui.templateDir @  R[K8  
      The directory containing UI templates ~n8UN<  
      UI templates的目录夹 j85B{Mab&  
FShUw+y  
struts.ui.theme A@Q6}ESD  
      The default UI template theme *+zFsu4l  
      默认的UI template主题 ZJW8S  
Lc?"4  
struts.url.http.port  pdm(7^  
      The HTTP port used by Struts URLs ,}\LC;31,  
      设置http端口 ^SsdM#E  
U# [T!E  
struts.url.https.port +pq) 7  
      The HTTPS port used by Struts URLs z6}p4  
      设置https端口 p7 !y#  
X $V_  
struts.url.includeParams G62;p#  
      The default includeParams method to generate Struts URLs V,rR*a&p  
      在url中产生 默认的includeParams u:']jw=f  
n_4.`vs  
 Uj\t04  
struts.velocity.configfile M*bsA/Z  
      The Velocity configuration file path Y- Q)sv  
      velocity配置文件路径 (&NLLrsio  
k~so+k&=b  
struts.velocity.contexts ,tQN L\t  
      List of Velocity context names :-#7j} R&  
      velocity的context列表 <{8x-zbR+  
eI:x4K,#  
~Er0$+q=Y;  
struts.velocity.manager.classname [T4{K &  
      org.apache.struts2.views.velocity.VelocityManager implementation class 5L<A7^j  
      org.apache.struts2.views.velocity.VelocityManager接口名 Xp| 4WM  
s-5 #P,Lw  
struts.velocity.toolboxlocation 7FkiT  
      The location of the Velocity toolbox BJ]L@L%  
      velocity工具盒的位置 FX9WX b4w  
struts.xslt.nocache *J]p/<> {  
      Whether or not XSLT templates should not be cached \ a7m!v  
      是否XSLT模版应该被缓存 IJKdVb~   
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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