This commit is contained in:
Keith Donald
2008-04-24 14:59:50 +00:00
parent 50c92c4768
commit cb1b1c1c66
3 changed files with 21 additions and 2 deletions

View File

@@ -17,6 +17,5 @@
<!-- Imports the configurations of the different infrastructure systems of the application -->
<import resource="webmvc-config.xml" />
<import resource="webflow-config.xml" />
<import resource="data-access-config.xml" />
</beans>

View File

@@ -15,7 +15,7 @@
<init-param>
<name>contextConfigLocation</name>
<value>
/WEB-INF/config/web-application-config.xml
/WEB-INF/config/hotelbooking-portlet-config.xml
</value>
</init-param>

View File

@@ -4,6 +4,26 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
<!--
- Location of the XML file that defines the root application context
- Applied by ContextLoaderListener.
-->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/config/data-access-config.xml
</param-value>
</context-param>
<!--
- Loads the root application context of this web app at startup.
- The application context is then available via
- WebApplicationContextUtils.getWebApplicationContext(servletContext).
-->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<!-- Serves static resource content from .jar files such as spring-js.jar -->
<servlet>
<servlet-name>Resources Servlet</servlet-name>