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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 3N c#6VI  
\GYrP f$  
struts.action.extension u#!QIQW  
      The URL extension to use to determine if the request is meant for a Struts action tf[)Q:|  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 a;bmZh  
uJ-Q]yQ  
struts.configuration m&vuBb3  
      The org.apache.struts2.config.Configuration implementation class RwKnNIp  
        org.apache.struts2.config.Configuration接口名 >vQ8~*xd  
.JCd:'-  
struts.configuration.files L7\V^f%yCm  
      A list of configuration files automatically loaded by Struts Rtpk_ND!  
      struts自动加载的一个配置文件列表 9U&~H*Hf  
42$ pvw<  
struts.configuration.xml.reload 8k +^jj  
      Whether to reload the XML configuration or not |ht:_l 8  
      是否加载xml配置(true,false) 7md,!|m  
gZq _BY_U  
struts.continuations.package &~=FX e0S  
      The package containing actions that use Rife continuations _cvA1Q"  
      含有actions的完整连续的package名称 tVQq,_9C  
jRiXN %  
struts.custom.i18n.resources #No3}O;"g  
      Location of additional localization properties files to load XM1; >#kz  
      加载附加的国际化属性文件(不包含.properties后缀) \MqOHM.[  
Jlp nR#@  
struts.custom.properties q7z`oK5  
      Location of additional configuration properties files to load 1 A%0y)]  
      加载附加的配置文件的位置 lT^/ 8Z<g  
-.xiq0  
Mc,3j~i  
struts.devMode ?_ 476A  
      Whether Struts is in development mode or not Upw`|$1S  
      是否为struts开发模式 A(eB\qG  
ZSWZz8  
struts.dispatcher.parametersWorkaround ;gGq\c  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic or,:5Z  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) FYs]I0}|  
=E.!Ff4~(  
struts.enable.DynamicMethodInvocation MB7`'W  
      Allows one to disable dynamic method invocation from the URL ~Uw;6VXV1  
        允许动态方法调用 .jUM'; l  
rjK]zD9  
struts.freemarker.manager.classname )E|{.K  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 9U>OeTh(  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 )Cu2xRr^`  
ff&jR71E  
struts.i18n.encoding Ie4\d2tQ;  
      The encoding to use for localization messages wKU9I[]  
      国际化信息内码 igx~6G*  
fn#qcZv?  
struts.i18n.reload mUj_V#v  
      Whether the localization messages should automatically be reloaded t"JE+G  
      是否国际化信息自动加载 "7q!u,u  
F[(ocxQZ3  
struts.locale s Poh\n  
      The default locale for the Struts application n&l(aRoyx  
      默认的国际化地区信息 ?wP/l  
]!q>@b  
struts.mapper.class BItH0r7  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class RDfv D|}VN  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )x+P9|  
o_8Wnx^  
struts.multipart.maxSize av&~A+b .r  
      The maximize size of a multipart request (file upload) iC{(vL0P+  
      multipart请求信息的最大尺寸(文件上传用) H-rxn  
NX4G;+6  
struts.multipart.parser c=,HLHpFO(  
      The org.apache.struts2.dispatcher.multipart. Al1_\vx7  
      MultiPartRequest parser implementation for a multipart request (file upload) ]ur?i{S,  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) {p.^E5&  
% n RgHN>  
E+ctiVL  
struts.multipart.saveDir 8eVy*h2:=  
      The directory to use for storing uploaded files nW)?cQ I  
      设置存储上传文件的目录夹 A+|bJ>q  
J#W*,%8O  
struts.objectFactory 8WE@ X)e  
      The com.opensymphony.xwork2.ObjectFactory implementation class +T\<oj%}2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,wf:Fr  
G2<$to~{  
struts.objectFactory.spring.autoWire 5S<Rz)1r  
      Whether Spring should autoWire or not #_eXybUV  
      是否自动绑定Spring L{&>,ww  
b(oe^jeGz  
struts.objectFactory.spring.useClassCache N5c*#lHI  
      Whether Spring should use its class cache or not jG~-V<&  
      是否spring应该使用自身的cache ~&?57Sw*m  
2vTO>*t  
struts.objectTypeDeterminer 2?Y8hm  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class qV9}N-sS  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 $PG(>1e  
\ZM5J  
struts.serve.static.browserCache /qKA1-R}4  
If static content served by the Struts filter should set browser caching header properties or not cLEd -{x  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 up{0ehr  
4E2#krE%  
struts.serve.static {#st>%i  
      Whether the Struts filter should serve static content or not jzJQ/ZFS  
      是否struts过滤器应该提供静态内容 Gphy8~eS  
n }b{u@$  
struts.tag.altSyntax ^k*%`iQ  
      Whether to use the alterative syntax for the tags or not [>N#61CV 5  
      是否可以用替代的语法替代tags lz!(OO,g  
6cd!;Ca  
struts.ui.templateDir g$ HL::  
      The directory containing UI templates ?wu@+  
      UI templates的目录夹 @0]w!q  
0C;Js\>3]  
struts.ui.theme X-tw)  
      The default UI template theme  )ut$644R  
      默认的UI template主题 -RJ~Sky[  
(/At+MF3E  
struts.url.http.port ^vxx]Hji  
      The HTTP port used by Struts URLs *^%+PQ  
      设置http端口 O=t~.]))  
>fMzUTJ4  
struts.url.https.port )!kt9lK  
      The HTTPS port used by Struts URLs 6fo\ z2  
      设置https端口 dG7d}0Ou'  
~n8UN<  
struts.url.includeParams #1%ahPhR+  
      The default includeParams method to generate Struts URLs RP$h;0EQG  
      在url中产生 默认的includeParams %%|pJ%}Q>  
Td,d9M  
4qQE9f xdY  
struts.velocity.configfile "b402"&  
      The Velocity configuration file path +.&P$`;TZj  
      velocity配置文件路径 ?%`Ph ?BZl  
!KJA)znx;(  
struts.velocity.contexts Y(t /=3c[  
      List of Velocity context names }]H7uC!t   
      velocity的context列表 TE;f*!  
Rz&`L8Bz  
Zr1"'+-  
struts.velocity.manager.classname (u ^8=#  
      org.apache.struts2.views.velocity.VelocityManager implementation class g4=C]\1  
      org.apache.struts2.views.velocity.VelocityManager接口名 YO-B|f  
e,{k!BXU#'  
struts.velocity.toolboxlocation ysZ(*K n(?  
      The location of the Velocity toolbox '$Z@oCY#  
      velocity工具盒的位置 [) 0JI6  
struts.xslt.nocache |||m5(`S  
      Whether or not XSLT templates should not be cached i3mw.`7  
      是否XSLT模版应该被缓存 _YG@P1  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
欢迎提供真实交流,考虑发帖者的感受
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八