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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 tv_&PIu]L  
+Qf<*  
struts.action.extension v!W{j&N  
      The URL extension to use to determine if the request is meant for a Struts action +#Wwah$  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 [w90gp1O[  
v5F+@ug  
struts.configuration 7$*X   
      The org.apache.struts2.config.Configuration implementation class TwsI8X  
        org.apache.struts2.config.Configuration接口名 y_' 6bpb  
U=WS]  
struts.configuration.files x5|^p=  
      A list of configuration files automatically loaded by Struts j5[Y0)pV\  
      struts自动加载的一个配置文件列表 $XI.`L *g  
M-Ek(K3SRf  
struts.configuration.xml.reload ^I KT!"J&?  
      Whether to reload the XML configuration or not edo+ o{^  
      是否加载xml配置(true,false) RGL2S]UFs  
fx-8mf3  
struts.continuations.package Z2t\4|wr:  
      The package containing actions that use Rife continuations f`)*bx  
      含有actions的完整连续的package名称 #W&o]FAA3y  
O7CW#F  
struts.custom.i18n.resources *M)M!jTv  
      Location of additional localization properties files to load }K5okxio  
      加载附加的国际化属性文件(不包含.properties后缀) I^nDO\m <  
f92z/5%V  
struts.custom.properties TlowEh8r  
      Location of additional configuration properties files to load &1Cs'  
      加载附加的配置文件的位置 ,+ 5:}hR+  
d'"|Qg_'  
 wX5q=I  
struts.devMode ez5J+  
      Whether Struts is in development mode or not 6?Kl L [~  
      是否为struts开发模式 S:XsO9:{  
7 =D,D+f  
struts.dispatcher.parametersWorkaround ,5x#o  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic S@'%dN6e  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) :..WL;gC  
5DDSo0E  
struts.enable.DynamicMethodInvocation SK#&%Yk  
      Allows one to disable dynamic method invocation from the URL tY>Zy1hlI  
        允许动态方法调用 v[2&0&!K#  
qX*xQA|ak,  
struts.freemarker.manager.classname wTD}c1J(  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class RRXp9{x`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 51u\am'T  
@dUN3,}  
struts.i18n.encoding ?5jLN&A3 G  
      The encoding to use for localization messages Se_]=>WI  
      国际化信息内码 ;?k<L\zaw  
8ok=&Gq4  
struts.i18n.reload Vef!5]t5  
      Whether the localization messages should automatically be reloaded 2kt0Rxg  
      是否国际化信息自动加载 aL_/2/@X8  
sPG500=)  
struts.locale qvLh7]sbK:  
      The default locale for the Struts application yVgC1-8i*  
      默认的国际化地区信息 KIi:5Y  
"g)V&Lx#X  
struts.mapper.class t>AOF\  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class =7JSJ98  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 x. #E3xI  
gXlcB~!  
struts.multipart.maxSize x9AFN  
      The maximize size of a multipart request (file upload) #%2d;V  
      multipart请求信息的最大尺寸(文件上传用) cS'{h  
zPx R=0|  
struts.multipart.parser W7Y@]QMX  
      The org.apache.struts2.dispatcher.multipart. ggL/7I(  
      MultiPartRequest parser implementation for a multipart request (file upload) + c+i u6+"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) P6O\\,B1A  
$~iZaX8&  
zPc"r$'0 U  
struts.multipart.saveDir x+j@YWDpG"  
      The directory to use for storing uploaded files */l;e<E  
      设置存储上传文件的目录夹 aG83@ABx  
"a= Hr4C*r  
struts.objectFactory ^Fh*9[Zf$  
      The com.opensymphony.xwork2.ObjectFactory implementation class FuBt`H  
      com.opensymphony.xwork2.ObjectFactory接口(spring) k#zDY*kj  
9(J,&)J  
struts.objectFactory.spring.autoWire n| {#5#  
      Whether Spring should autoWire or not lOp. c U  
      是否自动绑定Spring [{Jo(X  
u5Vgi0}A  
struts.objectFactory.spring.useClassCache TIxOMYy  
      Whether Spring should use its class cache or not I`_I^C3  
      是否spring应该使用自身的cache rVqQo` K\  
j<P;:  
struts.objectTypeDeterminer s~].iQJ{B  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class W2#<]]-  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 K6t"98  
vX\9#Hj  
struts.serve.static.browserCache Z3weFbCH  
If static content served by the Struts filter should set browser caching header properties or not gu!!}pwV9  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 c )LG+K  
pa1<=w  
struts.serve.static 5E-;4o;RI(  
      Whether the Struts filter should serve static content or not M2|!,2  
      是否struts过滤器应该提供静态内容 (^35cj{s  
AU3Rz&~  
struts.tag.altSyntax [B# XA}w  
      Whether to use the alterative syntax for the tags or not 0\{dt4nW&O  
      是否可以用替代的语法替代tags fj;ZGbg-O  
)\#*~73  
struts.ui.templateDir 0-S.G38{  
      The directory containing UI templates BLy V~   
      UI templates的目录夹 V:Gy pY)  
A4!X{qUT-  
struts.ui.theme 6{buel(|e  
      The default UI template theme *{vH9TO  
      默认的UI template主题 X2@Ef2EkM  
3fhY+$tq  
struts.url.http.port Ba@~:  
      The HTTP port used by Struts URLs UuWIT3W>%  
      设置http端口 \0x>#ygX  
} Xo#/9  
struts.url.https.port ["<Xh0_  
      The HTTPS port used by Struts URLs @T~XwJ~  
      设置https端口 dazNwn  
LN WS  
struts.url.includeParams "t&=~eOe3  
      The default includeParams method to generate Struts URLs n2bhCd]j<b  
      在url中产生 默认的includeParams W|m(Jh[w]  
\Q|-Npw  
ZK8)FmT_<O  
struts.velocity.configfile ]JjS$VMauX  
      The Velocity configuration file path RJ'[m~yl5X  
      velocity配置文件路径 SjB"#E)  
hm1s~@oEm  
struts.velocity.contexts Jg;[k  
      List of Velocity context names a]u.Uqyx2w  
      velocity的context列表 q4[}b-fF  
A.vAk''(}+  
{&,p<5o  
struts.velocity.manager.classname j|[rT^b@  
      org.apache.struts2.views.velocity.VelocityManager implementation class d\JaYizp  
      org.apache.struts2.views.velocity.VelocityManager接口名 \{ @m  
#QoWneZ  
struts.velocity.toolboxlocation Eo6N'h>h  
      The location of the Velocity toolbox =G:Krc8w@  
      velocity工具盒的位置 |@u2/U9  
struts.xslt.nocache O~*i_t*i9{  
      Whether or not XSLT templates should not be cached miaH,hm  
      是否XSLT模版应该被缓存 6}TunR  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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