File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
RabbitMQ in Depth
this week in the
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.
It is sorta covered in the
JavaRanch Style Guide
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-2015