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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 & *tL)qKDc  
wHbmK  
struts.action.extension `Fcr`[  
      The URL extension to use to determine if the request is meant for a Struts action "(jD*\8x  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 T=/c0#Q|q  
0;x&\x7K  
struts.configuration W7C1\'T  
      The org.apache.struts2.config.Configuration implementation class N!.o`4 "z  
        org.apache.struts2.config.Configuration接口名 BqJ|l7+  
.S:(O+#Gm  
struts.configuration.files C'@I!m._i  
      A list of configuration files automatically loaded by Struts `(j~b=PP  
      struts自动加载的一个配置文件列表 =m<b+@?T  
}alq~jY  
struts.configuration.xml.reload N?c~AEk9U  
      Whether to reload the XML configuration or not <f (z\pi1  
      是否加载xml配置(true,false) 2aTq?ZR|8A  
NEIF1( :  
struts.continuations.package @=G [mc\  
      The package containing actions that use Rife continuations (<B%Gy@  
      含有actions的完整连续的package名称 )z&C&Gqz  
$@s-OQ}  
struts.custom.i18n.resources WCY._H>|   
      Location of additional localization properties files to load 0vEQgx>  
      加载附加的国际化属性文件(不包含.properties后缀) qbQdx Kk  
PP! /WX  
struts.custom.properties tJ\v>s-f  
      Location of additional configuration properties files to load <c5g-*V:  
      加载附加的配置文件的位置 ADF<5#I  
Wlg1t~1=  
zvGncjMkC  
struts.devMode #e=E  
      Whether Struts is in development mode or not F,as>X#  
      是否为struts开发模式 cGs& Kn;h  
PE;<0Cz\  
struts.dispatcher.parametersWorkaround ){mqo%{SO  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic m2~`EL>  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) LRw-I.z  
kXdXyq  
struts.enable.DynamicMethodInvocation ,f%4xXI  
      Allows one to disable dynamic method invocation from the URL d_:f-  
        允许动态方法调用 @r<2]RXlc  
Zk~Pq%u  
struts.freemarker.manager.classname CqWO 0  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class `_.:O,^n^  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 8 # BR\  
D?dS/agA  
struts.i18n.encoding Lo}T%0"G  
      The encoding to use for localization messages rR ^o  
      国际化信息内码 G/~b(V;>  
;Tk/}Od!VN  
struts.i18n.reload cxQ %tL+S&  
      Whether the localization messages should automatically be reloaded XFWE^*e=B  
      是否国际化信息自动加载 ^[R/W VNk  
Rt,po  
struts.locale 3-AOB3](  
      The default locale for the Struts application H6 ,bpjY  
      默认的国际化地区信息 ) iV^rLwL  
KXz7l\1Gb  
struts.mapper.class 7Ou]!AOhG  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class [OPF3W3z  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 -1hCi !  
_J2?B?S/j  
struts.multipart.maxSize Jj0:p"  
      The maximize size of a multipart request (file upload) \d.\M  
      multipart请求信息的最大尺寸(文件上传用) 'ahz@+l O  
vz3olHX  
struts.multipart.parser jZ"j_ =o@  
      The org.apache.struts2.dispatcher.multipart. #zgO_ H  
      MultiPartRequest parser implementation for a multipart request (file upload) Mig l  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) DD  
CX2qtI8N?  
FQ 0 ;%Z  
struts.multipart.saveDir d~6UJ=]@8  
      The directory to use for storing uploaded files N/#x  
      设置存储上传文件的目录夹 "5ISKuL  
 `wIWK7i  
struts.objectFactory C2b<is=H:  
      The com.opensymphony.xwork2.ObjectFactory implementation class a".iVf6y  
      com.opensymphony.xwork2.ObjectFactory接口(spring) zRgGSxn  
sEKF  
struts.objectFactory.spring.autoWire :_F 8O  
      Whether Spring should autoWire or not t@ri`?0w  
      是否自动绑定Spring F_ -Xx"  
1Ke9H!_P  
struts.objectFactory.spring.useClassCache xY.?OHgG/  
      Whether Spring should use its class cache or not *>:<  
      是否spring应该使用自身的cache yK"HHdYTV  
"9X!Ewm"P  
struts.objectTypeDeterminer vqVwo\oEdU  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Kv:.bHN}  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 pI.8Ip_r  
u^i3@JuX  
struts.serve.static.browserCache n'j}u  
If static content served by the Struts filter should set browser caching header properties or not 4\ElMb[]  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .=yv m  
X>pCkGE  
struts.serve.static #RyTa /L  
      Whether the Struts filter should serve static content or not )Pc>+} D  
      是否struts过滤器应该提供静态内容 =j20A6gND  
{~#PM>f  
struts.tag.altSyntax hpbi!g  
      Whether to use the alterative syntax for the tags or not 6wbH{}\ll  
      是否可以用替代的语法替代tags 4$mtc*tzT  
LOG>x!  
struts.ui.templateDir 8 .K; 2  
      The directory containing UI templates Wwr  
      UI templates的目录夹 A42!%>PB  
eHIcfp@&  
struts.ui.theme r}(mjC"o  
      The default UI template theme e%)MIAS0  
      默认的UI template主题 6#qt%t%?D  
1A* "v  
struts.url.http.port b5.]}>]t  
      The HTTP port used by Struts URLs R?#=^$7U  
      设置http端口 |+[Y_j  
$*:$-  
struts.url.https.port w/PE)xA  
      The HTTPS port used by Struts URLs nWK7*  
      设置https端口 Q.3:"dT  
QX&Y6CC`]  
struts.url.includeParams @KHY8y7  
      The default includeParams method to generate Struts URLs o!&+ _BKw  
      在url中产生 默认的includeParams Vo.~1^  
fo~*Bp()-E  
WCk. K  
struts.velocity.configfile C1l'<  
      The Velocity configuration file path +M#}(hK  
      velocity配置文件路径 ZzQLbCV  
!&.-{ _$  
struts.velocity.contexts )J+A2>  
      List of Velocity context names ^ rUq{  
      velocity的context列表 +7AH|v8  
eJ ^I+?h  
cF EO}  
struts.velocity.manager.classname 0r i  
      org.apache.struts2.views.velocity.VelocityManager implementation class <c<!|<x  
      org.apache.struts2.views.velocity.VelocityManager接口名 q \fyp\z  
nz#eJ  
struts.velocity.toolboxlocation f+1'Ah0'E  
      The location of the Velocity toolbox 5}! 36SO\  
      velocity工具盒的位置 =}I=s@  
struts.xslt.nocache 9x8Vsd  
      Whether or not XSLT templates should not be cached `ueOb  
      是否XSLT模版应该被缓存 CvEIcm=t  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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