A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
forwarding to the DoPost part of a servlet
Joined: Oct 16, 2011
Feb 24, 2012 17:56:04
RequestDispatcher view = request.getRequestDispatcher("ServletName?uname="+UserName); view.forward(request, response);
Is it possible that i forward to the doGet pasrt of a
Author and all-around good cowpoke
Joined: Mar 22, 2000
Feb 24, 2012 20:18:11
No - because a forward preserves the request headers which will contain the POST method directive.
I agree. Here's the link:
subject: forwarding to the DoPost part of a servlet
servlet programming problem in Eclipse
How can a form be populated on JSP start-up?
how to run a servlet
ServletOutputStream is not working?
getServletConfig() does not work
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014