GeekInterview.com
Series: Subject: Topic:
Question: 96 of 995

Send Request in Servlets

Is it possible to send request by overriding doGet()and doPost()Methord in servlets? If Yes, How?
Asked by: mayankgaur8 | Member Since Oct-2008 | Asked on: Nov 15th, 2008

View all questions by mayankgaur8

Showing Answers 1 - 2 of 2 Answers

To send request (to update/add) to any database doPost() is used, to retrieve data we use doGet() in Httpservlet

  
Login to rate this answer.

We can send request to servlet using doGet(), doPost().
doGet() is used when we request servlet directly from browser.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.