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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 UUf-G0/P  
@C]Q;>^|  
struts.action.extension \m3;<A/3n  
      The URL extension to use to determine if the request is meant for a Struts action  f:_\S  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 .KA){_jBp  
c Bl F  
struts.configuration ^=H. .pr  
      The org.apache.struts2.config.Configuration implementation class JP2zom  
        org.apache.struts2.config.Configuration接口名 _k0 X)N+li  
FJ|6R(T_  
struts.configuration.files qH3|x08  
      A list of configuration files automatically loaded by Struts t(O{IUYM  
      struts自动加载的一个配置文件列表 fgs){ Ng`  
eVobs2s  
struts.configuration.xml.reload x-Kq=LFy.  
      Whether to reload the XML configuration or not 8E m X  
      是否加载xml配置(true,false) A/XY' 3  
=@ '>|-w|  
struts.continuations.package 6^vMJ82U  
      The package containing actions that use Rife continuations s&<6{AU(id  
      含有actions的完整连续的package名称 U;Iqz1S  
{&2a H> V/  
struts.custom.i18n.resources ZeUA  e  
      Location of additional localization properties files to load U#I 8Rd I,  
      加载附加的国际化属性文件(不包含.properties后缀) a@E+/9  
u~| D;e  
struts.custom.properties Xndgs}zz  
      Location of additional configuration properties files to load dE<}X7J%  
      加载附加的配置文件的位置 l\PDou@5  
i@=0fHiZQ  
tevB2'3^  
struts.devMode V &K:~[M  
      Whether Struts is in development mode or not gWxpGW^eZ~  
      是否为struts开发模式 p;[">["  
C%$:Oq  
struts.dispatcher.parametersWorkaround cmpT_51~O  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic ~i)m(65:  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) Uxla,CCp-  
Q>jx`68'KI  
struts.enable.DynamicMethodInvocation qSB]Zm<  
      Allows one to disable dynamic method invocation from the URL ,]1oG=`3v  
        允许动态方法调用 9~bl  
6TN!63{Cz  
struts.freemarker.manager.classname mVJW"*}8  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class Ck71N3~W  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 ]bjXbbHd  
> 3<P^-9L  
struts.i18n.encoding (=hXt=hZ  
      The encoding to use for localization messages 8VbHZ9Q  
      国际化信息内码 "|{3V:e>a  
T7vSp<i/  
struts.i18n.reload ]g#ur@Y%  
      Whether the localization messages should automatically be reloaded ;.Lf9XJ   
      是否国际化信息自动加载 qH3<,s*  
H3$~S '  
struts.locale  .AEOf0t  
      The default locale for the Struts application OQ[E-%v1 R  
      默认的国际化地区信息 I! s&m%s  
D}n&`^1X+  
struts.mapper.class >C6wm^bl  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class N|Cx";,|FZ  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 / v";u)  
5|&:l8=  
struts.multipart.maxSize [x`trypg  
      The maximize size of a multipart request (file upload) $~h\8  
      multipart请求信息的最大尺寸(文件上传用) RYU(z;+0p  
8vzjPWu  
struts.multipart.parser s[ {L.9Y  
      The org.apache.struts2.dispatcher.multipart. %9|}H [x  
      MultiPartRequest parser implementation for a multipart request (file upload) 1J}i :i&  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) F[q:jY  
1-_op !N  
pEUbP,3M:  
struts.multipart.saveDir  2C9wOO  
      The directory to use for storing uploaded files Gp=X1 F  
      设置存储上传文件的目录夹 )&G uZ  
v3b[08 F  
struts.objectFactory MQL1/>j;  
      The com.opensymphony.xwork2.ObjectFactory implementation class g+5{&YD  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ;>*l?m-S@n  
g.AMCM?z  
struts.objectFactory.spring.autoWire =@#[@Ia  
      Whether Spring should autoWire or not r 5!ie!5gE  
      是否自动绑定Spring Qo*,2B9R L  
J(BtGGU'  
struts.objectFactory.spring.useClassCache :D-xa!7  
      Whether Spring should use its class cache or not 9zdp 8?T  
      是否spring应该使用自身的cache U.7;:W}c  
kcy?;b;z  
struts.objectTypeDeterminer HGuY-f  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class C$X )I~M  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 OiB*,TWV  
AJ'YkSg  
struts.serve.static.browserCache ->DfT*)  
If static content served by the Struts filter should set browser caching header properties or not = > .EDL.  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 SHw%u~[hu  
ld~8g,  
struts.serve.static =^. f)  
      Whether the Struts filter should serve static content or not ~z)diF<  
      是否struts过滤器应该提供静态内容 kyQUaFG  
!^Mk5E(  
struts.tag.altSyntax 3 y!yz3E  
      Whether to use the alterative syntax for the tags or not M8Y\1#~  
      是否可以用替代的语法替代tags "0pH@_8o{  
l~.}#$P]  
struts.ui.templateDir "y R56`=  
      The directory containing UI templates jr@u  
      UI templates的目录夹 b .9]b  
7g(,$5  
struts.ui.theme }s;W{Q  
      The default UI template theme 3VJoH4E!6  
      默认的UI template主题 q7}$F]UM"  
te ?R(&  
struts.url.http.port _vA\j  
      The HTTP port used by Struts URLs 76[O3%  
      设置http端口 .pNPC|XU  
?}*A/-Hx0U  
struts.url.https.port uVoM2n?D%^  
      The HTTPS port used by Struts URLs hw`+,_ g  
      设置https端口 @";z?xj  
o[AQS`  
struts.url.includeParams Lu&2^USTO  
      The default includeParams method to generate Struts URLs s&S8P;K|  
      在url中产生 默认的includeParams 7&G[mOx0  
EUdu"'=4a  
b&uo^G,  
struts.velocity.configfile mq$mB1$3u  
      The Velocity configuration file path Q2;zve&Dl  
      velocity配置文件路径 ^6v ob  
41%B%K*  
struts.velocity.contexts B 95}_q  
      List of Velocity context names &_ er_V~  
      velocity的context列表 ehO@3%z30c  
\nV|Y=5  
]saf<?fzr  
struts.velocity.manager.classname _%Ay\4H^\  
      org.apache.struts2.views.velocity.VelocityManager implementation class >b;fhdd:4  
      org.apache.struts2.views.velocity.VelocityManager接口名 o"@y=n/  
gO-C[j/  
struts.velocity.toolboxlocation ;i`X&[y;  
      The location of the Velocity toolbox .?b2Bd!MC  
      velocity工具盒的位置 P/._ tQu6  
struts.xslt.nocache q#B^yk|Y  
      Whether or not XSLT templates should not be cached }J t( H  
      是否XSLT模版应该被缓存 )5P*O5kQ -  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

您目前还是游客,请 登录注册
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
认证码:
验证问题:
10+5=?,请输入中文答案:十五