“Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.” - Rich Cook
posted 15 years ago
I don't remember the q but it was something like
"what would be the response from the container?"
answers ------- load the listener as specified in dd parse exception ... others.
The JavaRanch Exam is for old versions. It is reffering the DD for the older version. In the Older version DD for web.xml, the order of the elements are important. you can not define <listener> after the <servlet>. Therefore it is giving the parsing error