----- Original Message -----
From: "Fredrik Lindner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 23, 2002 3:04 PM
Subject: Re: Using the BodyTagSupport class for custom tags


> It's difficult to pinpoint the problem exactly. One possibility though, is
> that you return the constant EVAL_PAGE from the BodyTagSupport.doEndTag()
> method (which is the default return value), rather than EVAL_BODY_AGAIN.
>
> Returning EVAL_PAGE means that the body iteration should end and the rest
of
> the page processed, while returning EVAL_BODY_AGAIN causes the servlet
> container to reevaluate the body of the tag.
>


I'm not familiar with EVAL_BODY_AGAIN - I am returning EVAL_BODY_TAG from
the doAfterBody method.
I've got it working now though.

Thanks anyway,

Catharine

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

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to