Answer Posted / shakir khan
service() method called servlet to handle client request in
a new thread.service() method accepts ServletRequest and
ServletResponse objects as parameters.ServletRequest object
contains client requests.It contains data sent in
name/value pairs.
ServletResponse object is used to send the respose to the
client.
public void service(ServletRequest req,ServletResponse res)
throws ServletException,IOException
{
}
| Is This Answer Correct ? | 10 Yes | 10 No |
Post New Answer View All Answers
What is servlet configuration?
When a servlet accepts a call from a client, it receives two objects. What are they?
What is the difference between portlet and servlet?
Why is Servlet so popular?
What is servlet mapping?
How can the session in servlet be destroyed?
Why doesn’t a servlet include main()?
How do you find out what client machine is making a request to your servlet
What is Servlet API used for connecting database?
What is the servlet?
What is the use of httpservletresponsewrapper?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
What is getservletcontext?
How to get the IP address of client in servlet?
How is the get () method different from the post() method?