Hello
I am submitting a form to my jsp page, uploading it, and want to redirect back to the main page.
I get an illegal state exception.
Without the file upload, it works fine.
Error:
java.lang.IllegalStateException
org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:435)
Welcome to javaranch . Coming to your question, i guess you are trying to forward to some other page after redirect or vice versa . please post your code
Please be sure to use code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.
You can go back and change your post to add code tags by clicking the button on your post.