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 are the new features added to servlet 2.5?
What is new in ServletRequest interface ? (Servlet 2.4)
How to read request headers from servlets?
Which interface should be implemented by all servlets?
Why are http servlets used in programming?
List out the difference between ServletConfig and ServletContext?
What’s the difference between forward() and sendredirect() methods?
What is cookies in servlet with example?
What is the type of method for sending request from http server?
What is the difference between portlet and servlet?
What is servlet in web technology?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
Can you create a deadlock condition on a servlet?
When jsessionid is created?
If servlet receives multiple requests, how many objects will it create?