I am reading a book about Spring and Spring MVC, and I'm trying to try a sample application. The problem is that this is a preliminary version of the book, and the full code is not yet available for download.
I want beans from my service level to be accessible through a web application. Should I declare them in two xml files? (One for the service level and one for the web application?) This code is provided in the book for adding to the web.xml file, but I'm not sure if this solves:
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/spitter-security.xml
classpath:service-context.xml
classpath:persistence-context.xml
classpath:dataSource-context.xml
</param-value>
</context-param>
But he does not say where the service-context.xml etc files or folder structure are located. How do they get into the classpath called by "classpath:"?
XML , -? beans , Tomcat?
, .