This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
can't find the jsp: standard actions in the spec
which HFSJ chapters do i relate these topics ?
About jsp:doBody and body-content of tag directive
Tag File Action ?
regarding jsp:invoke