This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaRanch mock exam Q4 -

 
Jim So
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Element in the Deployment Descriptor for a servlet initialization parameter is :

<!ELEMENT init-param(param-name, param-value, description?)>


Answer is: True.

Im confused. whats this <!ELEMENT tag. i dont recall seeing it in the head-first book?
 
ankit kumar
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<!ELEMENT init-param(param-name, param-value, description?)>
in eclipse if you open this in a design tab it will be in that format only.
 
Abdul Rahman
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

&lt;!ELEMENT init-param(param-name, param-value, description?)&gt;
This "&lt;!ELEMENT init-param "means that the init-param is an element of the xml tag that has the above 3 mentioned attributes.

Hope this helps.

 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
whats this <!ELEMENT tag.

This a notation used in a DTD. This was used until Servlets 2.3/JSP1.2, but since Servlets2.4/JSP2.0, an XML Schema is used instead. You can check the details in the JSP specification.

Note that the Javaranch mock is a bit old. I think it still contains some SCWCD1.3 stuff in it.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic