This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on Body content  RSS feed

 
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
Boost this thread!