This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes Root Directory in XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Root Directory in XML" Watch "Root Directory in XML" New topic
Author

Root Directory in XML

Mikael Romo
Greenhorn

Joined: Jun 14, 2011
Posts: 6

Good day Masters,

I need your help guys.. Im now studying about how to use spring 3 mvc for our upcoming project. while im experimenting i've encountered this problem.

my current structure of directory is attached.

Setup for dispatcher-servlet.xml


Setup for web.xml


how to setup this files to instruct spring 3 that JSPs and images are in root directory?

most of examples in the web are always using this code

for dispatcher-servlet.xml



for web.xml



Thank you and God bless you all.


[Download directory.bmp] Download

 
 
subject: Root Directory in XML
 
Similar Threads
Problem finding index page under WEB-INF / Spring MVC
Spring annotation no handler found
Spring 3 MVC: No ViewResolver found with url-pattern /*
Explain Spring Flow
Problem running app under Tomcat v7