Answer Posted / sudarsan
Servlet is an Interface.
It is a server side component.
servlet takes the request from the container and process
the request and send the response to the container.
so container manages the servlet life cycle.
servlet is a controller.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why is a constructor needed in a servlet even if we use the init method?
What is preinitialization of a servlet?
Why do you use session tracking in httpservlet?
What are the phases of the servlet life cycle?
What are the advantages of Servlet over CGI?
What are the types of servlets? Explain
How do cookies work in servlets?
How can we perform any action at the time of deploying the project?
What are the important functions of filters?
How do we call one servlet from another servlet?
I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>
What is servlet and its life cycle?
Explain the different ways for servlet authentication?
Which application server is best for java?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?