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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 Am#Pa,g  
^O&&QRH~w  
struts.action.extension p,7?rI\N  
      The URL extension to use to determine if the request is meant for a Struts action dAi.^! !  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 YAd%d|Q  
}+K=>.  
struts.configuration l$m}aQ%h  
      The org.apache.struts2.config.Configuration implementation class *C.Kdf3w  
        org.apache.struts2.config.Configuration接口名 T `o[whr  
xggF:El3{  
struts.configuration.files v(P <_}G  
      A list of configuration files automatically loaded by Struts \og2\Oh&gH  
      struts自动加载的一个配置文件列表 .>Fpk7  
Px gul7  
struts.configuration.xml.reload ;&MnPFmq  
      Whether to reload the XML configuration or not -:Bgp*S  
      是否加载xml配置(true,false) As j<u!L  
$}=r 45e0K  
struts.continuations.package o+Q2lO5  
      The package containing actions that use Rife continuations JI /iq  
      含有actions的完整连续的package名称 Bq tN=  
hz5t/E  
struts.custom.i18n.resources n/YnISt  
      Location of additional localization properties files to load GZm=>!T  
      加载附加的国际化属性文件(不包含.properties后缀) *pyC<4W  
+R"n_6N  
struts.custom.properties WZ UeW*#=  
      Location of additional configuration properties files to load nI8zT0o  
      加载附加的配置文件的位置 i*mI-l  
y(=0  
1yTw*vH F  
struts.devMode cG4}daK]d  
      Whether Struts is in development mode or not j?VHR$  
      是否为struts开发模式 !$<Kp6  
n;y[%H!g  
struts.dispatcher.parametersWorkaround m/`L3@7Tt  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /9| 2uw`  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) BL%3[JQ  
qJw\<7m  
struts.enable.DynamicMethodInvocation rym*W\AWx  
      Allows one to disable dynamic method invocation from the URL 7<k@{xI/  
        允许动态方法调用 a&[>kO  
~eUv.I/  
struts.freemarker.manager.classname ML%JT x0+Z  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class \!k\%j 9  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 4x.I"eW~&  
tR_DN  
struts.i18n.encoding =.,XJIw&  
      The encoding to use for localization messages <f0yh"?6VH  
      国际化信息内码 ,,-j5Y  
am/D$ (l1  
struts.i18n.reload m3|l-[!OA"  
      Whether the localization messages should automatically be reloaded U[:Js@uH_  
      是否国际化信息自动加载 N<QLvZh  
k0xm-  
struts.locale {7Kl #b  
      The default locale for the Struts application iu{QHjZK(  
      默认的国际化地区信息  5e2yJ R  
NSQ)lSW,;  
struts.mapper.class \*c=bz&l  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class %t$)sg]  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 :kXxxS  
$C8s  
struts.multipart.maxSize K:Z|# i-  
      The maximize size of a multipart request (file upload) #*G}v%Ow/u  
      multipart请求信息的最大尺寸(文件上传用) kZ!&3G9>-  
4n%|h-!8  
struts.multipart.parser _;-b ZH  
      The org.apache.struts2.dispatcher.multipart. zZV9`cqZ{  
      MultiPartRequest parser implementation for a multipart request (file upload) &pAmFe  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) F^Mt}`O  
Ua+Us"M3}  
:{?Pq8jP  
struts.multipart.saveDir D~,i I7ac  
      The directory to use for storing uploaded files W;8}`k  
      设置存储上传文件的目录夹 b=:%*gq,  
RG- ,<G`  
struts.objectFactory pFEU^]V3*  
      The com.opensymphony.xwork2.ObjectFactory implementation class bbWW|PtWwP  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ?$b*)<  
fjS#  
struts.objectFactory.spring.autoWire 'WwD$e0=  
      Whether Spring should autoWire or not ;5}"2hU>  
      是否自动绑定Spring Q5;EQ .#  
!XY}\zKq  
struts.objectFactory.spring.useClassCache AUR{O  
      Whether Spring should use its class cache or not M5+K[Ir/y9  
      是否spring应该使用自身的cache $"Nqto~  
WQHlf 0]  
struts.objectTypeDeterminer T2 V(P>E  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class a6g+"EcH#'  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 lI+KT_|L  
1@`mpm#Y  
struts.serve.static.browserCache ~-NlTx  
If static content served by the Struts filter should set browser caching header properties or not <:~'s]`zf  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 OI)/J;[-e  
+4K'KpFzZ  
struts.serve.static tEllkHyef  
      Whether the Struts filter should serve static content or not e'dZ2;X$zo  
      是否struts过滤器应该提供静态内容 X6o iOs  
5~xv"S(E}  
struts.tag.altSyntax iR4!X()  
      Whether to use the alterative syntax for the tags or not uh~,>~a|  
      是否可以用替代的语法替代tags (s!cd]Qa.  
]q@W(\I  
struts.ui.templateDir *AI?md  
      The directory containing UI templates >^d+;~Q;  
      UI templates的目录夹 P\.1w>X  
*7!*kq g!u  
struts.ui.theme t0o'_>*?A  
      The default UI template theme I$1~;!<  
      默认的UI template主题 YN5p@b=FX  
8,&QY%8pX  
struts.url.http.port Pqv9> N|  
      The HTTP port used by Struts URLs !8OUH6{2  
      设置http端口 /Wm3qlv  
x '`L( C  
struts.url.https.port F5/,H:K\  
      The HTTPS port used by Struts URLs x-ZCaa}O  
      设置https端口 <Z9N}wY,8  
(Qz| N  
struts.url.includeParams c^BeT;  
      The default includeParams method to generate Struts URLs YDo,9  
      在url中产生 默认的includeParams uHpSE?y/  
5SmgE2}  
$eUJd Aetk  
struts.velocity.configfile D*o[a#2_  
      The Velocity configuration file path gAViwy9{  
      velocity配置文件路径 wMru9zyI  
}e0)=*;l  
struts.velocity.contexts k6W  [//  
      List of Velocity context names 5nJmabw3  
      velocity的context列表 $sR-J'EE!  
X |X~|&j  
Xw[|$#QKM  
struts.velocity.manager.classname ]{'lV~fc  
      org.apache.struts2.views.velocity.VelocityManager implementation class >6zXr.  
      org.apache.struts2.views.velocity.VelocityManager接口名 ~V<62"G  
h> A}vI*:  
struts.velocity.toolboxlocation )nJh) {4\  
      The location of the Velocity toolbox 2zN%Z!a#J  
      velocity工具盒的位置  Gu P1  
struts.xslt.nocache a#:K"Mf.  
      Whether or not XSLT templates should not be cached )rFcfS+/  
      是否XSLT模版应该被缓存 !]z6?kUK  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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