RE: DefaultServlet and getOutputStream() / getWriter()

2004-10-12 Thread Shapira, Yoav
Hi, Additionally, every change I suggested (on tomcat-user) was definitly not changing any behaviour, but maybe improving performance. The rewritten while{} patch you suggested definitely changed behavior significantly, as I and others pointed out ;) Returns a ServletOutputStream suitable for

RE: DefaultServlet and getOutputStream() / getWriter()

2004-10-12 Thread Shapira, Yoav
Hi, I didn't look at the DefaultServlet code at all, there's no need. The post I was referring to was one from you that said Try { while { ... } } catch { ... } Where either ... can throw an exception is the same as While { ... try { ... } catch { ... } } And obviously the two are not equal,

Re: DefaultServlet and getOutputStream() / getWriter()

2004-10-09 Thread support
Responder, The email address you have contacted is no longer active. Please use your company’s user log-in to www.apparelmagic.com/support to contact the ApparelMagic Support Department. Thank you. - To

Re: DefaultServlet and getOutputStream() / getWriter()

2004-10-09 Thread Remy Maucherat
Steffen Heil wrote: Hi I am reviewing the source code of the DefaultServlet. I do not understand the following: // slightly modified from source of serveResource. ServletOutputStream ostream = null; PrintWriter writer = null; try { ostream = response.getOutputStream(); }

Re: Re: DefaultServlet and getOutputStream() / getWriter()

2004-10-09 Thread support
Responder, The email address you have contacted is no longer active. Please use your company’s user log-in to www.apparelmagic.com/support to contact the ApparelMagic Support Department. Thank you. - To