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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 eAXc:222  
}2<r,  
struts.action.extension TcIcS]w%  
      The URL extension to use to determine if the request is meant for a Struts action =4[v 3Qx  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 \n{qsf:  
{. 2k6_1[  
struts.configuration <Fi%iA  
      The org.apache.struts2.config.Configuration implementation class z*kutZ:6Y  
        org.apache.struts2.config.Configuration接口名 MNC*Glj=  
CsTF  
struts.configuration.files 0uWR<,]  
      A list of configuration files automatically loaded by Struts 3{""58  
      struts自动加载的一个配置文件列表 b?TO=~k,  
?3*l{[@J  
struts.configuration.xml.reload i 7_ _  
      Whether to reload the XML configuration or not /e7O$L)   
      是否加载xml配置(true,false) ^.#jF#u~  
P/c&@_b  
struts.continuations.package fIj|4a+  
      The package containing actions that use Rife continuations nN*w~f"  
      含有actions的完整连续的package名称 QrfG^GID  
'qjeXqGH$  
struts.custom.i18n.resources JQV%fTHS  
      Location of additional localization properties files to load LA@w:Fg  
      加载附加的国际化属性文件(不包含.properties后缀) "]z-: \ V  
dQ_!)f&w1  
struts.custom.properties ~V&aUDO>/  
      Location of additional configuration properties files to load h(M#f7'~&  
      加载附加的配置文件的位置  TR<<+  
k%D+Y(WGz8  
R($KSui  
struts.devMode jqv-D  
      Whether Struts is in development mode or not dik:4;  
      是否为struts开发模式 4"{ooy^Q  
dE:+k/  
struts.dispatcher.parametersWorkaround ^~G8?]w  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ZkAU17f  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) &GlwC%$S  
U4gF(Q  
struts.enable.DynamicMethodInvocation _{r=.W+ w  
      Allows one to disable dynamic method invocation from the URL @c<3b2  
        允许动态方法调用 LUuZ9$t0J"  
J13>i7]L%  
struts.freemarker.manager.classname hJDi7P  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class :Qumb  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 5#> 8MU?&  
#gp,V#T  
struts.i18n.encoding MKy[hT:  
      The encoding to use for localization messages }*lUah,@  
      国际化信息内码 +w.JpbQ&  
>c9a0A  
struts.i18n.reload 11<Qxu$rL  
      Whether the localization messages should automatically be reloaded #tZ4N7  
      是否国际化信息自动加载 |55N?=8  
&m|wH4\  
struts.locale  AT9q3  
      The default locale for the Struts application g{8,Wx,,  
      默认的国际化地区信息 1jN-4&  
hg+X(0  
struts.mapper.class  :@%4  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class QS{1CC9$  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 W0epAGrB  
Ys,{8Y,7  
struts.multipart.maxSize Z$0 uH*h  
      The maximize size of a multipart request (file upload) /[Z,MG  
      multipart请求信息的最大尺寸(文件上传用) ZHGC6a!a  
)=AHf?hn  
struts.multipart.parser b!sRk@LGZ  
      The org.apache.struts2.dispatcher.multipart. fRtUvC-#H  
      MultiPartRequest parser implementation for a multipart request (file upload) O)ME"@r@:  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 'h^0HE\~p  
MxGu>r  
j:E<p_T  
struts.multipart.saveDir KnsT\>[K  
      The directory to use for storing uploaded files qW!]co  
      设置存储上传文件的目录夹 s<oNE)xe  
 A-4h  
struts.objectFactory J.ck~;3  
      The com.opensymphony.xwork2.ObjectFactory implementation class % !du,2  
      com.opensymphony.xwork2.ObjectFactory接口(spring) 6ek;8dL  
Y}uCP1v  
struts.objectFactory.spring.autoWire \|E^v6E%0  
      Whether Spring should autoWire or not AgFVv5  
      是否自动绑定Spring 7b<je=G6PA  
ai nG6Y<O`  
struts.objectFactory.spring.useClassCache =|I>G?g-  
      Whether Spring should use its class cache or not PI`jExL  
      是否spring应该使用自身的cache q o\?o    
_io+YzS  
struts.objectTypeDeterminer [k6nW:C  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class [ { bV4  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ADpmvW f?  
du)~kU>l  
struts.serve.static.browserCache .G+Pe'4a  
If static content served by the Struts filter should set browser caching header properties or not M@?xa/E64  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 p;W.lcO`0  
DdVF,  
struts.serve.static :,J}z~I,lB  
      Whether the Struts filter should serve static content or not agjv{  
      是否struts过滤器应该提供静态内容 [1F* bI  
Iz ;G*W18  
struts.tag.altSyntax Yc,7tUz#  
      Whether to use the alterative syntax for the tags or not Y7vA`kjD-C  
      是否可以用替代的语法替代tags Sh?4r i@:  
%,Ap7X3:QT  
struts.ui.templateDir :{oZ~<  
      The directory containing UI templates ~-PjW#J%  
      UI templates的目录夹 df n9!h  
Q8 DQlqHm  
struts.ui.theme ;_^fk&+  
      The default UI template theme 0#ClWynjRO  
      默认的UI template主题 Eh|]i;G%  
G.( mp<-  
struts.url.http.port ( YQWbOk  
      The HTTP port used by Struts URLs *,Za6.=  
      设置http端口 w9o^s5n  
,:??P1  
struts.url.https.port  w~ [b*$  
      The HTTPS port used by Struts URLs f|R"u W +  
      设置https端口 'A:x/iv}^  
%K>.lh@  
struts.url.includeParams [o.B  
      The default includeParams method to generate Struts URLs F0:A]`|  
      在url中产生 默认的includeParams 'k4E4OB  
cOPB2\,  
xj[(P$,P  
struts.velocity.configfile xia|+  
      The Velocity configuration file path ap{2$k ,  
      velocity配置文件路径 aBNZdX]vzO  
PJ2qfYsH=>  
struts.velocity.contexts Pv<24:ao  
      List of Velocity context names t 0-(U\  
      velocity的context列表 v>Mnl  
$6CwkM:  
(s{RnD  
struts.velocity.manager.classname v{9t]s>B  
      org.apache.struts2.views.velocity.VelocityManager implementation class u-tQ9ioKC  
      org.apache.struts2.views.velocity.VelocityManager接口名 L~I hsiB  
XK: 9r{r{  
struts.velocity.toolboxlocation M?[h0{^K  
      The location of the Velocity toolbox ^b7GH9<&  
      velocity工具盒的位置 rtL}W__  
struts.xslt.nocache ^|TG$`M(w  
      Whether or not XSLT templates should not be cached xCYE B}o9r  
      是否XSLT模版应该被缓存 Gkp< o  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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