A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Web Component Certification (SCWCD/OCPJWCD)
Question on DD
Joined: Dec 20, 2003
Apr 22, 2005 06:48:00
Is there any Specific Order in which we have to declare the tags in DD?If so, where can we get tht order?
Thanks in Advance.
Joined: Apr 22, 2005
Apr 22, 2005 07:05:00
No you don't have to in the new spec. Take a look at this:
Meera Rao<br />SCJP1.2 SCWCD 1.4
Joined: Mar 23, 2005
Apr 26, 2005 13:53:00
2.3 used DTD (Document Type Definition) to describe the XML descriptor. DTD needs an ordering in its elements.
Now, the new specification (Servlet 2.4) is using XML Schema to describe the XML, so the ordering is not mandatory.
This change invalidates lots of mock exam questions, regarding the ordering of DD elements!
[ April 26, 2005: Message edited by: Rafael Pereira ]
Sun Certified Web Component Developer 1.4<br />Linux LPI Certified (LPIC-1)<br />Sun Certified Java Programmer 1.4
I agree. Here's the link:
subject: Question on DD
Order of listeners
Element order in DD
What version of the deployment descriptor is tested?
Ordering of elements in DD
Doubt regarding an answer in HFSJ-Filters
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014