Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

don't understand this answer  RSS feed

 
J. Kevin Robbins
Bartender
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
Posts: 65961
139
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
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!