Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

forward and redirect

 
Daniel del Castillo
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Marcus,

I'm confused with the behavior of the app when doing a redirect o forward. After doing a call to any of these methods from a servlet or filter, the control is get back to the caller of such method, but in some app server I get an error if I try to write in the response's stream and no error in other but the content written by the caller is discarded. Can you clarify this? What should be the behavior according to the standards for both filters and servlets?

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