On 12/10/2009 09:10 PM, moeshroom wrote:
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
ok, I haven't tried it, but it would look like
event.close();
getRequestDispatcher().include(....);
you have to close the event before you start doing regular servlet stuff
Filip
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org