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
Name the packages that work with servlet?
What is the directory structure of web application?
What are some advantages of storing session state in cookies?
How do we call one servlet from another servlet?
What are the different session tracking techniques?
What is the importance of init() method in Servlet ?
How do you communicate in between Applets and Servlets?
What is servlet name in web xml?
What are the differences between servlet context vs servlet config?
What are some disadvantages of storing session state in cookies?
What are the uses of servlets?
What is url encoding and url decoding
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
What is the difference between Difference between doGet() and doPost()?
Explain load on start-up and its importance?