• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

root tag

 
James Mark
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP documents so for exam purposes you need to be aware that they start with the root tag. is it true?
this is from the MarcusGreen exam 1
 
Jan van Mansum
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are several ways to make sure the web container treat your JSP pages as documents. One of them is to have a document element of <jsp:root>. But if your dd is of version 2.4 or newer you may also use <is-xml>true</is-xml> in a <jsp-property-group> (with the appropriate url-pattern) or simply give your JSP pages extension "jspx".
 
Sandeep Krish
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spec says root is not mandatory. Refer JSP.6.3.2.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic