wood burning stoves 2.0*
The moose likes Spring and the fly likes xsd link in my dispatcher-servlet.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "xsd link in my dispatcher-servlet.xml" Watch "xsd link in my dispatcher-servlet.xml" New topic
Author

xsd link in my dispatcher-servlet.xml

siddharth das
Ranch Hand

Joined: Aug 17, 2007
Posts: 124
Hi,

I have a doubt on the xsd link in my dispatcher-servlet.xml. This file contain the following entries in the beginning



I have a doubt that when I run my spring application , is it necessary that my system should connect to Internet ? As spring-beans.xsd is located in http://www.springframework.org/schema/beans/.

I tried running the application without having Internet connection, it ran successful. My doubt is that it refers to the xsd file which is located other server(http://www.springframework.org/schema/beans/) , so how the parser check if I disconnected from Internet?

Please advise..

Thanks in Advance.
Siddharth

Please suggest

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

That is the xsd's namespace. Not a web URL. So the location of the actual xsd file is in Spring's jar file.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
siddharth das
Ranch Hand

Joined: Aug 17, 2007
Posts: 124
Thanks Mark..I got it..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: xsd link in my dispatcher-servlet.xml
 
Similar Threads
SpringSecurity-config.xml doesn´t find http tag
unable to integrate my dao classes with spring
Spring Application Context exception: Cannot find the declaration of element 'beans'
problem while loading the welcome page
Unable to load the controller from disaptcher servlet