• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt Qno-9 pno-563 HFS&JSP

 
Gowher Naik
Ranch Hand
Posts: 643
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question 9-:

WHich if inserted at line 12 could cause jsp code
<mytags:mytag>BodyContent</mytags:mytag>
to output BodyContent?

options are
1.return SKIP_BODY;
2.return EVAL_BODY_INCLUDE;
3.return EVAL_BODY_BUFFERED;

HFS&JSP says only option 2 is correct.
My doubt is Why not option 3?

Thanks.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because the content of the body will be buffered, and unless you print it out, it won't be displayed.
 
Sreeraj G Harilal
Ranch Hand
Posts: 310
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think both option 2 and 3 are correct
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic