Re: pass response

2008-01-17 Thread Ted Steen
many services only lives during the request/response cycle, so doing things in threads is not a good idea as the objects behind the proxies may be invalid when/while you use them. so the solution would be not to use threads. what are you trying to do? 2008/1/17, comett <[EMAIL PROTECTED]>: > in m

pass response

2008-01-17 Thread comett
in my service, public void service(IRequestCycle cycle), i pass "HttpServletResponse" to new Thread, in the new thread, i execute response.getwriter().print("xxx").. , i get the bottom error. if i not using new thread, response print can display properly, but with thread, i cannot do that. any id