Re: Strange error message

2004-06-14 Thread Shailender Jain
I think you are using some code after response.sendRedirect() or doForward() which forward the request to other page. The best practice will be to use a return statement after doing the forward. You should ensure to complete all you business logic before these statements are used. "Rajat Pandit, G

RE: Strange error message

2004-06-14 Thread Rajat Pandit, Gurgaon
Hello Scott, Yes, this happens when you have already sent the headers to the client and then you are trying to re-send the information. This will cause the application container to give you this error. Make sure that before you do a dispatch no headers have been changed including cookie values etc.