The "better pattern" is don't use a JSP to issue a redirect (or a forward for
that matter). This is much better suited to a Filter or a Servlet or a
controller component of an MVC framework (like Struts).

Quoting Nic Werner <[EMAIL PROTECTED]>:

> Greetings again,
>     I've noticed a problem with redirect if I have a good chunk of code, 
> where it won't redirect and I get this log error:
> 
> ----- Root Cause -----
> java.lang.IllegalStateException
>         at 
>
org.apache.coyote.tomcat4.CoyoteResponseFacade.sendRedirect(CoyoteResponseFacade.java:338)
>         at 
>
org.apache.taglibs.standard.tag.common.core.RedirectSupport.doEndTag(RedirectSupport.java:151)
>         at 
>
org.apache.jsp.editoutlethandler_jsp._jspService(editoutlethandler_jsp.java:602)
>         at 
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
> 
> .....googling this I see its a problem with too much whitespace? I was 
> able to correct this once by jamming all my tags together, making it 
> fairly unreadable, but this time around I'm trying to find a  better 
> pattern to this. Do certain tags cause this problem?
> 
> - Nic.
> 
> ----------------------------
> Nic Werner
> Sonoma State University

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

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

Reply via email to