Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in JSP comment

 
V Gala
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
109 Which of the following is a valid JSP comment?
A <!-- commented part --!>
B <comment>commented part</comment>
C <=-- commented part --=>
D <%!-- commented part --!>



Answer D

D is an example for valid JSP comment. Choice A stands for HTML comment.

My doubt is JSP comment should be in this format
<%-- JSP comment --%>

Is option D also a JSP comment
[ April 12, 2008: Message edited by: V Gala ]
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are correct. Please Quote Your Sources.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic