{
    public static Continuation getContinuation(HttpServletRequest request, Object lock)    {        Object c=request.getAttribute("org.mortbay.jetty.ajax.Continuation");        Continuation continuation = (Continuation) c;        if (continuation==null)        {            continuation=new WaitingContinuation(lock);            // TODO Save for next request?        }        return continuation;    }