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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 V# w$|B\  
s<z{(a  
struts.action.extension Pp3tEZfE  
      The URL extension to use to determine if the request is meant for a Struts action :!3CoC.X|c  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 u&bo32fc  
1NN99^ q  
struts.configuration "v jFL9  
      The org.apache.struts2.config.Configuration implementation class yBauK-7*c  
        org.apache.struts2.config.Configuration接口名 SLz^Wg._  
*8js{G0h  
struts.configuration.files 9+=U&*  
      A list of configuration files automatically loaded by Struts sP5PYNspA  
      struts自动加载的一个配置文件列表 R$(,~~MH  
<+sv7"a  
struts.configuration.xml.reload #(bMZ!/(  
      Whether to reload the XML configuration or not `6 lc]r  
      是否加载xml配置(true,false) #i.M-6SRd  
t 7;V`[  
struts.continuations.package L4}C%c\p*  
      The package containing actions that use Rife continuations 8*4X%a=Of  
      含有actions的完整连续的package名称 vYmRW-1Zxq  
.yQDW]q81G  
struts.custom.i18n.resources InNuK0@  
      Location of additional localization properties files to load  uGc}^a2  
      加载附加的国际化属性文件(不包含.properties后缀) 04:^<n+{  
K!HSQ,AC  
struts.custom.properties E n{vCN  
      Location of additional configuration properties files to load eNu `\  
      加载附加的配置文件的位置 tQz-tQg  
N\HOo-X  
WK /Byd.Z  
struts.devMode 98Pt&C?-B  
      Whether Struts is in development mode or not a,M7Bb x  
      是否为struts开发模式 <G\q/!@_  
O)`R)MQ)  
struts.dispatcher.parametersWorkaround 2@:Go`mg  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 5"^$3&)  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) LurBqr  
io$AGi  
struts.enable.DynamicMethodInvocation GvF~h0wMt  
      Allows one to disable dynamic method invocation from the URL rMfp%DMA  
        允许动态方法调用 8>6+]]O  
o}7`SYn  
struts.freemarker.manager.classname {Z1j>h$  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ui YZk3  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 MPT*[&\-  
^l7u^j  
struts.i18n.encoding 2^Q)~sSf9  
      The encoding to use for localization messages f77Jn^Dt  
      国际化信息内码 EFqWnz  
@lDoMm,m'  
struts.i18n.reload j5G8IP_Wx  
      Whether the localization messages should automatically be reloaded <8+.v6DCd  
      是否国际化信息自动加载 C:0Ra^i ?L  
DE^{8YX,  
struts.locale +VI2i~  
      The default locale for the Struts application vv"_u=H  
      默认的国际化地区信息 oh:g  
xQ^zX7  
struts.mapper.class "S_t%m&R  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class ygWo9?  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 oOmPbAY  
UOy`N~\gh+  
struts.multipart.maxSize O9dIobu4  
      The maximize size of a multipart request (file upload) a5:YP  
      multipart请求信息的最大尺寸(文件上传用) o[O-|XL_  
hcWkAR  
struts.multipart.parser 37T<LU  
      The org.apache.struts2.dispatcher.multipart. >j|.pi  
      MultiPartRequest parser implementation for a multipart request (file upload) Zh6bUxr  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) }tua0{N:z  
TmoODG>@  
,L6d~>=41  
struts.multipart.saveDir GTeFDm; T^  
      The directory to use for storing uploaded files >ys>Q)  
      设置存储上传文件的目录夹 Siq2Glg_  
B'lWs;  
struts.objectFactory co|jUDu>W  
      The com.opensymphony.xwork2.ObjectFactory implementation class O3j:Y|N@F  
      com.opensymphony.xwork2.ObjectFactory接口(spring) gieTkZ  
&BFW`5N  
struts.objectFactory.spring.autoWire m@u!frE,  
      Whether Spring should autoWire or not =^|^" b  
      是否自动绑定Spring _ohZTT%l  
V; Yl:*  
struts.objectFactory.spring.useClassCache (lTM5qC  
      Whether Spring should use its class cache or not 0 j:8 Ve  
      是否spring应该使用自身的cache .Xc, Gq{  
nz3j";d  
struts.objectTypeDeterminer p'0jdb :S  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class o6 'I%Gs  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 h*Rh:yCR>  
&<_*yl p  
struts.serve.static.browserCache A{bt Z#k  
If static content served by the Struts filter should set browser caching header properties or not qb]n{b2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _rR+u56y-  
p&>*bF,  
struts.serve.static D}>pl8ke~g  
      Whether the Struts filter should serve static content or not q?nXhUD  
      是否struts过滤器应该提供静态内容 \j+O |#`|)  
kn^RS1m  
struts.tag.altSyntax +%OINMo.A  
      Whether to use the alterative syntax for the tags or not J{ P<^<m_  
      是否可以用替代的语法替代tags k?;A#L~  
JN .\{ Y  
struts.ui.templateDir /!=uM .  
      The directory containing UI templates TUw^KSa  
      UI templates的目录夹 m$ )yd~  
}/nbv;)  
struts.ui.theme X};m\Bz  
      The default UI template theme ] QGYEjW  
      默认的UI template主题 wc* 5s7_  
j&6,%s-M`a  
struts.url.http.port GvF8S MO[x  
      The HTTP port used by Struts URLs '_lyoVP  
      设置http端口 L'BDS*  
5bYU(]  
struts.url.https.port &=Gz[1 L  
      The HTTPS port used by Struts URLs jr bEJ.  
      设置https端口 W2D^%;mw  
CC0@RU  
struts.url.includeParams AON";&dLq-  
      The default includeParams method to generate Struts URLs HgvgO\`]  
      在url中产生 默认的includeParams ?l! L )!2  
ig4wwd@|  
%0fF_OU  
struts.velocity.configfile K_{f6c<  
      The Velocity configuration file path HJhPd#xCW  
      velocity配置文件路径 {>H#/I8si  
%<lfe<;^t  
struts.velocity.contexts (%}T\~`1z#  
      List of Velocity context names EgOAEv  
      velocity的context列表 A[oLV"J6x5  
X6kB R  
rbiNp6AdL  
struts.velocity.manager.classname |s-q+q{|  
      org.apache.struts2.views.velocity.VelocityManager implementation class }__g\?Yf  
      org.apache.struts2.views.velocity.VelocityManager接口名 R7;SZo  
jJk M:iR  
struts.velocity.toolboxlocation D9zw' R Y  
      The location of the Velocity toolbox rlT[tOVAY  
      velocity工具盒的位置 XSyCT0f08  
struts.xslt.nocache PVP,2Yq!  
      Whether or not XSLT templates should not be cached Fq!12/Nn  
      是否XSLT模版应该被缓存 QZB2yK3]h  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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