wood burning stoves 2.0
The moose likes Servlets and the fly likes how it will recognize doGet() or doPost() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "how it will recognize doGet() or doPost()" Watch "how it will recognize doGet() or doPost()" New topic
Author

how it will recognize doGet() or doPost()

S.Reddisekhar Reddy
Ranch Hand

Joined: Jan 05, 2012
Posts: 32
if we use rd.forward("ServletName") or rd.include("ServletName") then how it will decide to call doGet() or doPost() ,I hope if we didn't specify any it will call doGet() is it right?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63216
    
  69

As neither creates a new request, the HTTP method is unchanged.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how it will recognize doGet() or doPost()
 
It's not a secret anymore!