• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tag body content question

 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whiz labs.
Q: You want the body content of the tag will not vbe interpreted by JSP engine rather than the tag itself.What should be the value of the <body-content> tag to accomplish this?

Answer:
I don't know that the answer is because this is a fill in the blanks kind of question. Now since <body-content>can accept empty,JSP,tagdependent and scriptless. I know tagdependent means that the tag body can accepet only plain text and that EL, standard or custom Actions will not be evaluated and they will treated as plain text. Further since the option tagdependent means some thing dependent on tag [which i dont understand ], Can any body explain a) why this terminology was used, "tagdependent"
b) What is the answer of the question.
 
John Woo
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer is tagdependent. By setting body-content to tagdependent, JSP engine will ignore the body content and leave it to the tag handler to process.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic