tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: Tag Libs And Model 2
Date Tue, 02 Oct 2001 23:17:19 GMT


On Tue, 2 Oct 2001, Hunter Hillegas wrote:

> Date: Tue, 02 Oct 2001 15:06:37 -0700
> From: Hunter Hillegas <lists@lastonepicked.com>
> Reply-To: tomcat-user@jakarta.apache.org
> To: Tomcat User List <tomcat-user@jakarta.apache.org>
> 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


Mime
View raw message