[Opensource] how to do a redirect from a controller?
Thompson, Kris
kris.thompson at seurat.com
Fri Mar 28 14:47:47 PST 2003
I would like to use the method response.sendRedirect(url) in my process state but when I try that I get this error
java.lang.IllegalStateException: Cannot forward after response has been committed
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:368)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
This is not an Expresso problem but I wonder how others have done this?
One alternative seems to be to create a redirect.jsp page like is done in the jsp pages which redirects from the jsp. That would work but I wonder if there might be a better way.
Thanks
Kris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.jcorporate.com/pipermail/opensource/attachments/20030328/aedd6d5e/attachment-0002.htm
More information about the Opensource
mailing list