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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "don Watch "don New topic
Author

don't understand this answer

J. Kevin Robbins
Bartender

Joined: Dec 16, 2010
Posts: 1038
    
  13

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.


"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61602
    
  67

DTD


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
J. Kevin Robbins
Bartender

Joined: Dec 16, 2010
Posts: 1038
    
  13

Thanks! A difficult read, but now I understand.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: don't understand this answer