• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DTD for web.xml

 
Rina Magro
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
Are we expected to know the proper DTD for web.xml for the SCWCD exam please?
If so , can somebody kindly send me a link to the dtd of the latest version of web.xml?
thanks loads
regards
Rina
 
khushhal yadav
Ranch Hand
Posts: 242
Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rina,

It's almost imperative to know about the elements of web.xml from exam point of view.
And here is the link for XML Schema for web.xml(not DTD) about which you should know http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd

Regards,
Khushhal
 
Rina Magro
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Khushhal
At work im using 2.3 version of web.xml. Thanks for that you made me realise 2.4 version follows xml schemas rather than dtds.
I also got a bit confused cos the Javaranch mock test has this question:
Question 52:

The above entry in the DD will result in which of the following?
Answer: The webapp will not be loaded due to a parse exception of the dd.
From Review: The ordering of the DD is listener then servlet


So this question does not apply to the current SCWCD exam, right? There is no memorizing of ordering cos of xml schemas?
thanks a lot
Rina
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So this question does not apply to the current SCWCD exam, right?

Yes, that's right. Javaranch mock exam has not been updated for SCWCD1.4. I'm planning to update it as soon as I can.
 
Rina Magro
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok thanks Chris ..i only wanted to make sure i dont need to memorize anything for the exam..cos thats not my cup of tea
reagards
Rina
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic