tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross, Douglas" <>
Subject RE: Redirect Issues
Date Tue, 14 Sep 2004 17:46:43 GMT

Increasing the buffer size may only mask the problem. You have to be
careful to understand what is happening: once any content in the buffer
has been commited to the response, a redirect may not be valid.

You definitely need to decide on the "view" (which redirect you want)
before you get to your JSP(s). If your JSP is making these decisions,
then you need to put these decisions at the very top before any output
goes to the client. 

Hope this helps.

-----Original Message-----
From: Serge Knystautas [] 
Sent: Tuesday, September 14, 2004 1:38 PM
To: Tag Libraries Users List
Subject: Re: Redirect Issues

Nic Werner wrote:
> Greetings again,
>    I've noticed a problem with redirect if I have a good chunk of
> where it won't redirect and I get this log error:
> ----- Root Cause -----
> java.lang.IllegalStateException
>        at 
>        at 
>        at 
>        at 
> org.apache.jasper.runtime.HttpJspBase.service(

First suggestion is to increase your page buffer size so that more of 
your response can be kept in memory.  Second would be to try to move the

redirect higher in the JSP.  Third, in case this isn't the whole stack 
trace, make sure you're not trying to do a redirect in an include file.

Serge Knystautas
Lokitech >> software . strategy . design >>
p. 301.656.5501

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message