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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 BA\/YW @  
l/;X?g5+  
struts.action.extension B8E'ddUw  
      The URL extension to use to determine if the request is meant for a Struts action 4iSa7YqhBT  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 RMMd#/A@}  
W3`>8v1?o  
struts.configuration ~l;[@jsw F  
      The org.apache.struts2.config.Configuration implementation class f{SB1M   
        org.apache.struts2.config.Configuration接口名 )`^p%k  
6'\6OsH  
struts.configuration.files %%(R@kh9  
      A list of configuration files automatically loaded by Struts ^N8)]F,  
      struts自动加载的一个配置文件列表 &zs'/xv]  
zD?oXs  
struts.configuration.xml.reload ~y=T5wt  
      Whether to reload the XML configuration or not LYlDc;<A  
      是否加载xml配置(true,false) UK9@oCIB  
\fr-<5w79  
struts.continuations.package ^C2\`jLMY  
      The package containing actions that use Rife continuations gV&z2S~"  
      含有actions的完整连续的package名称 +`?Y?L^ J  
Y*mbjyt[?X  
struts.custom.i18n.resources ge]STSM0n7  
      Location of additional localization properties files to load h iNEJ_f  
      加载附加的国际化属性文件(不包含.properties后缀) SG6sw]x  
j*~T1i  
struts.custom.properties ySI~{YVM  
      Location of additional configuration properties files to load 9 \^|6k,  
      加载附加的配置文件的位置 Mq';S^  
cuOvN"nuNj  
%Uz(Vd#K  
struts.devMode =8U&[F  
      Whether Struts is in development mode or not Q:J^"  
      是否为struts开发模式 >X*Mio8P#  
sz9L8f2  
struts.dispatcher.parametersWorkaround CI3XzH\IX*  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic 'X shmZ0&  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) qzb<J=FAU  
K~ ;45Z2  
struts.enable.DynamicMethodInvocation 1S@vGq}  
      Allows one to disable dynamic method invocation from the URL JxyB(  
        允许动态方法调用 q^6+!&"  
B]tIi^  
struts.freemarker.manager.classname ve&zcSeb  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class DxJX+.9K9  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 O%r;5kP  
@)SL_9  
struts.i18n.encoding ^MBm==heL  
      The encoding to use for localization messages =4h+ M$2  
      国际化信息内码 JEE{QjTh  
sXNb}gJ  
struts.i18n.reload vTv]U5%:>%  
      Whether the localization messages should automatically be reloaded )V!dBl"Gq  
      是否国际化信息自动加载 bXS:x  
#r3l[ bKK  
struts.locale HF3f)}l$  
      The default locale for the Struts application W_0>y9?  
      默认的国际化地区信息 :d ~|jS  
(Vo>e =q  
struts.mapper.class  & y<ZE  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class jsNF#yE>  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Wh&8pH:  
L/"0ws_  
struts.multipart.maxSize LzYO$Ir:g  
      The maximize size of a multipart request (file upload) Y#g4$"G9  
      multipart请求信息的最大尺寸(文件上传用) \W%UZs  
id$Ul?z8  
struts.multipart.parser 02Ia2e.f  
      The org.apache.struts2.dispatcher.multipart. < })'Y~i  
      MultiPartRequest parser implementation for a multipart request (file upload) 7 [g/TB  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ^FnfJ:  
 f3UXCp  
t!I aUW  
struts.multipart.saveDir ><=gV~7lx  
      The directory to use for storing uploaded files 8Dvazg}4  
      设置存储上传文件的目录夹 @u1zB:  
v(p mI b{  
struts.objectFactory ]^6c8sgnR  
      The com.opensymphony.xwork2.ObjectFactory implementation class ;U_QvN|  
      com.opensymphony.xwork2.ObjectFactory接口(spring) +S=Rn,  
vVE7fq3  
struts.objectFactory.spring.autoWire Kt(-@\)!  
      Whether Spring should autoWire or not t-LG }nv  
      是否自动绑定Spring u a\,->  
_sbp6ZO_  
struts.objectFactory.spring.useClassCache sdS^e`S  
      Whether Spring should use its class cache or not B*E2.\~  
      是否spring应该使用自身的cache i<(Xr  
Dr6A ,3B  
struts.objectTypeDeterminer n#=o?!_4  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class mq%<6/Y U  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 /x1MPP>fu  
+d|mR9^([  
struts.serve.static.browserCache asC_$tsMe  
If static content served by the Struts filter should set browser caching header properties or not +CI1V>6^  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 ?Mee 6  
'FYJMIs  
struts.serve.static owPm/F  
      Whether the Struts filter should serve static content or not z.}[m,oTF  
      是否struts过滤器应该提供静态内容 vp.ZK[/`  
~.!c~fke  
struts.tag.altSyntax )$,"u4  
      Whether to use the alterative syntax for the tags or not xai4pF-?  
      是否可以用替代的语法替代tags 2W$cFC  
TXZv2P9  
struts.ui.templateDir K5"#~\D  
      The directory containing UI templates )*:`':_a  
      UI templates的目录夹 pBw0"ff  
S~Id5T:,  
struts.ui.theme lvp8z) G  
      The default UI template theme =V^.}WtO  
      默认的UI template主题 EKp@9\XBC  
\.g\Zib )  
struts.url.http.port @UdfAyL  
      The HTTP port used by Struts URLs lqb/eN9(t  
      设置http端口 sUYxT>R  
,<2DL p%%D  
struts.url.https.port w/L `  
      The HTTPS port used by Struts URLs TFcT3]R[rL  
      设置https端口 }E_#k]#*  
\8uIER5)  
struts.url.includeParams )+Oujt  
      The default includeParams method to generate Struts URLs h`MF#617  
      在url中产生 默认的includeParams _wdG|{px  
pNRk.m]  
"gD-8C3  
struts.velocity.configfile %r+vSGt;5  
      The Velocity configuration file path F9*g=  
      velocity配置文件路径 p7H3J?`w1+  
5cWw7V<m  
struts.velocity.contexts Lq>&d,F06)  
      List of Velocity context names z.rh]Zq  
      velocity的context列表 rL5z]RY  
1 tR_8lC  
C^ )*Dsp  
struts.velocity.manager.classname Zec <m8~  
      org.apache.struts2.views.velocity.VelocityManager implementation class O3CFme  
      org.apache.struts2.views.velocity.VelocityManager接口名 =!Q7}z1QI  
> 0<)=  
struts.velocity.toolboxlocation CZbYAxNl  
      The location of the Velocity toolbox :EHJ\+kejX  
      velocity工具盒的位置 z(\4 M==2O  
struts.xslt.nocache 7w1wr)qSB  
      Whether or not XSLT templates should not be cached 0dh=fcb  
      是否XSLT模版应该被缓存 8 B**8yg.  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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