Two Laptop Bag*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
Author

<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%
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: <jsp:invoke> and <jsp:doBody> doubts