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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 w^r*qi"  
<)M?qkjb  
struts.action.extension ]^s4NXf+  
      The URL extension to use to determine if the request is meant for a Struts action p 0-\G6  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 qoEOM%dAqV  
(A1!)c  
struts.configuration }ts?ZR^V,  
      The org.apache.struts2.config.Configuration implementation class 7UMsKE-  
        org.apache.struts2.config.Configuration接口名 e Q0bx&  
?L_#AdK  
struts.configuration.files *FO']D  
      A list of configuration files automatically loaded by Struts &vLZj  
      struts自动加载的一个配置文件列表 Jg7IGU(dct  
,Qp58u2V  
struts.configuration.xml.reload m'%F,c)  
      Whether to reload the XML configuration or not ;R/=9l  
      是否加载xml配置(true,false) eM8u ;i  
5t0$nKah]  
struts.continuations.package ,]o32@   
      The package containing actions that use Rife continuations iK)w3S}k1y  
      含有actions的完整连续的package名称 1y 6H2  
:kgwKuhL  
struts.custom.i18n.resources |gT$M _}  
      Location of additional localization properties files to load D|OX]3~  
      加载附加的国际化属性文件(不包含.properties后缀)  Q}G   
B [03,zVf  
struts.custom.properties w2 CgEJ %  
      Location of additional configuration properties files to load K 5!k06;s  
      加载附加的配置文件的位置 c!s{QWd%  
-O oXb( I4  
BHa!jw_~o  
struts.devMode #U'n=@U@(  
      Whether Struts is in development mode or not lQoa[#q  
      是否为struts开发模式 No j6Ina  
bw+~5pqM  
struts.dispatcher.parametersWorkaround GX(p7ZgB2  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic F+9|D  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &7}-Xvc  
HAP9XC(F]  
struts.enable.DynamicMethodInvocation O75ioO0  
      Allows one to disable dynamic method invocation from the URL D_'Zucq  
        允许动态方法调用 az7L0pp  
b>G!K)MS3  
struts.freemarker.manager.classname `$Q $l  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 24]O0K  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 KrG$W/<tg  
xqLLoSte  
struts.i18n.encoding &EZ28k"x  
      The encoding to use for localization messages J1g `0XH  
      国际化信息内码 4 uD!-1LT@  
c}$?k@=  
struts.i18n.reload z;1yZ4[G  
      Whether the localization messages should automatically be reloaded =U2`]50  
      是否国际化信息自动加载 RKRk,jRL  
}[? X%=  
struts.locale  gryC#  
      The default locale for the Struts application mR?OSeeB  
      默认的国际化地区信息 R$wo{{KX  
s!uewS.  
struts.mapper.class t hTY('m  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class V&[|%jm&   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 pvkru-i]  
0!\pS{$zB  
struts.multipart.maxSize *S`& X Pj  
      The maximize size of a multipart request (file upload) L7C!rS  
      multipart请求信息的最大尺寸(文件上传用) !c'a<{d@  
k(!#^Mlz[  
struts.multipart.parser kC6J@t)  
      The org.apache.struts2.dispatcher.multipart. cl)%qIXj}H  
      MultiPartRequest parser implementation for a multipart request (file upload) ,}F{V>dhn  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) enE8T3   
/id(atiF^  
6imDA]5N&  
struts.multipart.saveDir ]#KZ W)M  
      The directory to use for storing uploaded files Ez+.tbEA,  
      设置存储上传文件的目录夹 XoL9:s(m~  
;}WdxWw4  
struts.objectFactory V]<J^m8  
      The com.opensymphony.xwork2.ObjectFactory implementation class @<r  ;>G  
      com.opensymphony.xwork2.ObjectFactory接口(spring) L:j;;9Sp{  
 E*i <P  
struts.objectFactory.spring.autoWire Q(>89*b&  
      Whether Spring should autoWire or not XF'K dz>p  
      是否自动绑定Spring 7J.alV4`/  
VYMs`d[  
struts.objectFactory.spring.useClassCache c"H*9u:  
      Whether Spring should use its class cache or not aU4v-9@U8  
      是否spring应该使用自身的cache ^dM,K p  
VMe~aUd  
struts.objectTypeDeterminer wspZ Eu>C;  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class $i7iv  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 gk1I1)p  
YP5V~-O/  
struts.serve.static.browserCache .r[kNh@ b%  
If static content served by the Struts filter should set browser caching header properties or not 8fY1~\G:\  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 [f!sBJ!  
OjcxD5"v9  
struts.serve.static Dh*Uv,  
      Whether the Struts filter should serve static content or not tl !o;`W  
      是否struts过滤器应该提供静态内容 y_;LTCj?  
_ )b:F=4j  
struts.tag.altSyntax 4en[!*  
      Whether to use the alterative syntax for the tags or not TGlIt<&  
      是否可以用替代的语法替代tags rd vq(\A  
lb{<}1YR0o  
struts.ui.templateDir /\q1,}M  
      The directory containing UI templates |kB1>$  
      UI templates的目录夹 }uz*6Z(S  
/=).)<&|R  
struts.ui.theme }lvD 5  
      The default UI template theme FFQ=<(Ki  
      默认的UI template主题 xPl+ rsU  
=$`EB  
struts.url.http.port 2^'|[*$k1@  
      The HTTP port used by Struts URLs .v?Ir)  
      设置http端口 JPltB8j?  
HTA@en[5  
struts.url.https.port ROw9l!YF  
      The HTTPS port used by Struts URLs Vcm9:,Xlw  
      设置https端口 X~(%Y#6  
3C=ON.1eg  
struts.url.includeParams ~G+o;N,V  
      The default includeParams method to generate Struts URLs qv>?xKSm  
      在url中产生 默认的includeParams wxYB-Wh<  
6nRXRO  
j-e/nZR@  
struts.velocity.configfile K; ,2ag  
      The Velocity configuration file path :FcYjw  
      velocity配置文件路径 |]kcgLqj  
sN]O]qYXJ  
struts.velocity.contexts >AX&PMb`  
      List of Velocity context names ?nZQTO7  
      velocity的context列表 bKRz=$P?  
p~1!O]qLt  
;4tmnC>OnA  
struts.velocity.manager.classname 0n` 1GU)W  
      org.apache.struts2.views.velocity.VelocityManager implementation class aZ"9)RJe  
      org.apache.struts2.views.velocity.VelocityManager接口名 |E/U(VS3l~  
<!gq9  
struts.velocity.toolboxlocation WP{!|d&  
      The location of the Velocity toolbox Xk8+  
      velocity工具盒的位置 zX *+J"x  
struts.xslt.nocache MLf,5f;e  
      Whether or not XSLT templates should not be cached !|}(tqt  
      是否XSLT模版应该被缓存 A14}  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八