Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:doBody V/S jsp:invoke

 
KRK Gowda
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
can anybody tell me what is the differnce between jsp oBody and jsp:invoke.

Thanks and Regards,
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
doBody is the same as invoke, except that doBody works with the body only, whereas invoke works with any kind of jsp fragment. Notice that invoke has a required attribute called "fragment", whereas doBody has not.
 
KRK Gowda
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are jsp fragments ?

Thanks and Regards,
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a bit long to explain The following link may help :
http://www.oracle.com/technology/sample_code/tutorials/jsp20/jspfrag.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic