Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot forward after response has been committed  RSS feed

 
Ansar Shah
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

In an Action class's execute(..) method, when I use the PrintWriter's println() method, i can not forward the page by using
actionMapping.findForward("success");

Instead it gives following exception:


I know this is the valid case of this exception to occur. But not sure about the solution of this problem.
Please Help!
 
Markandey Sahu
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
write return null; instead of mapping.findForward();
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!