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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 17lc5#^L  
Gdr7d  
struts.action.extension !Xzy:  
      The URL extension to use to determine if the request is meant for a Struts action V0*9Tnc  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 /< \do 1  
oYX#VX  
struts.configuration 7Pr5`#x#  
      The org.apache.struts2.config.Configuration implementation class :+ AqY(Gz  
        org.apache.struts2.config.Configuration接口名 ~Dj_N$_+9  
QKh vP>  
struts.configuration.files tj:>o#D  
      A list of configuration files automatically loaded by Struts O*1la/~m  
      struts自动加载的一个配置文件列表 fn.}LeeS>  
t7/a5x  
struts.configuration.xml.reload ~t^'4"K*  
      Whether to reload the XML configuration or not cK t8e^P  
      是否加载xml配置(true,false) 4K!@9+Mz  
5xc-MkIRL  
struts.continuations.package `IK3e9QpcA  
      The package containing actions that use Rife continuations eSSv8 [u  
      含有actions的完整连续的package名称 0*:4@go0}i  
XtIY8wsP  
struts.custom.i18n.resources 6S?*z `v  
      Location of additional localization properties files to load (oB9$Zz!t  
      加载附加的国际化属性文件(不包含.properties后缀) $B@K  
AeEF/*  
struts.custom.properties [4HOWM>\  
      Location of additional configuration properties files to load ANd#m9(x  
      加载附加的配置文件的位置 vUg o)C#<  
lLZ?&z$  
sX]ru^F3  
struts.devMode C6c]M@6  
      Whether Struts is in development mode or not EYU3Pl%  
      是否为struts开发模式 **Q K}j[D  
)%9 P ;/  
struts.dispatcher.parametersWorkaround $c24lJ#/  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic XD|vB+j\O  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 6E.64+PJw  
ipJnNy;  
struts.enable.DynamicMethodInvocation 6n'XRfQp)&  
      Allows one to disable dynamic method invocation from the URL vLh,dzuo  
        允许动态方法调用 D4ud|$s1  
@Ke3kLQ_\X  
struts.freemarker.manager.classname xkkW?[&  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class 'q{|p+  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 m>-(c=3  
9h'klaE(  
struts.i18n.encoding e[J0+ x#;r  
      The encoding to use for localization messages }aa ~@K<A  
      国际化信息内码 8(0q,7)y  
2bt2h.a  
struts.i18n.reload 30$Q5]T  
      Whether the localization messages should automatically be reloaded /,2${$c!  
      是否国际化信息自动加载 wQ/FJoB  
}\_[+@*EJ  
struts.locale }&Jml%F4uR  
      The default locale for the Struts application `K \(I#z  
      默认的国际化地区信息 |%-:qk4rG  
oj~0zJI  
struts.mapper.class 7I<];j  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class }u8D5Q<(  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 K~aI Y0=<  
t /CE,DQ  
struts.multipart.maxSize -4'yC_8t  
      The maximize size of a multipart request (file upload) KRh95B GU  
      multipart请求信息的最大尺寸(文件上传用) pZe:U;bb  
olO&7jh7|  
struts.multipart.parser 0YVkq?1x9  
      The org.apache.struts2.dispatcher.multipart. ]Vgl  
      MultiPartRequest parser implementation for a multipart request (file upload) 7nL3+Pq  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) b<mxf\b  
bol#[_~  
C/x<_VJzN/  
struts.multipart.saveDir j{u! /FD  
      The directory to use for storing uploaded files rocG;$[  
      设置存储上传文件的目录夹 :$>TeCm  
6v}WdK  
struts.objectFactory . ;q 4<_  
      The com.opensymphony.xwork2.ObjectFactory implementation class MPmsW &  
      com.opensymphony.xwork2.ObjectFactory接口(spring) >E`p@ e+  
b_T?jCyW  
struts.objectFactory.spring.autoWire @(H  
      Whether Spring should autoWire or not =~~Y@eX  
      是否自动绑定Spring RAW(lZ(  
_o-D},f*e  
struts.objectFactory.spring.useClassCache 1f^4J~{  
      Whether Spring should use its class cache or not C) "|sG  
      是否spring应该使用自身的cache 53cW`F  
jPf*qe>U  
struts.objectTypeDeterminer fUg I*V  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class 4#BoS9d2I<  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 =D2x@ank[  
< l%3P6|  
struts.serve.static.browserCache l ,T*b  
If static content served by the Struts filter should set browser caching header properties or not YaDr.?  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 0cm+:  
^#VyIF3q  
struts.serve.static ^?)o,djY&  
      Whether the Struts filter should serve static content or not }$ZcC_  
      是否struts过滤器应该提供静态内容 XABI2Ex  
v"&Fj  
struts.tag.altSyntax E)dV;1t  
      Whether to use the alterative syntax for the tags or not Y|iJO>_Uu=  
      是否可以用替代的语法替代tags Q@-7{3  
c~+;P(>  
struts.ui.templateDir U,4:yc,)s  
      The directory containing UI templates v8xNtUxN  
      UI templates的目录夹 &S"o jbb  
/U#{6zeM[,  
struts.ui.theme JS<4%@  
      The default UI template theme -S7rOq2Li  
      默认的UI template主题 ~"+Fp&[9f  
*M_Gu{xc  
struts.url.http.port 1MCHwX3/  
      The HTTP port used by Struts URLs j&. MT@  
      设置http端口 0?",dTf3i  
RqIic\aD  
struts.url.https.port /f7Fv*z/  
      The HTTPS port used by Struts URLs .Qp5wCkM  
      设置https端口 ;O2r+n  
|? !Ew# w  
struts.url.includeParams Q-!a;/  
      The default includeParams method to generate Struts URLs / ` 7p'i  
      在url中产生 默认的includeParams ;@@1$mzK  
yH8 N8  
8h#/b1\  
struts.velocity.configfile qxsK-8KT<  
      The Velocity configuration file path Jk)^6  
      velocity配置文件路径 0vs9# <&V  
q=5#t~?  
struts.velocity.contexts Ny>tJ~I  
      List of Velocity context names + (cTzY  
      velocity的context列表 P{eL;^I  
#`C ;@#xr  
 @t  
struts.velocity.manager.classname DdTTWp/  
      org.apache.struts2.views.velocity.VelocityManager implementation class lbv9 kk[  
      org.apache.struts2.views.velocity.VelocityManager接口名 Y) >GwFK$  
l("Dw8 H  
struts.velocity.toolboxlocation )j40hrR  
      The location of the Velocity toolbox 7mSVL\\^  
      velocity工具盒的位置 E lt=/,v`!  
struts.xslt.nocache JBCcR,\kM*  
      Whether or not XSLT templates should not be cached ~h] <E  
      是否XSLT模版应该被缓存 RpE69:~PV  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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