Get your CodeRanch badge!*
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 Java 8 in Action this week in the Java 8 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 ]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: difference between jsp:doBody and jsp:invoke actions
 
Similar Threads
About jsp:doBody and body-content of tag directive
Tag File Action ?
which HFSJ chapters do i relate these topics ?
can't find the jsp: standard actions in the spec
regarding jsp:invoke