Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. 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-2015