curtney
Oct 4th, 2005, 03:50 PM
Greetings!!
Is it possible to have multiple tiles configurer (TilesConfigurer) declared, per application context? Currently, I have two dispatcher servlet declared in my web.xml file. For example:
<servlet>
<servlet-name>A</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>B</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
A-servlett-xml has its own "tilesConfigurer" bean and B-servlet.xml has its own as well. Each loads its own separate tiles definitions
It seems that which ever one is declared first in my web.xml, that is the one that gets loaded. Is it possible to have both loaded and if so, how can I accomplish that?
Thanks,
Curtney
Is it possible to have multiple tiles configurer (TilesConfigurer) declared, per application context? Currently, I have two dispatcher servlet declared in my web.xml file. For example:
<servlet>
<servlet-name>A</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>B</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
A-servlett-xml has its own "tilesConfigurer" bean and B-servlet.xml has its own as well. Each loads its own separate tiles definitions
It seems that which ever one is declared first in my web.xml, that is the one that gets loaded. Is it possible to have both loaded and if so, how can I accomplish that?
Thanks,
Curtney