aspose file tools*
The moose likes JSP and the fly likes difference between jsp:doBody and jsp:invoke actions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "difference between jsp:doBody and jsp:invoke actions " Watch "difference between jsp:doBody and jsp:invoke actions " New topic
Author

difference between jsp:doBody and jsp:invoke actions

Chidanand Chauhan
Ranch Hand

Joined: Nov 10, 2005
Posts: 77
Can anyone tell me the difference between the
<jsp oBody> and <jsp:invoke> in Tag files.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by Chidanand Chauhan:
Can anyone tell me the difference between the
<jsp oBody> and <jsp:invoke> in Tag files.


The jsp oBody 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. Because it always operates on the body of the tag, there is no name attribute for this standard action.

Please read the docs, there is no other better substitute.

[Edited to disable smilies]
[ January 24, 2006: Message edited by: Adeel Ansari ]
 
Consider Paul's rocket mass heater.
 
subject: difference between jsp:doBody and jsp:invoke actions