Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Schema difference

 
Mike Jenkins
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65653
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mike Jenkins
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65653
129
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See the JSP FAQ which goes into exquisite detail on this...
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!