Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt about sendRedirect() and RequestDispatcher.forward()

 
Fabian Angy
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !

Normally, we can't do a "RequestDispatcher.forward(...,...)" and a "response.sendRedirect()" after a PrintWriter.flush() but with Tomcat, I have no exception.

Is that normal ? :/



or



With these codes, I have a page with "Test" written.

Thanks,

Angy.
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2410
95
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Angy

Check this thread.

Regards,
Frits
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic