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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 &s m7R i  
 }NX9"}/  
struts.action.extension P5 f p!YF  
      The URL extension to use to determine if the request is meant for a Struts action ?M?S+@(  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 "A\.`*6  
Q(Q .(  
struts.configuration K6"#&0  
      The org.apache.struts2.config.Configuration implementation class 7u8HcHl  
        org.apache.struts2.config.Configuration接口名 c *<"&  
44;ZX$HL  
struts.configuration.files ` O;+N"v  
      A list of configuration files automatically loaded by Struts ?S&pq?   
      struts自动加载的一个配置文件列表 pdCn98}%-  
&%3$zgvR  
struts.configuration.xml.reload Fl)p^uUtl  
      Whether to reload the XML configuration or not 2p'ujAK  
      是否加载xml配置(true,false) *a }NRf}W  
fu3~W  
struts.continuations.package ,=o)R,[  
      The package containing actions that use Rife continuations AL*P 2\8  
      含有actions的完整连续的package名称 %J)n#\  
kT|{5Kn&s  
struts.custom.i18n.resources x0aPY;,N0  
      Location of additional localization properties files to load =~;SUO  
      加载附加的国际化属性文件(不包含.properties后缀) ?1%/G<  
8z,i/:  
struts.custom.properties :5 XNV6^|  
      Location of additional configuration properties files to load 'nH/Z 84  
      加载附加的配置文件的位置 (Uk1Rt*h  
eteq Mg}M  
xDtq@Rb}  
struts.devMode =apcMW(zn  
      Whether Struts is in development mode or not #H]b Xr  
      是否为struts开发模式 Hj&mwn]  
pPr/r& r  
struts.dispatcher.parametersWorkaround !YUMAp/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic #XSs.i{  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) }*vUOQQp*  
8Q $fXB  
struts.enable.DynamicMethodInvocation ="%nW3e@  
      Allows one to disable dynamic method invocation from the URL 7PE3>cD  
        允许动态方法调用 ) xRm  
GJlkEWs  
struts.freemarker.manager.classname %4X#|22n  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class < H1+qN=]`  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 eK]g FXk  
M#v#3:&5  
struts.i18n.encoding |a!AgvNF  
      The encoding to use for localization messages P_:A%T  
      国际化信息内码 dOm`p W^  
Z.9 ?u;  
struts.i18n.reload +RIG8w]  
      Whether the localization messages should automatically be reloaded ziFg+i%s  
      是否国际化信息自动加载 B^4D`0G[4  
j9)WInYc:  
struts.locale 3@u<Sa  
      The default locale for the Struts application GE+ %V7  
      默认的国际化地区信息 L`"PaIMz  
<PBrW#:'  
struts.mapper.class  XL@Y!  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class 5HWVK.  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 Z0yy<9q]2  
OGmOk>_  
struts.multipart.maxSize :4o08M%  
      The maximize size of a multipart request (file upload) zk)9tm;i{  
      multipart请求信息的最大尺寸(文件上传用) Q_p!;3  
\SB~rz"A  
struts.multipart.parser p7.j>w1F  
      The org.apache.struts2.dispatcher.multipart. pz'l9Gp;@  
      MultiPartRequest parser implementation for a multipart request (file upload) f-at@C1L%L  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) %onUCN<O`  
8 1Ar.<  
AGwFD  
struts.multipart.saveDir /SLAg&  
      The directory to use for storing uploaded files t- Rp_2t  
      设置存储上传文件的目录夹 ?Bg<74  
` oBlv  
struts.objectFactory REd"}zDI  
      The com.opensymphony.xwork2.ObjectFactory implementation class ?QzA;8H  
      com.opensymphony.xwork2.ObjectFactory接口(spring) X^L)5n+$X  
z$'_ =9yZ  
struts.objectFactory.spring.autoWire fC!]MhA"i  
      Whether Spring should autoWire or not D9OI ",h  
      是否自动绑定Spring V{51wnxT  
Ave{ `YD  
struts.objectFactory.spring.useClassCache C[cNwvz  
      Whether Spring should use its class cache or not [Xy^M3  
      是否spring应该使用自身的cache Vf Jpiv1  
gHU/yi!T  
struts.objectTypeDeterminer V wj^h  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Qg dHIMY  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口  '%! '1si  
EH;w <LvT  
struts.serve.static.browserCache d,"?tip/SX  
If static content served by the Struts filter should set browser caching header properties or not \Qp #utC0s  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 x)'4u6;d  
YuO-a$BP  
struts.serve.static JXR_klx  
      Whether the Struts filter should serve static content or not g.CUo:c  
      是否struts过滤器应该提供静态内容 A]VcQ_e  
C)2Waj}  
struts.tag.altSyntax xRZ9.Agv_  
      Whether to use the alterative syntax for the tags or not :5/P{Co (  
      是否可以用替代的语法替代tags k!/"J ;  
Z,'#=K  
struts.ui.templateDir 8"2 Y$*)(  
      The directory containing UI templates nF0V`O \T  
      UI templates的目录夹 b >R/=tx  
D;@*  
struts.ui.theme zu6Y*{$>g  
      The default UI template theme I+ZK \?Rs  
      默认的UI template主题 =ytB\e  
5w:   
struts.url.http.port yGN@Hd:9  
      The HTTP port used by Struts URLs Y6(I %hE`  
      设置http端口 X2 {n&K  
&@E{0ZD  
struts.url.https.port 5<-_"/_  
      The HTTPS port used by Struts URLs ]ZkhQ%  
      设置https端口 f<.43kv@  
d ]LF5*i  
struts.url.includeParams 5B+>28G%  
      The default includeParams method to generate Struts URLs h-rPLU;Bw  
      在url中产生 默认的includeParams w6F'rsko]  
Y..   
,X Zo0 !  
struts.velocity.configfile hr%O4&sa  
      The Velocity configuration file path \k?uh+xl  
      velocity配置文件路径 wRwTN"Yg  
vfG4PJ 6  
struts.velocity.contexts _C` cO  
      List of Velocity context names xFZA1 8  
      velocity的context列表 PCl@Ff  
xA;o3Or  
aL\vQ(1zO  
struts.velocity.manager.classname 8nOMyNpy~M  
      org.apache.struts2.views.velocity.VelocityManager implementation class QN=a{  
      org.apache.struts2.views.velocity.VelocityManager接口名 &h=O;?dO  
#NZ\UmA  
struts.velocity.toolboxlocation #V4kT*2P)  
      The location of the Velocity toolbox U1?*vwfKZ  
      velocity工具盒的位置 ; z_ZZ(W  
struts.xslt.nocache t#s?:  
      Whether or not XSLT templates should not be cached Y,O)"6ev  
      是否XSLT模版应该被缓存 pDr%uL  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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