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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 ZObhF#Y9  
 OP x`u  
struts.action.extension .b-f9qc=  
      The URL extension to use to determine if the request is meant for a Struts action y1bbILWej  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 x\s|n{  
/i-J&*6_  
struts.configuration S!3S4:]B^  
      The org.apache.struts2.config.Configuration implementation class .%Ta]!0  
        org.apache.struts2.config.Configuration接口名 0 rXx RQ  
24)(5!:"  
struts.configuration.files Qe} `~a9P  
      A list of configuration files automatically loaded by Struts vL\&6n~M>  
      struts自动加载的一个配置文件列表 TT4./R:  
f/Hm{<BY  
struts.configuration.xml.reload 0;:.B j  
      Whether to reload the XML configuration or not Wr3mQU  
      是否加载xml配置(true,false) [I$ BmGQ  
u*tN)f3  
struts.continuations.package :SGF45>B@  
      The package containing actions that use Rife continuations 9lW;Nk*j:  
      含有actions的完整连续的package名称 Yl#Rib  
j  S?xk  
struts.custom.i18n.resources RQ'H$r.7g  
      Location of additional localization properties files to load aP8H`^DFX>  
      加载附加的国际化属性文件(不包含.properties后缀) Rx);7j/5  
nZ@&2YPlem  
struts.custom.properties 8&3V#sn'  
      Location of additional configuration properties files to load '&gF>  
      加载附加的配置文件的位置 E gal4  
`}l JH i  
bBS,-vN  
struts.devMode p Wt) A  
      Whether Struts is in development mode or not ;+<&8.=,)  
      是否为struts开发模式 1!1 beR]  
&b?LP]   
struts.dispatcher.parametersWorkaround `(f!*Ru@/z  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic sM?MLB\Za  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) %T)oCjM[\  
kWe{r5C7  
struts.enable.DynamicMethodInvocation }2uI?i8  
      Allows one to disable dynamic method invocation from the URL hvuIxqv!y  
        允许动态方法调用 %9M~f*  
0LfU=X0#7  
struts.freemarker.manager.classname &znQ;NH#  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class KA){''>8  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 & M~`:R  
LF~*^n>  
struts.i18n.encoding Ircp``g  
      The encoding to use for localization messages 9f',7i  
      国际化信息内码 ZP;j9 T!  
KTn}w:+B\  
struts.i18n.reload mN>h5G>a  
      Whether the localization messages should automatically be reloaded ~d%Pnw|  
      是否国际化信息自动加载 FFH_d <q  
NDs!a  
struts.locale niqN{  
      The default locale for the Struts application `xywho%/Y  
      默认的国际化地区信息 gOr%!QaF  
`S2[5i  
struts.mapper.class 8g:;)u4$P  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class BVr0Gk  
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 GW$.lo1|)  
+[ R/=$  
struts.multipart.maxSize 3$m4q`J  
      The maximize size of a multipart request (file upload) 1\g6)|R-+  
      multipart请求信息的最大尺寸(文件上传用) P#_sg0oJF  
m^H21P"z  
struts.multipart.parser F6K4#t+9  
      The org.apache.struts2.dispatcher.multipart. qnoNT%xazo  
      MultiPartRequest parser implementation for a multipart request (file upload) s_> f5/i2  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) (d<4"!  
r4QxoaM  
A%^w^f  
struts.multipart.saveDir XvE9 b5}  
      The directory to use for storing uploaded files QR Ei7@t  
      设置存储上传文件的目录夹 5Pd"h S  
.9"Y_/0   
struts.objectFactory V\{tmDE  
      The com.opensymphony.xwork2.ObjectFactory implementation class #F*1V(!  
      com.opensymphony.xwork2.ObjectFactory接口(spring) ,daKC  
^~$)F_`"  
struts.objectFactory.spring.autoWire RgGyoZ  
      Whether Spring should autoWire or not _x? uU  
      是否自动绑定Spring ObE,$_ k  
;+tpvnV;]  
struts.objectFactory.spring.useClassCache GD:4"$)[o  
      Whether Spring should use its class cache or not :sP!p`dl  
      是否spring应该使用自身的cache 3Ezy %7  
jWY$5Vq<H  
struts.objectTypeDeterminer ?APe R,"V  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class S=nP[s  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ec gtUb8K  
}Y*VAnY6;  
struts.serve.static.browserCache u_ '!_T L  
If static content served by the Struts filter should set browser caching header properties or not 4lM8\Lr  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 TU GNq  
KrXdnY8  
struts.serve.static Ai/b\:V9S  
      Whether the Struts filter should serve static content or not wo3wtx  
      是否struts过滤器应该提供静态内容 ylB7*>[  
m@Qt.4m%g  
struts.tag.altSyntax X5`AGyX  
      Whether to use the alterative syntax for the tags or not KMV=%o  
      是否可以用替代的语法替代tags ?qX)ihe%k  
9&2Vm;F_  
struts.ui.templateDir V~hlq$jn<Y  
      The directory containing UI templates PZm:T+5H  
      UI templates的目录夹 PNA\ TXT  
\T\b NbPn  
struts.ui.theme 2{Chu85   
      The default UI template theme IZm(`b;t^  
      默认的UI template主题 ^m /oDB-  
>(<ytnt=  
struts.url.http.port Hsihytdj  
      The HTTP port used by Struts URLs !j\" w p  
      设置http端口 :gB[O>'<m  
C:uz6i1  
struts.url.https.port J8"[6vId~  
      The HTTPS port used by Struts URLs LS5vW|]w  
      设置https端口 Qq@G\eRo  
` AkIK*  
struts.url.includeParams NO0"*c;  
      The default includeParams method to generate Struts URLs 9XHz-+bQ  
      在url中产生 默认的includeParams Mze;k3  
=;3fq-  
HoLv`JA  
struts.velocity.configfile Sje wuIi1  
      The Velocity configuration file path JIFU;*PR1  
      velocity配置文件路径 #CnHf  
nD0}wiL{  
struts.velocity.contexts  X!j{o  
      List of Velocity context names g >'p>}t  
      velocity的context列表 v|ck>_" .  
oP2fX_v1x  
)' hH^(Yu  
struts.velocity.manager.classname dDD<E?TjD  
      org.apache.struts2.views.velocity.VelocityManager implementation class v @O&t4  
      org.apache.struts2.views.velocity.VelocityManager接口名 V=X:=  
; h`0ir4[A  
struts.velocity.toolboxlocation )m&U#S _;  
      The location of the Velocity toolbox $%%os6y2v  
      velocity工具盒的位置 A+&xMM2Wj  
struts.xslt.nocache O$g_@B0E1  
      Whether or not XSLT templates should not be cached oM)h#8bq  
      是否XSLT模版应该被缓存 2iU7 0(H  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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