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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 6w<p1qhW  
-eSI"To L<  
struts.action.extension Cyv_(Oh?dv  
      The URL extension to use to determine if the request is meant for a Struts action 'iYaA-9j  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 uJ*|SSN~  
YVY(uq)d  
struts.configuration !oV'  
      The org.apache.struts2.config.Configuration implementation class LY0/\Z"N  
        org.apache.struts2.config.Configuration接口名 etW-gbr  
/C<} :R  
struts.configuration.files jP @t!=  
      A list of configuration files automatically loaded by Struts Rx<[bohio  
      struts自动加载的一个配置文件列表 $AFiPH9  
e ]>{?Z  
struts.configuration.xml.reload u*;53 43  
      Whether to reload the XML configuration or not *7Sg8\wDn  
      是否加载xml配置(true,false) gp'n'K]  
gvZLW!={  
struts.continuations.package Us9$,(3  
      The package containing actions that use Rife continuations ,@gDY9Q3r/  
      含有actions的完整连续的package名称 .>zkS*oX4z  
4ri)%dl1  
struts.custom.i18n.resources 9]8M {L  
      Location of additional localization properties files to load WY~}sE  
      加载附加的国际化属性文件(不包含.properties后缀) yC=vTzzp  
7L:R&W6  
struts.custom.properties qf] OSd  
      Location of additional configuration properties files to load $0iN43WSQ  
      加载附加的配置文件的位置 Y@%6*uTLa  
m4P=,=%  
Df/f&;`  
struts.devMode Q^V`%+  
      Whether Struts is in development mode or not dR /UXzrc  
      是否为struts开发模式 sXC]{] P  
ZsPBs4<p  
struts.dispatcher.parametersWorkaround 4sK|l|W  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic NU/~E"^I.  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 1[`l`Truz  
nBiA=+'v  
struts.enable.DynamicMethodInvocation s.dn~|a  
      Allows one to disable dynamic method invocation from the URL d0Kg,HB  
        允许动态方法调用 a( {`<F  
&<i>)Ss  
struts.freemarker.manager.classname U7fE6&g  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class g?o$:>c  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 /[#{#:lo2  
;/{Q4X{  
struts.i18n.encoding I0jEhg%JZ  
      The encoding to use for localization messages Iei4yDv ;  
      国际化信息内码 J&:0ytG  
KF-gcRh  
struts.i18n.reload 7erao-  
      Whether the localization messages should automatically be reloaded .}y Lz  
      是否国际化信息自动加载 $l[*Y  
1@qb.9wZ6  
struts.locale +Vf|YLbhJ  
      The default locale for the Struts application S(-=I!.G{  
      默认的国际化地区信息 iii$)4V  
CX'E+  
struts.mapper.class s9GPDfZ  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class TAC\2*bWje  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 @%cJjZ5y  
"RX?"pB  
struts.multipart.maxSize gZ!(&u  
      The maximize size of a multipart request (file upload) x!.VWGtb  
      multipart请求信息的最大尺寸(文件上传用)  FZ2-e  
(&hX8  
struts.multipart.parser qK1V!a2  
      The org.apache.struts2.dispatcher.multipart. ?h3Ow`1G  
      MultiPartRequest parser implementation for a multipart request (file upload) m<f{7]fi5  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) ?H c A&  
E:E &Wv?r  
=L wX+c  
struts.multipart.saveDir `Zi#rr|)L  
      The directory to use for storing uploaded files SCH![Amq  
      设置存储上传文件的目录夹 *wF:Q;_<z  
g4$%)0x%  
struts.objectFactory Zz&i0 r  
      The com.opensymphony.xwork2.ObjectFactory implementation class 0 De M  
      com.opensymphony.xwork2.ObjectFactory接口(spring) mVL,J=2  
< 5_Ys  
struts.objectFactory.spring.autoWire 9FLn7Y  
      Whether Spring should autoWire or not gX _BJ6  
      是否自动绑定Spring J+|ohA  
q@-qA]  
struts.objectFactory.spring.useClassCache 7VXeu+-P  
      Whether Spring should use its class cache or not 835Upj>  
      是否spring应该使用自身的cache CGe'z  
lM1!2d'P  
struts.objectTypeDeterminer R39R$\  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 5)o IPHXw  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 B:r-')!0$#  
"=n8PNV/ c  
struts.serve.static.browserCache ;Gs**BB&  
If static content served by the Struts filter should set browser caching header properties or not C;) xjZiR  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 _~(Xd@c(  
:{ T#M$T  
struts.serve.static 3ElpS^ 2W  
      Whether the Struts filter should serve static content or not l=]vC +mU  
      是否struts过滤器应该提供静态内容 XZ&v3ul  
PC_4#6^5  
struts.tag.altSyntax &"h!SkX/  
      Whether to use the alterative syntax for the tags or not zB$6e!fc  
      是否可以用替代的语法替代tags >C}RZdO~  
r=Q5=(hn  
struts.ui.templateDir _Usg`ax-  
      The directory containing UI templates G!;[If :<e  
      UI templates的目录夹 u .=;A#  
J| '(;Ay4u  
struts.ui.theme e d*AU,^@v  
      The default UI template theme X[~CLKH(  
      默认的UI template主题 g[jZ A[[  
V6{xX0'b*m  
struts.url.http.port =|%T E   
      The HTTP port used by Struts URLs W7o/  
      设置http端口 qU n>  
-N(MEzAE  
struts.url.https.port ">9CN$]J  
      The HTTPS port used by Struts URLs y4L9Cxvs  
      设置https端口 Ma daxx  
ksaC[G;}:  
struts.url.includeParams A,e^bM  
      The default includeParams method to generate Struts URLs Mv=cLG?X  
      在url中产生 默认的includeParams 'X,V  
\veL5  
8vw]u_e  
struts.velocity.configfile Xt84Evo  
      The Velocity configuration file path 4"{wga~%/  
      velocity配置文件路径 n_Y]iAoc`  
VC(|t} L4  
struts.velocity.contexts sEN@q   
      List of Velocity context names 3Q}Y?rkJ5  
      velocity的context列表 ~m?~eJK#a  
K-u/q6ufK  
j2Y(Q/i  
struts.velocity.manager.classname ;#i$0~lRl  
      org.apache.struts2.views.velocity.VelocityManager implementation class WCu%@hh=h  
      org.apache.struts2.views.velocity.VelocityManager接口名 <6~;-ZQY  
\pGO}{3 e*  
struts.velocity.toolboxlocation Z5[:Zf?h7J  
      The location of the Velocity toolbox ;/T-rVND  
      velocity工具盒的位置 ,-Nk-g  
struts.xslt.nocache <R>ZG"m{  
      Whether or not XSLT templates should not be cached BD-=y  
      是否XSLT模版应该被缓存 K:@=W1  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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