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