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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 4KH8dau.fF  
|"t)#BUtL  
struts.action.extension 1>5l(zK!9  
      The URL extension to use to determine if the request is meant for a Struts action 1< 22,  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 `v;9!ReZV  
C%#%_ "N  
struts.configuration zvJQ@i"Z  
      The org.apache.struts2.config.Configuration implementation class `[.b>ztqgJ  
        org.apache.struts2.config.Configuration接口名 %ae|4u#b  
ddR*&.Y!a  
struts.configuration.files \q2:1X |  
      A list of configuration files automatically loaded by Struts b8Bf,&:ys  
      struts自动加载的一个配置文件列表 9@'^}c#  
(6b*JQ^^  
struts.configuration.xml.reload uO=yQ&  
      Whether to reload the XML configuration or not hn-+]Y:  
      是否加载xml配置(true,false) {, +,:w7  
T'W)RYnwl  
struts.continuations.package 'E_M, Y  
      The package containing actions that use Rife continuations g" c|%3  
      含有actions的完整连续的package名称 e+'PRVc  
zVeQKN9^Z  
struts.custom.i18n.resources  Xaz`L  
      Location of additional localization properties files to load =t@8Y`9w  
      加载附加的国际化属性文件(不包含.properties后缀) )Q:.1Hgl  
e u{  
struts.custom.properties G3Z>,"w;=  
      Location of additional configuration properties files to load BC*)@=7fx  
      加载附加的配置文件的位置 ;^fGQ]`4  
j.}@9  
_SVIY@K|/  
struts.devMode O $ p  
      Whether Struts is in development mode or not \W%Aeg*c  
      是否为struts开发模式 cOhx  
,drbj.0-  
struts.dispatcher.parametersWorkaround \&tv *  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic c4\Nuy  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 0O@UT1 M;v  
idG}p+(;  
struts.enable.DynamicMethodInvocation h mijp1u  
      Allows one to disable dynamic method invocation from the URL cD&QN9  
        允许动态方法调用 B4uJT~,7>  
]6)~Sj$ 5  
struts.freemarker.manager.classname Ev%_8CO4e  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class $9~6M*  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 H YA<  
_BC%98:WP  
struts.i18n.encoding Ln&'5D#  
      The encoding to use for localization messages )\xDo<@  
      国际化信息内码 >0^oC[ B  
. N:& {$o:  
struts.i18n.reload  ~OdE!!  
      Whether the localization messages should automatically be reloaded bQTkW<7gh  
      是否国际化信息自动加载 nu=yE$BN{  
Nj p?/r  
struts.locale qwf97pg$  
      The default locale for the Struts application PM(M c]6  
      默认的国际化地区信息 v|]1x2191  
T6Oah:50EM  
struts.mapper.class QGC%, F"+  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class obRYU|T  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 \w6A-daD0  
U3oMY{{E J  
struts.multipart.maxSize Xyz w.%4c  
      The maximize size of a multipart request (file upload) w# iezo. 0  
      multipart请求信息的最大尺寸(文件上传用) _"4u?C#  
?QbxC,& i  
struts.multipart.parser jPDk~|  
      The org.apache.struts2.dispatcher.multipart. vV(?A  
      MultiPartRequest parser implementation for a multipart request (file upload) K[j~htC{I"  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) Oh&k{DWE$  
D#8uj=/%  
yJ0q)x sS  
struts.multipart.saveDir 3EVAB0/$  
      The directory to use for storing uploaded files 1xf Pe#  
      设置存储上传文件的目录夹 MkNPC  
$'I-z.GV  
struts.objectFactory i 6DcLE  
      The com.opensymphony.xwork2.ObjectFactory implementation class UN8]>#\"`  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -wdd'G  
4?u<i=i  
struts.objectFactory.spring.autoWire l(B(gPvU  
      Whether Spring should autoWire or not Vw@?t(l>  
      是否自动绑定Spring 2jT2~D.U1  
R=co2 5  
struts.objectFactory.spring.useClassCache SQS PdR+  
      Whether Spring should use its class cache or not Q7{/ T0  
      是否spring应该使用自身的cache 5Z<y||=  
.7`c(9<  
struts.objectTypeDeterminer phc9esz  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class zm{U.Q  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 h1U8z)D#   
/>13?o#  
struts.serve.static.browserCache [" PRxl  
If static content served by the Struts filter should set browser caching header properties or not <J o\RUx  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 d7U%Q8?wUR  
eKv{N\E  
struts.serve.static u$MXO].Q  
      Whether the Struts filter should serve static content or not 4\pUA4  
      是否struts过滤器应该提供静态内容 Tw]].|^f-  
n#dvBK0M  
struts.tag.altSyntax t/KH`  
      Whether to use the alterative syntax for the tags or not ETMF.-P  
      是否可以用替代的语法替代tags "oLY";0(=  
A?;KfVq  
struts.ui.templateDir vFx0B?  
      The directory containing UI templates 0)0,&@])7  
      UI templates的目录夹 I%b}qC"5M  
<fm<UO,%  
struts.ui.theme D\LXjEm e.  
      The default UI template theme P:QSr8K  
      默认的UI template主题 <?E~Qc t  
Oe_*(q&  
struts.url.http.port `%<^$Ng;  
      The HTTP port used by Struts URLs ~6!TMVr  
      设置http端口 5f- eWW]!  
tXg>R _\C  
struts.url.https.port L Rn)  
      The HTTPS port used by Struts URLs mNDd>4%H_  
      设置https端口 CYH o~VIK  
g54b}vzm  
struts.url.includeParams y yqya[-11  
      The default includeParams method to generate Struts URLs Kd|@  
      在url中产生 默认的includeParams >J['so2Bf  
s+@`Z*B5  
&~&nJr  
struts.velocity.configfile ?(2^lH~6h  
      The Velocity configuration file path Q G8X{'  
      velocity配置文件路径 *,y .%`o  
277Am*2  
struts.velocity.contexts ,+U,(P5>s  
      List of Velocity context names .% {4B,d$  
      velocity的context列表 NU/:jr.W#  
vNIQ1x5Za  
T*bBw  
struts.velocity.manager.classname T~G~M/  
      org.apache.struts2.views.velocity.VelocityManager implementation class -8%[ 7Z]  
      org.apache.struts2.views.velocity.VelocityManager接口名 S @tpd'  
haoQr)S  
struts.velocity.toolboxlocation [[A}MF*@  
      The location of the Velocity toolbox 0~GtK8^B  
      velocity工具盒的位置 Sft+Gb6  
struts.xslt.nocache r zO5 3\  
      Whether or not XSLT templates should not be cached 6JUjT]S%  
      是否XSLT模版应该被缓存 W*jwf@ 0  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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