how this statement works..?
public void service(HttpServletRequest
request,HttpServletResponse response)
Answer Posted / shubha
1.servlet container calls the service(servletreq,
servlrtResp) method of HTTPServlet.
2.the service(ServletReq, ServletResp) method of
HTTPServlet calls the service(HttpServletReq,
HttpServletResp) method of the same class. in this service
method is overloaded in the HttpServlet class.
3.service(HttpServletReq, HttpServletResp) mthos alayse the
request and findout which HTTP method is being
used.Depending on Http method appropriate doXXX() mthod
will be call.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are the two important api's in for servlets?
How to generate the server side programming and the advantages of it over the other languages?
What is a servlet?
What is called a session?
Difference between java beans & servlets?
What is the major difference between context parameter and context attribute?
Which java framework is most popular?
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
How can we perform any action at the time of deploying the project?
What is preinitialization of a servlet?
Differentiate between get and post?
How can you push data from an Applet to a Servlet?
What is servlet looping or chaining?
What are the mechanisms used by a servlet container for maintaining session information?
What is http servlet?