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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 |%#NA!e4wA  
P|lDW|}D@  
struts.action.extension N7}3?wS  
      The URL extension to use to determine if the request is meant for a Struts action =;Co0Q`  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 UA]T7r@  
Pf?&ys6  
struts.configuration (|<+yQ,@>  
      The org.apache.struts2.config.Configuration implementation class ypemp=+(r  
        org.apache.struts2.config.Configuration接口名 p/7'r  
+eKLwM  
struts.configuration.files qkp0'f*}  
      A list of configuration files automatically loaded by Struts =(P$P  
      struts自动加载的一个配置文件列表 umAO&S.+M  
{ ] 0T  
struts.configuration.xml.reload ySDo(EI4  
      Whether to reload the XML configuration or not p15dbr1  
      是否加载xml配置(true,false) <}c7E3Uc  
9` VY)"rJ  
struts.continuations.package mMWhUr  
      The package containing actions that use Rife continuations }y J,&N'p  
      含有actions的完整连续的package名称 SdMLO6-  
-ULgVGYKK  
struts.custom.i18n.resources aZa1eE  
      Location of additional localization properties files to load '"LaaTTs  
      加载附加的国际化属性文件(不包含.properties后缀) 8WpNlB+:{  
+;pw^QB  
struts.custom.properties (Nd)$Oq[4  
      Location of additional configuration properties files to load dN:^RCFzS  
      加载附加的配置文件的位置 iyUnxqP  
Z0'LD<  
v^p* l0r6:  
struts.devMode eOXu^M>:F  
      Whether Struts is in development mode or not i$ hWX4L  
      是否为struts开发模式 u WdKG({][  
gVJh@]8)  
struts.dispatcher.parametersWorkaround I3sfOU  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic MU `!s b*  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) "A~D(1K  
z^4+U n  
struts.enable.DynamicMethodInvocation t.O~RE  
      Allows one to disable dynamic method invocation from the URL _F4=+dT|  
        允许动态方法调用 yzL9Ic  
 z.2UZ%:  
struts.freemarker.manager.classname 4 CiRh  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class CO@ kLI  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 nG?Z* n  
 Yy`A0v  
struts.i18n.encoding CQ Ei(ty  
      The encoding to use for localization messages u$ o 19n  
      国际化信息内码 --c)!Vxzx  
Z?9G2<i  
struts.i18n.reload Hl{ul'o  
      Whether the localization messages should automatically be reloaded X2,v'`U5&  
      是否国际化信息自动加载 <Zfh5AM  
OH]45bd &7  
struts.locale QC] <`!  
      The default locale for the Struts application ~]<VEji  
      默认的国际化地区信息 e85E+S%  
)7P>Hj  
struts.mapper.class ]y$/~(OW  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class Q4S:/"*v8  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 )/OIzbA3#  
2pSp(@N3  
struts.multipart.maxSize L7xiq{t`Y  
      The maximize size of a multipart request (file upload) Z$('MQ|Ur  
      multipart请求信息的最大尺寸(文件上传用) C+t|fSJ  
B7[#z{8'#  
struts.multipart.parser !Bg^-F:N  
      The org.apache.struts2.dispatcher.multipart. 4[%_Bnv#AJ  
      MultiPartRequest parser implementation for a multipart request (file upload) W&I:z-VH  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ,LLx&jS  
#BH]`A J  
I?\P^f  
struts.multipart.saveDir AxO.adQE%  
      The directory to use for storing uploaded files q8GCO\(  
      设置存储上传文件的目录夹 &=T>($3r94  
@cx#'  
struts.objectFactory W!=ur,F+  
      The com.opensymphony.xwork2.ObjectFactory implementation class fti0Tz'  
      com.opensymphony.xwork2.ObjectFactory接口(spring) K 4{[s z  
OP_\V8=  
struts.objectFactory.spring.autoWire o(D_ /]'8  
      Whether Spring should autoWire or not Pe11a zJ  
      是否自动绑定Spring {D,- Whi  
W~l.feW$i  
struts.objectFactory.spring.useClassCache c7tO'`q$e  
      Whether Spring should use its class cache or not $0~1;@`rQ6  
      是否spring应该使用自身的cache n#4T o;CS  
!<X/_+G\  
struts.objectTypeDeterminer R.GDCGAL  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class E=,fdyj.  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 *N6sxFs  
(Bpn9}F-V.  
struts.serve.static.browserCache DwTVoCC  
If static content served by the Struts filter should set browser caching header properties or not g]?>6 %#rA  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 k@>(sXs  
l Yj$ 3  
struts.serve.static XN3'k[  
      Whether the Struts filter should serve static content or not XF@34b5(  
      是否struts过滤器应该提供静态内容 0juP"v$C>  
|a'$v4dCF  
struts.tag.altSyntax Fd%JF#Hk  
      Whether to use the alterative syntax for the tags or not ~eiD(04^r*  
      是否可以用替代的语法替代tags 7o7FW=^  
Y%(8'Ch  
struts.ui.templateDir qR%as0;  
      The directory containing UI templates 7Fzr\&  
      UI templates的目录夹 mMCd   
{t]8#[lo  
struts.ui.theme ?+{_x^  
      The default UI template theme dtV7YPz4+  
      默认的UI template主题 _vAc/_ N  
M%$- c3x  
struts.url.http.port .`&k`  
      The HTTP port used by Struts URLs @FRas00)|  
      设置http端口 >LVGNicQ  
diKl}V#u  
struts.url.https.port /f=31<+MtF  
      The HTTPS port used by Struts URLs $KoGh_h   
      设置https端口 g/w <T+v  
4i"fHVp8  
struts.url.includeParams g-/ }*m l  
      The default includeParams method to generate Struts URLs B,ao%3t  
      在url中产生 默认的includeParams @)ls+}=Y  
$L'[_J  
2frwU~y  
struts.velocity.configfile !_iv~Q zv  
      The Velocity configuration file path Jgq#m~M6  
      velocity配置文件路径 ~svea>Fmr  
)]zsAw`/  
struts.velocity.contexts [[ll4|  
      List of Velocity context names mWMtz]M}  
      velocity的context列表 "|E'E"_1  
+'[/eW  
iBY16_q  
struts.velocity.manager.classname hN\Q&F!  
      org.apache.struts2.views.velocity.VelocityManager implementation class Fc^!="H  
      org.apache.struts2.views.velocity.VelocityManager接口名 A^\g]rmK  
F&7^M0x\ O  
struts.velocity.toolboxlocation aR)w~s\6  
      The location of the Velocity toolbox "=2'Oqp1  
      velocity工具盒的位置 r( bA>L*mk  
struts.xslt.nocache *}>)E]O@  
      Whether or not XSLT templates should not be cached Fj`K$K?  
      是否XSLT模版应该被缓存 >h$Q%w{V  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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