• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml mandatory tags

 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to know the mandatory tags in web.xml.

Example
<security-constraint> should contain atleast one <web-resource-collection>

In this way How would I know all mandator tags. Can some please help me my exam is very near.
[ August 18, 2008: Message edited by: Chintu sirivennela ]
 
Maurizio Nagni
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no secret: preapare a clean, extensive, well indented web.xml template and..... try to memorize it.
good luck
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you know how to read XSD, then you should be able to know which elements are mandatory, optional, etc.

For web.xml, you can refer to this.
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Chintu sirivennela:
How would I know all mandator tags. Can some please help me my exam is very near.


work on web.xml with some IDE like NetBeans
 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks to all of you.
Originally posted by Freddy Wong:
If you know how to read XSD,

I don't know how to read XSD..I am planning to practice my own way..
Actually I thougt somewhere I can find the mandatory tags but No problem I will work on this.
[ August 19, 2008: Message edited by: Chintu sirivennela ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic