Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Illegal State exception

 
Nila dhan
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic