This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Forward

 
eelangovan
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
maha anna
Ranch Hand
Posts: 1467
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic