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

Question on Body content

 
Karne Reddy
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Write the body value of <body-content> element for a tag that is supposed to interpret it's own body.

Ans is: tagdependent

Could any one explan the reason?


----
SCJP
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

A tag that is supposed to interpret it's own body. The body may contain invalid JSP codes or any other code like SQL statements or other XML tags, that the tag should not evaluate in the body. I mean that the atg wants to consume the body as it is in the encloed body for further processing the body for any purpose. So it should be tagdependent. If you want to process the JSP codes in the body and then want to interpret the processed output then the tagdependent is not required.

Thanks
 
Karne Reddy
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx Narendra for ur reply.
I understood.


-----------
SCJP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic