GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  Programming  >  Java
Go To First  |  Previous Question  |  Next Question 
 Java  |  Question 883 of 928    Print  
Send Request in Servlets
Is it possible to send request by overriding doGet()and doPost()Methord in servlets? If Yes, How?


  
Total Answers and Comments: 2 Last Update: April 09, 2009     Asked by: mayankgaur8 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 29, 2009 09:45:52   #1  
anithananduri Member Since: January 2009   Contribution: 11    

RE: Send Request in Servlets
To send request (to update/add) to any database doPost() is used to retrieve data we use doGet() in Httpservlet
 
Is this answer useful? Yes | No
April 09, 2009 10:07:05   #2  
anithananduri Member Since: January 2009   Contribution: 11    

RE: Send Request in Servlets
We can send request to servlet using doGet() doPost().
doGet() is used when we request servlet directly from browser.

 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : alert("Your Message"); ...


Latest Answer :         Servlets are used to extend the functionality of web server.       i.e., it is used to implement business logic ...

Hello world is compile..but run time error has occured..i.e. expection in thread main:java.lang.NoDefFoundErrorplease send replay for this question.....
Read Answers (2) | Asked by : m.sreekanth

A) A servlet can handle multiple requests concurrently, and can synchronize requests. This allows servlets to support systems such as on-line conferencing.B) Servlets can forward requests to other servers 
Latest Answer : Answer : A) ...

Latest Answer : Yes, By using HTTP, Socket, RMI ...

I have problem with threads implementation in servlets the problem is the servlets which uses instance variablesand if we pass request from two diff servers the o/p generated is mis matching with each other.i have also userd synchronized block but it is not working well(servlet not implementing the single thread model )
Read Answers (1) | Asked by : vishal

I face problem while doing Servlet program. I successfully get .class file of Servlet's .java file, When I copy(deploy) the .class file in "servlets-example->WEB-INF->classes " folder& map in web.XML file , & run it does not run . When I check,in Tomcat's manager.HTML file , The running option for servlets-examples is turned false, It happens many times.What shall I do to recover?? Please answer me????
Read Answers (1) | Asked by : Abdul Sayeed

Even we implement the singlethread mode to make servlet thread safe ,we can access the some of the resources using session,context and request..how we can make a servlet full thread safe or how we have to take the scopes to store sencitive data

Hi,i am new to java and learning struts.I am using Netbean editor for sturts application problem i am facing is not been able to compile the file i have created.What actully i have done is i am using BeerforAll project which i have downloaded from netbean site. So i just want to make few changes in this site just for lerning purpose.I created a catalog.jsp file and then created a catalogAction.java so when i try to compile this file it showing me that it has been compiled but not showing it in classes
View Question | Asked by : Harjinder Singh


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

SQL Programming

SQL Programming Overview Anybody who has done something for a long time has probably wanted to change how things work at some point or another. A worker at a mill might have found a more efficient way of cutting logs, or a mathematics teacher might have had a hand in changing a school’s al
 

WinRunner Programming Concepts

If you want to create WinRunner scripts that are highly efficient, there are important programming concepts that you will want to become familiar with. Understanding these concepts will provide you with a large number of key benefits. In addition to understanding these concepts, you must also learn
 

Programming Languages Certification

IT Certification programs have several options that will offer you the best knowledge.  By learning everything that you need to know about information technology you will be able to open new doors to your career and personal business desires.  IT Certification offers several vari
 

Client Server : Object Request Brokers

Client Server Object Request Brokers The Importance of Middleware Middleware is the connective layer in client server models The multi vendor software is compiled by designers to enable services that allow multiple machines to process multiple requests and interact across a network It also allows co
 

Using UML with Java

Using UML with Java While Java is not a new language its application for the development of embedded systems is quite new Developers are beginning to take a second look at modeling languages such as UML and many feel it can be a powerful tool in their development arsenal mosgoogle center Introductio
 

Neuro-linguistic Programming Methods

Neuro linguistic Programming Methods There are several methods used for performing Neuro linguistic Programming on an individual for obtaining insights into the psyche of the person in order to correct to modify certain patterns of behavior These techniques are also used for Neuro linguistic trainin
 

The Difficult Past of Neuro-linguistic programming

The Difficult Past of Neuro linguistic programming Neuro linguistic programming has had a rocky past with a number of lawsuits rivalry unsystematic development and intermittent progress During the 1980s the two founders separated after the lawsuit filed by Bandler Bandler went on to file several law
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape