tiles2不支持通配,spring支持

xml 代码
  1. <context-param>  
  2.     <param-name>contextConfigLocation</param-name>  
  3.     <param-value>/WEB-INF/applicationContext*.xml</param-value>  
  4. </context-param>  
  5. <context-param>  
  6.     <param-name>  
  7.         org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG   
  8.     </param-name>  
  9.     <param-value>  
  10.         /WEB-INF/tiles-defs.xml,/WEB-INF/tiles-application.xml   
  11.         <!-- ,/org/apache/tiles/example.xml -->  
  12.     </param-value>  
  13. </context-param>  
applicationConext*.xml是spring的,tiles-defs什么的是tiles2的.

你可能感兴趣的:(apache,spring,xml,Web)