This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<jsp:invoke> and <jsp:doBody> doubts

 
Poonam Agarwal
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont understand the usage of this tags inside the tag file. As specification says they both works in same manner.

The <jsp:doBody> standard action behaves exactly like <jsp:invoke>, except
that it operates on the body of the tag instead of on a specific fragment passed as
an attribute.


what is purpose of using <jsp:invoke> in tag files if we can retrive the body of tag files using <jsp:doBody>.


Thnaks in Advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic