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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 E@%X  
Xgs 31#K  
struts.action.extension AnUOv 2  
      The URL extension to use to determine if the request is meant for a Struts action ,*Vt53@E  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 Q:/BC= ~  
F N)vFQ#J  
struts.configuration kq m$a  
      The org.apache.struts2.config.Configuration implementation class 5/m^9@A  
        org.apache.struts2.config.Configuration接口名 k&kx%skz  
uk\-"dS  
struts.configuration.files k OycS  
      A list of configuration files automatically loaded by Struts :vqfWK6mv  
      struts自动加载的一个配置文件列表 q_sQC5:s  
pO~lVM  
struts.configuration.xml.reload HS% P  
      Whether to reload the XML configuration or not k8~/lE.Wy  
      是否加载xml配置(true,false) H$j`75#u?-  
) C?emTih  
struts.continuations.package :gvw5h%  
      The package containing actions that use Rife continuations p` '8M  
      含有actions的完整连续的package名称 n qR8uL>  
ND3(oes+;K  
struts.custom.i18n.resources 8,(FJ7OCT,  
      Location of additional localization properties files to load f Cq  
      加载附加的国际化属性文件(不包含.properties后缀) D02_ Jrg  
ee9nfvG-  
struts.custom.properties $d[xSwang  
      Location of additional configuration properties files to load %^r}$mfy:0  
      加载附加的配置文件的位置 Gl+Ql?|  
?3vOc/2@  
iHp@R-g  
struts.devMode ATdK)gG  
      Whether Struts is in development mode or not 0A7 qO1%xw  
      是否为struts开发模式 0d%p<c  
~MOab e  
struts.dispatcher.parametersWorkaround R p!R&U/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic }E}b/ulg1  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) pu"`*NL  
3O W) %  
struts.enable.DynamicMethodInvocation (zm5 4 Vm  
      Allows one to disable dynamic method invocation from the URL >*5+{~k~4  
        允许动态方法调用 AhjUFz  
r-ldqj  
struts.freemarker.manager.classname H,F/u&O  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class ) ag8]   
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 pX nY=  
#DL( %=:  
struts.i18n.encoding 6@2 S*\&  
      The encoding to use for localization messages 2`-yzm  
      国际化信息内码 Xg](V.B6  
RnA>oKc  
struts.i18n.reload j\ dY  
      Whether the localization messages should automatically be reloaded ,s?7EHtC  
      是否国际化信息自动加载 LHt{y3l]  
41d,<E  
struts.locale c]y"5;V8  
      The default locale for the Struts application {u1Rc/Lw  
      默认的国际化地区信息 6__#n`  
T2nbU6H  
struts.mapper.class 7H1 ii   
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class t:|+U:! >  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 s?.A $^t  
6+:Tv2  
struts.multipart.maxSize RawK9K_1  
      The maximize size of a multipart request (file upload) HhmC+3w.7  
      multipart请求信息的最大尺寸(文件上传用) &r{.b#7\/A  
*acN/Ca1  
struts.multipart.parser ; U)a)l'y  
      The org.apache.struts2.dispatcher.multipart. 1lxsj{>U  
      MultiPartRequest parser implementation for a multipart request (file upload) tPT\uD#t  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) GQNs:oRJ'  
^Ms)T3dM  
y5XHJUTu  
struts.multipart.saveDir gZ5E%']sT  
      The directory to use for storing uploaded files s[V$f vW  
      设置存储上传文件的目录夹 <By6%<JTn  
p8>.Q/4  
struts.objectFactory ?D].Za^km  
      The com.opensymphony.xwork2.ObjectFactory implementation class Pgy&/-u  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +&W%]KEh  
q+MV@8w  
struts.objectFactory.spring.autoWire  M>mk=-l  
      Whether Spring should autoWire or not v}=3  
      是否自动绑定Spring reyN5n~4U  
{\OIowa  
struts.objectFactory.spring.useClassCache @$5GxIw<l  
      Whether Spring should use its class cache or not e$k ]z HlQ  
      是否spring应该使用自身的cache >bf29tr  
0L34)W  
struts.objectTypeDeterminer hrwQh2sm  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class YU89m7cc'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 {[~ !6&2(k  
+fgF &.  
struts.serve.static.browserCache ^lqcF.  
If static content served by the Struts filter should set browser caching header properties or not }`oe<|  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ~zklrBn&  
+\`D1d@  
struts.serve.static UF[2Rb8?  
      Whether the Struts filter should serve static content or not sckyG  
      是否struts过滤器应该提供静态内容 KfU4#2}  
(c /H$'  
struts.tag.altSyntax nt,tM/  
      Whether to use the alterative syntax for the tags or not idwiM|.iU  
      是否可以用替代的语法替代tags Xd_86q8o  
@j%r6N  
struts.ui.templateDir \dyJ=tg  
      The directory containing UI templates _E e`Uk  
      UI templates的目录夹 {gE19J3  
*t;'I -1w^  
struts.ui.theme s!\uR.  
      The default UI template theme U _~lpu  
      默认的UI template主题 73$^y)AvY  
4:\s.Z{!3  
struts.url.http.port r( _9_%[  
      The HTTP port used by Struts URLs P@Wi^svj  
      设置http端口 UTEUVcJ\  
w_po5[]R  
struts.url.https.port |kvom 4T  
      The HTTPS port used by Struts URLs }]pq&v!  
      设置https端口 "_qH+ =_R  
wVvk{tS  
struts.url.includeParams pV:c`1\`  
      The default includeParams method to generate Struts URLs d}K"dr:W5  
      在url中产生 默认的includeParams SRl:+!@.  
}5H3DavW  
6#xP[hlR[  
struts.velocity.configfile 7xP>AU)y  
      The Velocity configuration file path s(Of EzsH=  
      velocity配置文件路径 3K2`1+kBVG  
#zC_;u$  
struts.velocity.contexts K/Q^8%Z  
      List of Velocity context names aOq>Ra{T  
      velocity的context列表 \(t.|  
.+<Ul ]e/  
T}(J`{ 9i  
struts.velocity.manager.classname .6%-Il  
      org.apache.struts2.views.velocity.VelocityManager implementation class n'D1s:W^B  
      org.apache.struts2.views.velocity.VelocityManager接口名 7|6uY  
!>B|z=  
struts.velocity.toolboxlocation 1F*gPhm  
      The location of the Velocity toolbox }&d@6m]  
      velocity工具盒的位置 xrX^";}j  
struts.xslt.nocache )v1n#m,W  
      Whether or not XSLT templates should not be cached nDnSVrvd-i  
      是否XSLT模版应该被缓存 & ?mH[rG"  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您在写长篇帖子又不马上发表,建议存为草稿
认证码:
验证问题:
10+5=?,请输入中文答案:十五