wood burning stoves
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

Servlet Forward


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.
- satya

Take a Minute, Donate an Hour, Change a Life
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(..)
maha anna
Sagar Surana

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

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