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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 a\_?zi]s&,  
d x52[W  
struts.action.extension *M^(A}+O  
      The URL extension to use to determine if the request is meant for a Struts action }:SWgPfc  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 (58}G2}q  
$<DcbJW  
struts.configuration m6wrG`-di  
      The org.apache.struts2.config.Configuration implementation class  {@E(p4W  
        org.apache.struts2.config.Configuration接口名 S~GL_#a  
<e)u8+(  
struts.configuration.files 7:Cq[u fl  
      A list of configuration files automatically loaded by Struts Le,e,#hiY  
      struts自动加载的一个配置文件列表 6Z ,GD  
?R#?=<VkG  
struts.configuration.xml.reload ^p7g[E&  
      Whether to reload the XML configuration or not U]Pl` =SL  
      是否加载xml配置(true,false) `%@| sK2  
2,T^L (]  
struts.continuations.package @3g$H[}  
      The package containing actions that use Rife continuations +0DPhc  
      含有actions的完整连续的package名称 o%j[]P@4G  
/U@T#S  
struts.custom.i18n.resources #I &#x59  
      Location of additional localization properties files to load i (qPD_  
      加载附加的国际化属性文件(不包含.properties后缀) HuB\92u  
}[FP"#  
struts.custom.properties 6v1F. u  
      Location of additional configuration properties files to load jVdRy{MH  
      加载附加的配置文件的位置 ?mq<#/qb  
d$ f3 Cre  
aWg*f*2f  
struts.devMode JnodDH ?  
      Whether Struts is in development mode or not <&47W  
      是否为struts开发模式 <0sT  
GI. =\s  
struts.dispatcher.parametersWorkaround Lnk(l2~U  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 3{/[gX9  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) ))NiX^)8^  
<h"07.y  
struts.enable.DynamicMethodInvocation P,RdY M06  
      Allows one to disable dynamic method invocation from the URL #^i.[7p  
        允许动态方法调用 :@oy5zib  
i!KZg74V  
struts.freemarker.manager.classname =wcqCW,]  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 7iijATc  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 p3`odmbN  
ca6kqh"  
struts.i18n.encoding 0pW?v:!H  
      The encoding to use for localization messages yH<a;@C  
      国际化信息内码 4+1aW BJ2  
G_cWp D/  
struts.i18n.reload jT:z#B%  
      Whether the localization messages should automatically be reloaded kklM"Av  
      是否国际化信息自动加载 n-)Xs;`2  
31*0b|Z  
struts.locale DMXm$PU4V  
      The default locale for the Struts application V7}3H2]^  
      默认的国际化地区信息 qZ=%r u  
lk(.zYaaN  
struts.mapper.class f#>ubmuI^  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5,~Ju>y*  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 {];8jdg/?  
r5wy]z^  
struts.multipart.maxSize =k0qj_  
      The maximize size of a multipart request (file upload) 'n$TJp|s  
      multipart请求信息的最大尺寸(文件上传用) I&Dp~aEM]  
$-#|g  
struts.multipart.parser $C^tZFq  
      The org.apache.struts2.dispatcher.multipart. bf*VY&S- T  
      MultiPartRequest parser implementation for a multipart request (file upload) @gM>Lxj  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) S`t@L}  
=" Sb>_  
/9wmc2  
struts.multipart.saveDir -1z<,IN+  
      The directory to use for storing uploaded files )}|b6{{<  
      设置存储上传文件的目录夹 vw5f|Q92  
}<7S% ?TY  
struts.objectFactory GYJ lX  
      The com.opensymphony.xwork2.ObjectFactory implementation class &ZR}Z7E*=  
      com.opensymphony.xwork2.ObjectFactory接口(spring) I}hY @  
V;-$k@$b.  
struts.objectFactory.spring.autoWire 2leTEs5aK`  
      Whether Spring should autoWire or not kKlcK_b;  
      是否自动绑定Spring *= ;M',nx  
9*b(\Z)N  
struts.objectFactory.spring.useClassCache p*ic@n*G  
      Whether Spring should use its class cache or not <n|ayxA)  
      是否spring应该使用自身的cache ==XO:P  
hT DFIYV  
struts.objectTypeDeterminer ?ypX``3#s7  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class {wq~+O  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 9esMr0*=  
W! =X _  
struts.serve.static.browserCache ZOIx+%/Vd#  
If static content served by the Struts filter should set browser caching header properties or not  O86[`,  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 E|~)"=  
XUK!1}  
struts.serve.static knb 9s`wR  
      Whether the Struts filter should serve static content or not fC<pCdsg  
      是否struts过滤器应该提供静态内容 Jb1L[sT2  
h,!`2_&UQ  
struts.tag.altSyntax Hsl0|jy(/  
      Whether to use the alterative syntax for the tags or not Rv=rO|&]  
      是否可以用替代的语法替代tags 7,BULs\g  
0<4Nf]i  
struts.ui.templateDir kWW$*d$  
      The directory containing UI templates XhEJF !  
      UI templates的目录夹 +_"AF|  
]ur_G`B  
struts.ui.theme |9*8u>|RC  
      The default UI template theme }\Ri:&?  
      默认的UI template主题 $AyE6j_1gX  
b>]MZhLJe  
struts.url.http.port K@R * V  
      The HTTP port used by Struts URLs w;=g$Bn  
      设置http端口 *%p`Jk-U  
JQ"R%g` 8  
struts.url.https.port g\~n5=-D  
      The HTTPS port used by Struts URLs 8nKb mjM  
      设置https端口 lD41+x 7  
i+XHXpk  
struts.url.includeParams ^Yg}>?0  
      The default includeParams method to generate Struts URLs VlbS\Y.  
      在url中产生 默认的includeParams wRsh@I<  
Mep ct  
*MD\YFXR  
struts.velocity.configfile M9ACaf@  
      The Velocity configuration file path (5\VOCT>4%  
      velocity配置文件路径 F!*tE&Se+  
-RKqbfmi=  
struts.velocity.contexts U_.9H _G  
      List of Velocity context names P g.j]  
      velocity的context列表 Bh0hUE  
6t!PHA  
hg Pzx@  
struts.velocity.manager.classname glI4Jb_[  
      org.apache.struts2.views.velocity.VelocityManager implementation class s1kG:h2|$  
      org.apache.struts2.views.velocity.VelocityManager接口名 C;jV)hr6P  
S( Vssi|y  
struts.velocity.toolboxlocation jBLLx{  
      The location of the Velocity toolbox ve&"x Nz<  
      velocity工具盒的位置 8%Eemk>G{  
struts.xslt.nocache Ax{C ^u  
      Whether or not XSLT templates should not be cached 7%)KB4(\_  
      是否XSLT模版应该被缓存 BH3%dh :9  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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