| Author |
Illegal State exception
|
Nila dhan
Ranch Hand
Joined: Sep 15, 2005
Posts: 160
|
|
Hi pals, I call a Transport.send(msg)(which is in another java file) in an action and after that forward the response using mapping.findForward() to another page.At this point i at times get cannot forward after response has been committed exception.Will increasing the buffer size solve this problem or is there any other way to solve this? [ October 17, 2005: Message edited by: Nila dhan ]
|
 |
dema rogatkin
Ranch Hand
Joined: Oct 09, 2002
Posts: 294
|
|
Unless you use Transfer-Encoding=chunked, you can't do that. Edit: If you forward inside the same app, then I think you can try dispatcher.forward() to avoid the problem. [ October 17, 2005: Message edited by: dema rogatkin ]
|
Tough in space?, <a href="http://tjws.sf.net" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="http://mediachest.sf.net" target="_blank" rel="nofollow">Check it here.</a><br /><a href="http://7bee.j2ee.us/book/Generics%20in%20JDK%201.5.html" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="http://7bee.j2ee.us/bee/index-bee.html" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="http://7bee.j2ee.us/addressbook/" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="http://searchdir.sourceforge.net/" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
|
 |
 |
|
|
subject: Illegal State exception
|
|
|