• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

don't understand this answer

 
J. Kevin Robbins
Bartender
Pie
Posts: 1801
28
Chrome Eclipse IDE Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DTD
 
J. Kevin Robbins
Bartender
Pie
Posts: 1801
28
Chrome Eclipse IDE Firefox Browser jQuery Linux MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks! A difficult read, but now I understand.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic