File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Root Directory in XML" Watch "Root Directory in XML" New topic

Root Directory in XML

Mikael Romo

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

I agree. Here's the link:
subject: Root Directory in XML
It's not a secret anymore!