aspose file tools*
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
Greenhorn

Joined: Jan 05, 2012
Posts: 29
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: 61769
    
  67

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how it will recognize doGet() or doPost()