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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 +pjD{S~Y  
iWtWT1n8n  
struts.action.extension E|^a7-}|  
      The URL extension to use to determine if the request is meant for a Struts action &'|bZms g  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 ul% q6=f)  
8H{@0_M  
struts.configuration m$O@+;>l  
      The org.apache.struts2.config.Configuration implementation class .+M4P i  
        org.apache.struts2.config.Configuration接口名 +5T0]!  
6xj&Qo  
struts.configuration.files >)VrbPRuA  
      A list of configuration files automatically loaded by Struts @7BH`b$)!  
      struts自动加载的一个配置文件列表 ~^3B(feQ]  
f 8uVk|a  
struts.configuration.xml.reload ^R2:Z&Iv%  
      Whether to reload the XML configuration or not 'rCwPsI&4  
      是否加载xml配置(true,false) dB1bf2'b#  
S:R%%cy  
struts.continuations.package Ii,L6c  
      The package containing actions that use Rife continuations ZsV'-gu  
      含有actions的完整连续的package名称 0c`wJktWK  
S*\`LBl"nX  
struts.custom.i18n.resources e j`lY  
      Location of additional localization properties files to load E7jv  
      加载附加的国际化属性文件(不包含.properties后缀) i-/'F  
/ ?Q@Pn  
struts.custom.properties U1&m-K  
      Location of additional configuration properties files to load %F{@DN`  
      加载附加的配置文件的位置 f:BW{Cij;y  
2#py>rF(  
vwT?Bp  
struts.devMode 2=U4'C4#  
      Whether Struts is in development mode or not CP={|]>+S  
      是否为struts开发模式 n7Re@'N<  
&Wn!W  
struts.dispatcher.parametersWorkaround 4ci @$nL1  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ;,IGO7R  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) o!j? )0d  
Z?^AX&F  
struts.enable.DynamicMethodInvocation b2:CFtH5  
      Allows one to disable dynamic method invocation from the URL p-Q1abl  
        允许动态方法调用 ^LnCxA&QH  
r?[Zf2&  
struts.freemarker.manager.classname wRWN]Vo  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class &0N 3 p  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 y|1-,u.$  
#&$4tTl  
struts.i18n.encoding i*F^;-q)  
      The encoding to use for localization messages 3tgct <"  
      国际化信息内码 tF=96u_X  
Qy9#(596  
struts.i18n.reload OvQG%D}P=  
      Whether the localization messages should automatically be reloaded G:A` n;E0  
      是否国际化信息自动加载 uS<&$J H  
X\flx~  
struts.locale L]9*^al  
      The default locale for the Struts application '5{gWV`  
      默认的国际化地区信息 m@TU2  
7MBz&wE^f  
struts.mapper.class n.Ekpq\  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ,@GI3bl  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 jagsV'o2  
[,l BY-Kz+  
struts.multipart.maxSize ! 5]/2  
      The maximize size of a multipart request (file upload) ]Wfnpqc^  
      multipart请求信息的最大尺寸(文件上传用) hGzj}t W8d  
0naegy?,  
struts.multipart.parser R{Cj]:Ky  
      The org.apache.struts2.dispatcher.multipart. C !uwD  
      MultiPartRequest parser implementation for a multipart request (file upload) a N_M  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,Y}HP3  
.,feRK>3  
&Tl3\T0D  
struts.multipart.saveDir ;B!&( 50e  
      The directory to use for storing uploaded files _W&.{ 7  
      设置存储上传文件的目录夹 (?oK+,v?L  
~|+   
struts.objectFactory X(N!y"z  
      The com.opensymphony.xwork2.ObjectFactory implementation class Pq !\6s@  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 91[(K'=&  
UKn>.,  
struts.objectFactory.spring.autoWire @_0XK)pW  
      Whether Spring should autoWire or not (i&:=Bfn)  
      是否自动绑定Spring &Q 3!ty  
"y#$| TMB  
struts.objectFactory.spring.useClassCache 0(HUy`]>  
      Whether Spring should use its class cache or not 0riTav8  
      是否spring应该使用自身的cache [&"`2n  
SmC91XO  
struts.objectTypeDeterminer kOeW,:&65  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class UG 9uNgzQ/  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ;5dJ5_}  
s}X2*o`,  
struts.serve.static.browserCache <08)G7  
If static content served by the Struts filter should set browser caching header properties or not >'7Icx  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 8,=,'gFO  
#sN]6  
struts.serve.static !-p5j3A4L  
      Whether the Struts filter should serve static content or not >pUR>?t"  
      是否struts过滤器应该提供静态内容 r ",..{  
=`99ez+y  
struts.tag.altSyntax x7>' 1  
      Whether to use the alterative syntax for the tags or not 2I>X]r.S!1  
      是否可以用替代的语法替代tags sYYNT*  
"! m6U#^  
struts.ui.templateDir H $XO] \  
      The directory containing UI templates 9x23## s  
      UI templates的目录夹 xrf z-"n4  
yIA- +# r[  
struts.ui.theme 6||zfH  
      The default UI template theme /*i[MB  
      默认的UI template主题 ?s6v>#H%  
u{o3  
struts.url.http.port &M&*3  
      The HTTP port used by Struts URLs RG0kOw0  
      设置http端口 -LhO </l  
J<yt/V]  
struts.url.https.port ACctyGd  
      The HTTPS port used by Struts URLs eD 4X:^@  
      设置https端口 e?,n>  
58V`I5_  
struts.url.includeParams <Y:{>=  
      The default includeParams method to generate Struts URLs r roI  
      在url中产生 默认的includeParams e ^2n58  
+Hgil  
_ VKBzOH  
struts.velocity.configfile C6Lc   
      The Velocity configuration file path "m4. _4U  
      velocity配置文件路径 <Z5-?wgf9  
j4k\5~yzS  
struts.velocity.contexts 41Hv)}Yd  
      List of Velocity context names e#!%:M;4P  
      velocity的context列表 %|AebxB'o  
jmPnUn  
|Bz1u|uc  
struts.velocity.manager.classname c#( Hh{0  
      org.apache.struts2.views.velocity.VelocityManager implementation class J2adG+=  
      org.apache.struts2.views.velocity.VelocityManager接口名 \| &KD  
kOdXbw9v  
struts.velocity.toolboxlocation WPI<SsLd  
      The location of the Velocity toolbox . |%n"{  
      velocity工具盒的位置 4A"3C  
struts.xslt.nocache ``4e&  
      Whether or not XSLT templates should not be cached ;x%"o[[>  
      是否XSLT模版应该被缓存 :y'EIf  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五