change the way the response streams are accessed for configuration and general servlets