If so, how?

On BEGIN events I am storing the HttpServletRequest, HttpServletResponse,
and the ServletContext associated with the request.

>From my MessageSender thread I am successfully able to write to my stored
HttpServletResponses.  But I can't figure out how to forward them to a JSP. 
I have tried using not only the stored ServletContext but also the implicit
getServletContext to create my RequestDispatcher as well as calling
getRequestDispatcher on my stored HttpServletResponse, but these doesn't
work either.  Neither does sendRedirect().  The behavior for all is that no
response is ever sent back to the client.

I would be grateful if you glanced at my code.  There's LobbyServlet.java as
well as lobby.jsp in case my Ajax is suspect.

Thanks!

http://old.nabble.com/file/p26738401/LobbyServlet.java LobbyServlet.java 
http://old.nabble.com/file/p26738401/lobby.jsp lobby.jsp 
-- 
View this message in context: 
http://old.nabble.com/Can-RequestDispatcher-forward-long-polled-requests--%28Comet%29-tp26738401p26738401.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to