File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Schema difference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Schema difference" Watch "Schema difference" New topic
Author

Schema difference

Mike Jenkins
Ranch Hand

Joined: Jul 23, 2006
Posts: 57
In Tomcat 6 they changed web.xml to a schema.
What is the difference between a schema version of web.xml in Tomcat 6
and a non schmea version of web.xml like the one they used in 4.1.27?
[ April 15, 2008: Message edited by: Mike Jenkins ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

Actually it's a change in the Servlet Specification, not Tomcat.

The change from Servlets 2.3 to 2.4 mandated the change from a DTD to XML Schema.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mike Jenkins
Ranch Hand

Joined: Jul 23, 2006
Posts: 57
Originally posted by Bear Bibeault:
Actually it's a change in the Servlet Specification, not Tomcat.

The change from Servlets 2.3 to 2.4 mandated the change from a DTD to XML Schema.

Thanks,
The difference is the beginning part of my web.xml?


xml?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

See the JSP FAQ which goes into exquisite detail on this...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Schema difference