On Fri, 5 Apr 2002, Henri Yandell wrote:

> Ack. This would be utterly my fault.

Don't worry - it's a common thing to do!  And it's also easy to miss,
since Tomcat's generated code happens to be more lenient with this
particular error than some other containers'.

> I assume that it is the second SKIP_BODY which is the bad one and not the
> first one Shawn?

Both shouldn't be there; it doesn't make sense to return SKIP_BODY from
doEndTag(); by that point, you've already processed the body.

You typically want to return EVAL_PAGE, but you can also return SKIP_PAGE
if the tag intends to halt the runtime processing of the page (e.g., as
<jsp:forward> does).

-- 
Shawn Bayern
Author, "JSP Standard Tag Library"  http://www.jstlbook.com
(coming this summer from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to