Wrox Home  
Search P2P Archive for: Go

  Return to Index  

servlets thread: dynamic post from HttpServlet


Message #1 by Rue Turner <Rue.Turner@H...> on Thu, 24 May 2001 16:42:25 +0100
HttpServletResponse response =3D getResponse();  	=09

response.sendRedirect(redirectPage);

[doPost() | doGet() ] {

  //process

  eg - response.sendRedirect("http://www.cnn.com");

}

>>> Rue.Turner@H... 05/24/01 11:42AM >>>
Is it possible to take the data from an HttpServletRequest, process it, 
then
re-post it and the user to another page?
This would have the effect of leap frogging the user:
They submit - Servlet does something useful - the user ends up on another
page which has received info from the Servlet. BTW the originating and
ending pages may not be on the same server as the Servlet

many thanks in advance

Rue


  Return to Index