On Tue, 2 Oct 2001, Hunter Hillegas wrote:

> Date: Tue, 02 Oct 2001 15:06:37 -0700
> From: Hunter Hillegas <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: Tomcat User List <[EMAIL PROTECTED]>
> Subject: Re: Tag Libs And Model 2
>
> Am I right that I can only do something like this at the very start of a JSP
> to avoid "request already committed" errors?
>

It depends on how big your buffer is, which you can adjust in the
<%@ page %> directive.  The response will only be committed if there have
already been more than a buffer-full of characters generated to your
output stream by the time your custom tag is called (or until you commit
the response yourself).

See the JSP Specification for more info:

  http://java.sun.com/products/jsp/download.html

Craig

Reply via email to