aspose file tools
The moose likes Tomcat and the fly likes Schema difference Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply 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: 56202
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 56202
    
  13

See the JSP FAQ which goes into exquisite detail on this...
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Schema difference
 
Similar Threads
How to run simple JSTL page?
elements sequence in web.xml
pass bean data to javascript function
Changing styles in Struts
please help in this tag problem