-
Sep 14th, 2011, 02:12 PM
#1
What config files go where in the Spring MVC Project Template?
I'm trying to figure out where to put config files in a Spring MVC project created from the MVC template.
src/main/resources -sounds like the place to put all config files but the template puts only log4j.xml here
src/main/webapp/resources -sounds like the location for web related files but the template puts nothing here
src/main/webapp/WEB-INF - the template puts web.xml here
src/main/webapp/WEB-INF/spring -the template puts root-context.xml here
src/main/webapp/WEB-INF/spring/appServlet - the template puts servlet-context.xml here
To put this in the form of a question. I'm working my way through the Spring @MVC section of Spring Recipies. I have a config file named court-servlet.xml for an application called court. Were should this go?
I have several 'layer' configuration files, such as court-service.xml. Where should these go?
Is there some documentation that explains the expected MVC template project file structure?
Thanks for any help or advice,
-=b
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules