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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ;#vKi0V7  
uBNn6j  
struts.action.extension mP0yk|  
      The URL extension to use to determine if the request is meant for a Struts action ^(f"v e#7v  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 X voo=  
A Q'J9  
struts.configuration Rb%8)t x  
      The org.apache.struts2.config.Configuration implementation class d$ x"/A]<  
        org.apache.struts2.config.Configuration接口名 ??M"6k  
{>DE sO  
struts.configuration.files j g8fU  
      A list of configuration files automatically loaded by Struts A8uVK5  
      struts自动加载的一个配置文件列表 G(p`1~xm  
NbgK@eV}+{  
struts.configuration.xml.reload /v- 6WSN  
      Whether to reload the XML configuration or not &jslyQ#  
      是否加载xml配置(true,false) y5?RVlKJ  
7UVzp v  
struts.continuations.package 95A1:A^t  
      The package containing actions that use Rife continuations <<+\X:,  
      含有actions的完整连续的package名称 @+Si?8\  
ST:A<Da"  
struts.custom.i18n.resources |=`~-i2W  
      Location of additional localization properties files to load VF?<{F  
      加载附加的国际化属性文件(不包含.properties后缀) zNxW'?0Z?  
?[g=F <r  
struts.custom.properties lI*o@wQg  
      Location of additional configuration properties files to load mS(fgq6  
      加载附加的配置文件的位置 }<@b=_>S  
 >qS9PX  
`6lr4Kk @R  
struts.devMode ++6`sMJ  
      Whether Struts is in development mode or not nqI@Y)  
      是否为struts开发模式 &cxRD  
OB Otuu.  
struts.dispatcher.parametersWorkaround oU056  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic &O9 |#YUq  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) kCR_tn 4  
6-z%633DL  
struts.enable.DynamicMethodInvocation H*ow\ Ct  
      Allows one to disable dynamic method invocation from the URL v!<gY m&  
        允许动态方法调用 L ^q""[  
l_o@miG/  
struts.freemarker.manager.classname `|{-+m  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `o=q%$f#k~  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 p1Jh0o8  
coW:DFX  
struts.i18n.encoding }&cu/o4  
      The encoding to use for localization messages yXSFjcoB  
      国际化信息内码 ,K9*%rW)  
,{M^-3C  
struts.i18n.reload K#6P}tf  
      Whether the localization messages should automatically be reloaded ED=V8';D  
      是否国际化信息自动加载 TE3lK(f  
J]{QB^?  
struts.locale L2\#w<d  
      The default locale for the Struts application 0 ?s|i :  
      默认的国际化地区信息 > V-A;S:  
-ws? "_w  
struts.mapper.class 3{'Ne}5%I  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class >3p \m  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \pPY37l  
&dqLP9 5  
struts.multipart.maxSize 0)Uce=t`  
      The maximize size of a multipart request (file upload) .nrMfl_  
      multipart请求信息的最大尺寸(文件上传用) wH>a~C:  
s'!Cp=xQF"  
struts.multipart.parser BmbyH{4  
      The org.apache.struts2.dispatcher.multipart. @$ne{2J3  
      MultiPartRequest parser implementation for a multipart request (file upload) wxKX{Bs  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ??^5;P{yx  
KaPAa:Q  
mWoAO@}Y  
struts.multipart.saveDir ;rF\kX&Jh  
      The directory to use for storing uploaded files B,?T%  
      设置存储上传文件的目录夹 ,]|#[8  
dG@%jD)  
struts.objectFactory Fq0i`~L~  
      The com.opensymphony.xwork2.ObjectFactory implementation class >"^ O"E  
      com.opensymphony.xwork2.ObjectFactory接口(spring) NP0\i1P>.?  
``,fodA8  
struts.objectFactory.spring.autoWire v[ . cd*b  
      Whether Spring should autoWire or not [$mHv,~  
      是否自动绑定Spring c23oCfB>  
5 h-@|t  
struts.objectFactory.spring.useClassCache 1Ir21un  
      Whether Spring should use its class cache or not j]{_s"O  
      是否spring应该使用自身的cache abuh`H#  
PRx8I .  
struts.objectTypeDeterminer `.E[}W  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Njxv4cc  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 .CL[_;}  
,BH@j%Jmy  
struts.serve.static.browserCache x3hB5p$q  
If static content served by the Struts filter should set browser caching header properties or not s]HOGJJz  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 h?AS{`.1  
| z9*GY6RU  
struts.serve.static >=qf/K +#  
      Whether the Struts filter should serve static content or not *{YlN}vA  
      是否struts过滤器应该提供静态内容 6"wlg!k8  
x6BuF_.   
struts.tag.altSyntax 5y d MMb  
      Whether to use the alterative syntax for the tags or not SzAJ2:qhl  
      是否可以用替代的语法替代tags 3_ r*y9l  
RmI]1S_=  
struts.ui.templateDir .I7pA5V{#  
      The directory containing UI templates xqeyD*s  
      UI templates的目录夹 qz+dmef  
]_Vx{oT7  
struts.ui.theme n&L+wqJ  
      The default UI template theme 6 hw=  
      默认的UI template主题 hB "fhX  
S ^"y4- 2  
struts.url.http.port ./- 5R|fN  
      The HTTP port used by Struts URLs ]%hn`ZJ  
      设置http端口 zpzK>DH(  
9eGyyZg  
struts.url.https.port `[z<4"Os   
      The HTTPS port used by Struts URLs ; ^*}#X d  
      设置https端口 /'Ass(=6  
fX(3H1$"  
struts.url.includeParams AV:h BoO  
      The default includeParams method to generate Struts URLs aEFJ;n7m  
      在url中产生 默认的includeParams ^?-:'<4q$  
A^nvp!_  
j:^#rFD4?  
struts.velocity.configfile ?L5zC+c!  
      The Velocity configuration file path g$":D  
      velocity配置文件路径 Y4OPEo5o  
BTl k Etm  
struts.velocity.contexts v6[!o<@"a  
      List of Velocity context names zbXI%  
      velocity的context列表 [8P:?nDDL  
4qphA9i1  
rK@8/?y5  
struts.velocity.manager.classname o906/5M  
      org.apache.struts2.views.velocity.VelocityManager implementation class ^7>3a/  
      org.apache.struts2.views.velocity.VelocityManager接口名 N/[p <  
aFc1|.Nm  
struts.velocity.toolboxlocation dah[:rP,n{  
      The location of the Velocity toolbox BIb4h   
      velocity工具盒的位置 d)"3K6s|5  
struts.xslt.nocache H ;7(}:.  
      Whether or not XSLT templates should not be cached CHdX;'`*  
      是否XSLT模版应该被缓存 9V'%<pk''(  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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