*
The moose likes Servlets and the fly likes Servlet Forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Forward" Watch "Servlet Forward" New topic
Author

Servlet Forward

eelangovan
Greenhorn

Joined: Jan 06, 2001
Posts: 3
Hai Friends,
Please help me in this regard:
I want to redirect to a servlet's POST method, but not GET methd( which is by default).
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

First I would like to restate the naming policy and that you have not foll. it. Pl. do follow, so it helps us.
Having said that, I would sugget that you perform a search
operations with the key word servlet forward. I found
abt 37 matches. I have reviewed abt five of them and found
some interesting stuff which would help you. Obviously, I
couldn't review all of them. Don't get me wrong,
but I was not sure how deep you wanted to go.
Regds.
- satya

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Unless POST and GET operations are different in Servlet's doGet and doPost methods, we can make doGet(..) call doPost(..) instead. Inside doGet(..) make a call to doPost(..)
regds
maha anna
Sagar Surana
Greenhorn

Joined: Dec 23, 2000
Posts: 21
U can do one thing run the servlet using html file
write code in html file to invoke servlet
it will use the post method
------------------
Sagar Surana
optimist


Sagar Surana<BR>optimist
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet Forward