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

Good example of web.xml DD

 
anders eriksson
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am preparing for SCWCD and I understand that there will be quite a few questions about the web.xml deployment descriptor. I can read DTD and other docs, but I would really like to see a DD that has examples of everything a DD can have. By doing so I can visualize it, get a better feeling of the structure and the order of different elements and attributes.
Is there a good example out there?
Most examples I have found are just servlet element and a servlet-mapping or two... I want it all - servlet, servlet mappings, listeners, init params, roles, you name it!
/Anders
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just glancing at the web.xml for Tomcat 4 examples, I see lots of tags in use.
Bill
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!