[jboss-user] [Javassist user questions] - Importance of PrintWriter.close()

ulliM do-not-reply at jboss.com
Mon Dec 10 06:11:00 EST 2007


Hi all,

one question:
what happens, if a servlet prints out a response to the client by using: 
response.getWriter().print("my answer"); //response instanceof HttpServletResponse
and the printWriter is NOT closed at all???

Will it lead to a memory leak?..or does jboss close open connections itself?

JBoss Version: 4.0.3SP1


thanks for any hints

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111573#4111573

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111573



More information about the jboss-user mailing list