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

struts2的struts.properties配置文件详解

级别: 终身会员
发帖
3743
铜板
8
人品值
493
贡献值
9
交易币
0
好评度
3746
信誉值
0
金币
0
所在楼道
struts2的struts.properties配置文件详解 WziX1%0$n  
49/j9#hr  
struts.action.extension /3]b!lFZZ  
      The URL extension to use to determine if the request is meant for a Struts action [ij8h,[~]  
      用URL扩展名来确定是否这个请求是被用作Struts action,其实也就是设置 action的后缀,例如login.do的'do'字。 _dg2i|yP<  
+a@:?=hc  
struts.configuration Yh^~4S?  
      The org.apache.struts2.config.Configuration implementation class 0zscOE{  
        org.apache.struts2.config.Configuration接口名 | .8lS3C  
*F ya qJ)  
struts.configuration.files V={`k$p  
      A list of configuration files automatically loaded by Struts Er 4P  
      struts自动加载的一个配置文件列表 @|7Ma/8v  
-Odk'{nW  
struts.configuration.xml.reload OfSy_#aEK  
      Whether to reload the XML configuration or not S7/0B4[  
      是否加载xml配置(true,false) E~k_4z% M  
;t^8lC?>V  
struts.continuations.package oM')NIW@  
      The package containing actions that use Rife continuations 9!aQ@ J^  
      含有actions的完整连续的package名称 NrC (.*?m  
h[Hn*g  
struts.custom.i18n.resources M=HP!hn  
      Location of additional localization properties files to load MV+S.`R  
      加载附加的国际化属性文件(不包含.properties后缀) )JYt zc  
#gHs!b-g@  
struts.custom.properties |?a 4Nl?  
      Location of additional configuration properties files to load n\U3f M>N  
      加载附加的配置文件的位置 mAI<zh&SQ  
|l*#pN&L  
)2 Omsh  
struts.devMode uU7s4oJ|  
      Whether Struts is in development mode or not h`1{tu  
      是否为struts开发模式 j|WuOZm\0  
ISp'4H7R+N  
struts.dispatcher.parametersWorkaround G:n,u$2a<  
      Whether to use a Servlet request parameter workaround necessary for some versions of WebLogic /^BaQeH?R  
        (某些版本的weblogic专用)是否使用一个servlet请求参数工作区(PARAMETERSWORKAROUND) 9PpPAF  
LTSoo.dE  
struts.enable.DynamicMethodInvocation 'Z<V(;W  
      Allows one to disable dynamic method invocation from the URL btQDG  
        允许动态方法调用  :RYh@.  
z / YF7wrx  
struts.freemarker.manager.classname m/2LwN  
      The org.apache.struts2.views.freemarker.FreemarkerManager implementation class EPY64 {  
      org.apache.struts2.views.freemarker.FreemarkerManager接口名 dWg09sx  
#D{jNSB  
struts.i18n.encoding [CCj5N1/  
      The encoding to use for localization messages AqD)2O{VO  
      国际化信息内码 8Z^9r/%*Z  
d#?.G3YmK  
struts.i18n.reload 'h?;i2[  
      Whether the localization messages should automatically be reloaded p=tj>{  
      是否国际化信息自动加载 W~TT`%[  
2J^jSgr50d  
struts.locale 6$d3Ap@Gl  
      The default locale for the Struts application ]A;{D~X^w  
      默认的国际化地区信息 ("UzMr,  
rQW&$M  
struts.mapper.class 3EM=6\#q  
      The org.apache.struts2.dispatcher.mapper.ActionMapper implementation class `ViFY   
        org.apache.struts2.dispatcher.mapper.ActionMapper接口 3Pb]Of#  
E"EBj7<s  
struts.multipart.maxSize ddf# c,SQ  
      The maximize size of a multipart request (file upload) ,mu=#}a@}  
      multipart请求信息的最大尺寸(文件上传用) xz @/^Cj  
p6qza @  
struts.multipart.parser 5<?O S &B  
      The org.apache.struts2.dispatcher.multipart. ciq'fy  
      MultiPartRequest parser implementation for a multipart request (file upload) G=[ =[o\  
      专为multipart请求信息使用的org.apache.struts2.dispatcher.multipart.MultiPartRequest解析器接口(文件上传用) i2PPVT  
D~KEjz!bQ  
hXvg<Rf  
struts.multipart.saveDir ?5%0zMC  
      The directory to use for storing uploaded files oZ)\Ya=  
      设置存储上传文件的目录夹 XT n`$}nz  
v=(L>gg  
struts.objectFactory |{KZ<  
      The com.opensymphony.xwork2.ObjectFactory implementation class ,ZVC@P,L  
      com.opensymphony.xwork2.ObjectFactory接口(spring) -I#]#i@gX  
LD'eq\vO  
struts.objectFactory.spring.autoWire {x $h K98  
      Whether Spring should autoWire or not Dm,*G`Js  
      是否自动绑定Spring }d,iA FG  
^,Paih 2  
struts.objectFactory.spring.useClassCache Y#'?3  
      Whether Spring should use its class cache or not l P4A?J+Q  
      是否spring应该使用自身的cache jKOjw#N  
rA/jNX@S  
struts.objectTypeDeterminer |@}Yady@C  
      The com.opensymphony.xwork2.util.ObjectTypeDeterminer implementation class Ha U6`IP  
        com.opensymphony.xwork2.util.ObjectTypeDeterminer接口 ur'a{BI2R  
'>GZB  
struts.serve.static.browserCache L_>j SP  
If static content served by the Struts filter should set browser caching header properties or not XQ+KI:g2  
      是否struts过滤器中提供的静态内容应该被浏览器缓存在头部属性中 .?gpI Zv  
' (JSU   
struts.serve.static t@a2@dX|  
      Whether the Struts filter should serve static content or not C?UV3  
      是否struts过滤器应该提供静态内容 ZDmBuf q  
0;*1g47\  
struts.tag.altSyntax h\ZnUn_J  
      Whether to use the alterative syntax for the tags or not 1:3I G=  
      是否可以用替代的语法替代tags <f l-P  
DPrFBy  
struts.ui.templateDir |<,!K;@  
      The directory containing UI templates ``~7z;E%@  
      UI templates的目录夹 -ejH%CT  
B2QC#R  
struts.ui.theme [SluYmW  
      The default UI template theme +Om(&\c(6  
      默认的UI template主题 vd@ _LcK  
J/M_cO*U  
struts.url.http.port y4aW8J#  
      The HTTP port used by Struts URLs ~^U(GAs  
      设置http端口 4M)  s  
NJEubC?  
struts.url.https.port ] ~;x$Z)  
      The HTTPS port used by Struts URLs ZH9sf~7  
      设置https端口 !N6/l5kn  
+doZnU,  
struts.url.includeParams JEF2fro:Z  
      The default includeParams method to generate Struts URLs K._tCB:  
      在url中产生 默认的includeParams I}5#!s< {&  
J#tGQO  
e8HGST`  
struts.velocity.configfile *\?t W]8<  
      The Velocity configuration file path eOZ0L1JM!  
      velocity配置文件路径 gNon*\a,-B  
_Y7uM6HL\  
struts.velocity.contexts p[E}:kak_-  
      List of Velocity context names -Y#YwBy;M  
      velocity的context列表 LY}9$1G]  
g\ r%A  
b)+;#m  
struts.velocity.manager.classname LwpO_/qV  
      org.apache.struts2.views.velocity.VelocityManager implementation class `QH-VR\_  
      org.apache.struts2.views.velocity.VelocityManager接口名 }Y/uU"t  
Ap&Bwo 8b  
struts.velocity.toolboxlocation JXG%Cx!2}  
      The location of the Velocity toolbox \KlOj%s  
      velocity工具盒的位置 S4/CL4=  
struts.xslt.nocache z(sfX}%  
      Whether or not XSLT templates should not be cached C;#-2^h  
      是否XSLT模版应该被缓存 alQMPQVin  
评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
描述
快速回复

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