File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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: 324
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!