aspose file tools
The moose likes Servlets and the fly likes forwarding to the DoPost part of a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "forwarding to the DoPost part of a servlet" Watch "forwarding to the DoPost part of a servlet" New topic
Author

forwarding to the DoPost part of a servlet

Rajesh Khan
Ranch Hand

Joined: Oct 16, 2011
Posts: 230


Is it possible that i forward to the doGet pasrt of a servlet ??
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12267
    
    1
No - because a forward preserves the request headers which will contain the POST method directive.

Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: forwarding to the DoPost part of a servlet
 
Similar Threads
servlet programming problem in Eclipse
how to run a servlet
ServletOutputStream is not working?
How can a form be populated on JSP start-up?
getServletConfig() does not work