java.lang.IllegalStateException
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Viet_Jav
Posted On:   Friday, June 21, 2002 02:58 AM

See the following code (I want open new browser window): In com.ibsdp.dsr.channel.Test has methods doPost(request, response) { ... resquest.sendRedirect(url); } sendRedirect(url) throws java.lang.IllegalStateException. Why does this error throws? Please show me how to fix this error. Thanks. Lam nguyen.    More>>

See the following code (I want open new browser window):





















In com.ibsdp.dsr.channel.Test has methods

doPost(request, response) {


...

resquest.sendRedirect(url);


}


sendRedirect(url) throws java.lang.IllegalStateException.
Why does this error throws? Please show me how to fix this error.

Thanks.
Lam nguyen.    <<Less

Re: java.lang.IllegalStateException

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, June 21, 2002 07:19 AM

Have you already written anything to the response out? You can only send a Redirect if you have not written anything to the response out yet.

About | Sitemap | Contact