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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 %t`a-m  
coiTVDwA  
struts.action.extension {.DI[@.g  
      The URL extension to use to determine if the request is meant for a Struts action &X9#{:l=  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 V :*GG+4  
?20y6c<  
struts.configuration ;M>0,  
      The org.apache.struts2.config.Configuration implementation class C5*j0}  
        org.apache.struts2.config.Configuration接口名 m%'9zL c  
HkGzyDt  
struts.configuration.files g=:%j5?.e  
      A list of configuration files automatically loaded by Struts jrvhTej  
      struts自动加载的一个配置文件列表 av&dGsFP  
9Or3X/:o  
struts.configuration.xml.reload `3*>tq  
      Whether to reload the XML configuration or not w1h07_u;v  
      是否加载xml配置(true,false) "u3  
Zj[Bm\ 8  
struts.continuations.package M%1-fd  
      The package containing actions that use Rife continuations ^4`q%_vm  
      含有actions的完整连续的package名称 =3^YKI  
!c\s)&U7B  
struts.custom.i18n.resources qd%5[A  
      Location of additional localization properties files to load -P!vCf^{ t  
      加载附加的国际化属性文件(不包含.properties后缀) j}X4#{jgC  
^-f5;B`\i  
struts.custom.properties JU1U=Lu."  
      Location of additional configuration properties files to load _Oh;._PS  
      加载附加的配置文件的位置 WIQt5=-  
69`9!heu  
l)Q,*i  
struts.devMode bv)E>%Yy  
      Whether Struts is in development mode or not Z: &"Ax  
      是否为struts开发模式 b^;19]/RW  
t9zPJQlT}  
struts.dispatcher.parametersWorkaround GKZn|<Y|{c  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic axxd W)+K  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) @$F(({?  
<u&uwD~A  
struts.enable.DynamicMethodInvocation =5+M]y E<  
      Allows one to disable dynamic method invocation from the URL _C)u#]t  
        允许动态方法调用 = K"F!}  
s@'};E^]@r  
struts.freemarker.manager.classname \@:pWe  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Q{Jz;6"  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 :nd }e  
Z>Rd6o'  
struts.i18n.encoding #z6RzZu  
      The encoding to use for localization messages nv2Y6e}dG  
      国际化信息内码 t'Nu^_#  
|0b$60m$!t  
struts.i18n.reload BT2[@qH|qF  
      Whether the localization messages should automatically be reloaded +wY3E*hU  
      是否国际化信息自动加载 )Mi #{5z  
X.o[=E  
struts.locale nsaf6y&E  
      The default locale for the Struts application qWy{{ A+  
      默认的国际化地区信息 .]k(7F!W  
%Jq(,u  
struts.mapper.class Ad+-/hxc  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class bsR^H5O@  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 VVYQIR]!yk  
q@8Rlc&  
struts.multipart.maxSize TXH: +mc  
      The maximize size of a multipart request (file upload) #OJsu  
      multipart请求信息的最大尺寸(文件上传用) 3r%I *  
b,#cc>76\  
struts.multipart.parser ahhVl=9/ao  
      The org.apache.struts2.dispatcher.multipart. ygd'Nh!@  
      MultiPartRequest parser implementation for a multipart request (file upload) #D .H2'_}  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) 6K[s),rdv  
Yc"G="XP;  
|/]bpG'z  
struts.multipart.saveDir qV@xEgW#r  
      The directory to use for storing uploaded files 3S_KycE{  
      设置存储上传文件的目录夹 Yu9Ccj`  
g5M-Vu  
struts.objectFactory hkRv0q.'  
      The com.opensymphony.xwork2.ObjectFactory implementation class Ipb 4{A&"\  
      com.opensymphony.xwork2.ObjectFactory接口(spring) /:z}WAW  
7 G~MqnO|  
struts.objectFactory.spring.autoWire  h%E25in  
      Whether Spring should autoWire or not ' f}^/`J  
      是否自动绑定Spring yV$p(+KkS  
< ;Qle  
struts.objectFactory.spring.useClassCache n?YGX W/  
      Whether Spring should use its class cache or not ]Q6,,/nn  
      是否spring应该使用自身的cache c42p>}P[  
JLT':e~PX  
struts.objectTypeDeterminer 4Q z  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class bO9F rEz5  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 R 7xV{o  
f]J?-ks  
struts.serve.static.browserCache #Ru+|KL  
If static content served by the Struts filter should set browser caching header properties or not AZI%KM[  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 pn{.oXomf  
$QNfy.6Tn  
struts.serve.static .^,fw=T|1  
      Whether the Struts filter should serve static content or not f|m.v +7k  
      是否struts过滤器应该提供静态内容 Jn' q'+  
KynQ <I/  
struts.tag.altSyntax p!hewtb5  
      Whether to use the alterative syntax for the tags or not dn:g_!]p  
      是否可以用替代的语法替代tags DS=kSkW^&5  
~ Y4H)r  
struts.ui.templateDir Mff_j0D  
      The directory containing UI templates E@0w t^  
      UI templates的目录夹 E{wVf_K  
FK }x*d  
struts.ui.theme U%t:]6d&}  
      The default UI template theme RLw=y{%p  
      默认的UI template主题 D<5gdIw  
/UN%P2>^1  
struts.url.http.port '/z.\S  
      The HTTP port used by Struts URLs sN5 x\9U  
      设置http端口 H1s{JJAM>i  
)WwysGkqol  
struts.url.https.port o7DDL{iR/  
      The HTTPS port used by Struts URLs e4khReF;  
      设置https端口 rZKv:x}{6  
QkGr{  
struts.url.includeParams O|4~$7  
      The default includeParams method to generate Struts URLs 3|/ ;`KfQ  
      在url中产生 默认的includeParams jdXkU  
/n@_Ihx  
X'7 T"5!  
struts.velocity.configfile cK@O)Ko}  
      The Velocity configuration file path bsP:tFw>  
      velocity配置文件路径 0=t_ a]+  
AH`tkPd  
struts.velocity.contexts O JvEq@  
      List of Velocity context names uLe+1`Y5Ux  
      velocity的context列表 9oKRu6]D-  
*>$'aQ  
sFC1PdSk4T  
struts.velocity.manager.classname h&h]z[r R  
      org.apache.struts2.views.velocity.VelocityManager implementation class MCz +l0  
      org.apache.struts2.views.velocity.VelocityManager接口名 {Y` 0}  
\ 8ulX>]  
struts.velocity.toolboxlocation EpOVrk  
      The location of the Velocity toolbox M}(4>W  
      velocity工具盒的位置 QTcngv[  
struts.xslt.nocache ;9,Ll%Lk<  
      Whether or not XSLT templates should not be cached ?9mWMf%t  
      是否XSLT模版应该被缓存 &y3_>!L  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
批量上传需要先选择文件,再选择上传
认证码:
验证问题:
3+5=?,请输入中文答案:八 正确答案:八