aspose file tools*
The moose likes Servlets and the fly likes doGet() and doPost() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "doGet() and doPost()" Watch "doGet() and doPost()" New topic
Author

doGet() and doPost()

eswar kumar
Ranch Hand

Joined: Oct 20, 2002
Posts: 98
who will decide to use doGet() or doPost() methods ?
Avi Abrami
Ranch Hand

Joined: Oct 11, 2000
Posts: 1121

The HTTP request that is passed to the servlet.
Good Luck,
Avi.
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
form tag has an attribute called method as
<form action="serlvetname" method="get"> will result in calling doGet.
<form action="serlvetname" method="Post"> will result in calling doPost
Cheers
Praful
[ November 19, 2003: Message edited by: Praful Thakare ]

All desirable things in life are either illegal, banned, expensive or married to someone else !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doGet() and doPost()
 
Similar Threads
Servlet - second assignment
doPost and doGet
doGet,doPost
what is the difference between doGet and doPost?
POST or GET