Sorry about that.
Yes, you can include JSP in the body content of your
tag even when your tag class
extends Tagsupport; but in this case the JSP
expressions within the body of the tag
are evaluated (and passed) only once.
On the other hand if your tag class extends
BodyTagSupport then multiple iterations
(nested) through the contents of the tag is possible.

-Kiran.



Pratik wrote:

> No that's not true TagSupport will also do
> regards
>
> ----- Original Message -----
> From: kiran kumar <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 20, 2000 9:56 AM
> Subject: Re: HELP with JSP, taglib and bodycontent
>
> > Hi Marco,
> >
> > If you want to include JSP in the body content
then
> > your Java tag class should extend BodyTagSupport
class
> > and not
> > TagSupport.
> >
> > Hope that helps.
> > -Kiran.
> >
> > --- Marco M <[EMAIL PROTECTED]> wrote:
> > > hi all,
> > >         i have a big problem: i wrote a custom
jsp
> > > tag, and i want to see
> > > also the content of that tag.
> > > i wrote the proper java class, following the
example
> > > from jsptags.com and
> > > the book Core servlet and JSP......however,
whenever
> > > i put, in the taglib
> > > descriptor, a
> > > <bodycontent>JSP</bodycontent>
> > > i got back the exception
> > >
> > > 'Element tag does not allow bodycontent here
> > >
> > > my java class extends TagSupport....i can't
> > > understand what is the problem!
> > >
> > > please help me!
> > >
> > > thanx in advance & regards
> > >         marco
> > >
> > >
> >
>
===========================================================================
> > > To unsubscribe: mailto [EMAIL PROTECTED]
with
> > > body: "signoff JSP-INTEREST".
> > > Some relevant FAQs on JSP/Servlets can be found
at:
> > >
> > >  http://java.sun.com/products/jsp/faq.html
> > >  http://www.esperanto.org.nz/jsp/jspfaq.html
> > >
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > >
> >
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >


__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to