| Author |
web.xml mandatory tags
|
Amruth Puppala
Ranch Hand
Joined: Jul 14, 2008
Posts: 295
|
|
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 ]
|
SCJP 5 |SCWCD 5| Started thinking about Web Services ?
|
 |
Maurizio Nagni
Ranch Hand
Joined: May 29, 2004
Posts: 75
|
|
There is no secret: preapare a clean, extensive, well indented web.xml template and..... try to memorize it. good luck
|
 |
Freddy Wong
Ranch Hand
Joined: Sep 11, 2006
Posts: 959
|
|
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
|
SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
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
Joined: Jul 14, 2008
Posts: 295
|
|
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 ]
|
 |
 |
|
|
subject: web.xml mandatory tags
|
|
|