Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the parameters of the service method ?

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


Please Help Members By Posting Answers For Below Questions

List out the difference between ServletConfig and ServletContext?

986


What is the difference between context parameter and context attribute?

970


What is the process for chaining servlet?

994


What is api in servlet?

964


What are all the protocols supported by httpservlet?

1185


What are the life cycle methods of a servlet?

989


What is life cycle of Servlet?

1020


What is context in servlet?

981


why we should override only no-agrs init() method.

1085


What is difference between GenericServlet and HttpServlet?

1065


Who is responsible for writing a constructor?

1205


How to find whether a parameter exists in the request object?

1056


Should I override the service() method?

1042


Explain jsessionid?

974


Which http method is said to be non-idempotent and idempotent?

1000