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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 #"ftI7=42  
gUAxyV  
struts.action.extension ~aXqU#8  
      The URL extension to use to determine if the request is meant for a Struts action <N(oDaU  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Gs*G<P"  
3pXLSdxB  
struts.configuration #Ch;0UvFF  
      The org.apache.struts2.config.Configuration implementation class }6-ZE9H-v  
        org.apache.struts2.config.Configuration接口名 ow/57P  
XYH|;P6K  
struts.configuration.files hAqg Iu*  
      A list of configuration files automatically loaded by Struts >|o_wO  
      struts自动加载的一个配置文件列表 phYDs9-K  
/U$8TT8+-  
struts.configuration.xml.reload 45@]:2j  
      Whether to reload the XML configuration or not O3N_\B:  
      是否加载xml配置(true,false) C*X G_b ]  
3p*-tBOO  
struts.continuations.package gFPi7 o1  
      The package containing actions that use Rife continuations @cq`:_.[  
      含有actions的完整连续的package名称 s-W[ .r|  
7dX/bzUVz8  
struts.custom.i18n.resources rxO2js  
      Location of additional localization properties files to load AY SSa 1}  
      加载附加的国际化属性文件(不包含.properties后缀) [Qdq}FYr  
C*I(|.i@  
struts.custom.properties #Y93y\  
      Location of additional configuration properties files to load dp5f7>]:(  
      加载附加的配置文件的位置 sLcFt1  
XMRNuEU  
Z?^"\u-  
struts.devMode @ 2_<,;$  
      Whether Struts is in development mode or not aj ~bt-cE  
      是否为struts开发模式 3_`szl-  
j}+5vB|0  
struts.dispatcher.parametersWorkaround [WB{T3j  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~JuKV&&}K  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) S)A'Y]2X  
H<ZU#U0FZf  
struts.enable.DynamicMethodInvocation Sg] J7;]  
      Allows one to disable dynamic method invocation from the URL S='syq>Aok  
        允许动态方法调用 me\cLFw  
"%@uO)A /  
struts.freemarker.manager.classname -Y:ROoFOZ  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class DJQglt}~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ArI]`h'W  
}Uf<ZXW  
struts.i18n.encoding S^f:`9ab9  
      The encoding to use for localization messages df=z F.5  
      国际化信息内码 eeUp 1g  
ze'.Y%]  
struts.i18n.reload }wSy  
      Whether the localization messages should automatically be reloaded Hh kN^S,  
      是否国际化信息自动加载 D6Y6^eS-  
#^&jW  
struts.locale WjM>kWv  
      The default locale for the Struts application \h3e-)  
      默认的国际化地区信息 z]Acs  
(_9|w|(  
struts.mapper.class =!ac7i\F  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class f]d!hz!  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 mYNEz @  
(Btv ClZ  
struts.multipart.maxSize y~F<9;$=  
      The maximize size of a multipart request (file upload) ); 6,H.v  
      multipart请求信息的最大尺寸(文件上传用) j5%qv(w  
@ERu>nSP  
struts.multipart.parser )Hf~d=GG  
      The org.apache.struts2.dispatcher.multipart. =V|Nn0E  
      MultiPartRequest parser implementation for a multipart request (file upload) ?z"KnR+?Q  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) `<j_[(5yb  
1.R kIB  
[.q(h/b  
struts.multipart.saveDir vZajT!h  
      The directory to use for storing uploaded files 'H FKBp  
      设置存储上传文件的目录夹 j[P8  
aQcN&UA@  
struts.objectFactory kd;'}x=5yP  
      The com.opensymphony.xwork2.ObjectFactory implementation class Zj-BuE&@f  
      com.opensymphony.xwork2.ObjectFactory接口(spring) A1*4*  
agaq`^[(P  
struts.objectFactory.spring.autoWire 7CrpUh  
      Whether Spring should autoWire or not o@d y:AR  
      是否自动绑定Spring 5a(<%Q <"  
CtT~0Y|  
struts.objectFactory.spring.useClassCache ;o$;Z4:.D  
      Whether Spring should use its class cache or not MB* u-N0v  
      是否spring应该使用自身的cache 4^O w^7N?  
GM}C]MVD  
struts.objectTypeDeterminer <4zT;:NQ  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [F|+(}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 fQQ |gwVki  
A/Khk2-:  
struts.serve.static.browserCache WL\^F#:  
If static content served by the Struts filter should set browser caching header properties or not `Lz1{#F2G  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 lIuXo3  
%yaG,;>U  
struts.serve.static DuF7HTN[K  
      Whether the Struts filter should serve static content or not M^ 5e~y  
      是否struts过滤器应该提供静态内容 w3#`1T`N  
V:\]cGA{  
struts.tag.altSyntax 8Inx/>eOI  
      Whether to use the alterative syntax for the tags or not WOO%YU =  
      是否可以用替代的语法替代tags +8UdvMN  
pN$;!  
struts.ui.templateDir \ $;~74}  
      The directory containing UI templates Z5>V{o  
      UI templates的目录夹 j, t~  
Lp~^*j(  
struts.ui.theme b~W)S/wF$P  
      The default UI template theme 8^w/HCC8O  
      默认的UI template主题 \|Qb[{<:,  
p^8 JLC  
struts.url.http.port ] C,1%(  
      The HTTP port used by Struts URLs 6wpU6NU  
      设置http端口 b}%g}L D  
0 [i+  
struts.url.https.port  5T/J%  
      The HTTPS port used by Struts URLs y[:q"BB3  
      设置https端口 ny`(f,)u*  
&r:m&?!|VQ  
struts.url.includeParams /p$=Cg[K  
      The default includeParams method to generate Struts URLs a`38db(z  
      在url中产生 默认的includeParams pb$fb  
gPUo25@pn*  
m;h<"]<  
struts.velocity.configfile |yAK@ Hl'  
      The Velocity configuration file path 9- G b"hr  
      velocity配置文件路径 aQmfrx  
u&SZ lkf6%  
struts.velocity.contexts k2OM="Ei}  
      List of Velocity context names p!GZCf,   
      velocity的context列表 MOyT< $  
hrT%XJl  
QSmJ`Bm  
struts.velocity.manager.classname `Z8^+AMc  
      org.apache.struts2.views.velocity.VelocityManager implementation class "=ElCaP}  
      org.apache.struts2.views.velocity.VelocityManager接口名 a)S(p1BGg  
RH=$h! 5  
struts.velocity.toolboxlocation O3+)qb!X  
      The location of the Velocity toolbox Bj&_IDs4  
      velocity工具盒的位置 b8cVnP  
struts.xslt.nocache ( H[  
      Whether or not XSLT templates should not be cached Q)+Y}  
      是否XSLT模版应该被缓存 \[k% )_  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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