This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes <jsp:invoke> and <jsp:doBody> doubts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "<jsp:invoke> and <jsp:doBody> doubts" Watch "<jsp:invoke> and <jsp:doBody> doubts" New topic

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

Poonam Agarwal
Ranch Hand

Joined: May 12, 2008
Posts: 323
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

Thanks <br />Poonam Agarwal SCWCD 86%
I agree. Here's the link:
subject: <jsp:invoke> and <jsp:doBody> doubts
It's not a secret anymore!