File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes don't understand this answer Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "don Watch "don New topic
Author

don't understand this answer

Jk Robbins
Ranch Hand

Joined: Dec 16, 2010
Posts: 159
Maybe this belongs in Mock Exams Errata, but I'm not sure it's errata, maybe just my lack of knowledge. This is from the JavaRanch mock exam.

(rats, can't figure out how to paste an image)

Anyway, it's question bank id 9, "To map a specific URL to your servlet, which element must be included in your Deployment Descriptor?"

The answer is in the form "<!ELEMENT servlet-mapping (servlet-name, url-pattern)>"

Please explain this format, especially the "<!ELEMENT" part. I've never seen anything like this in all the study materials and it's obviously not an excerpt from a deployment descriptor, so I'm very confused.

Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 50691

DTD


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Jk Robbins
Ranch Hand

Joined: Dec 16, 2010
Posts: 159
Thanks! A difficult read, but now I understand.
 
 
subject: don't understand this answer
 
Threads others viewed
doubt regarding mock exam question
Is there a way to Invoke a Servlet without having any Servlet Mapping Data in web.xml
Is JavaRanch's SCWCD Mock Exam compliant w/ Sun's 310-81?
SCWCD ExKit, Chapter 5, question 1
DD Doubt
developer file tools