when the webcontainer creates ServeletConfig,ServletContext
objects? befoure creating the Servlet object or not?
Answer Posted / durga ganesh reddy
Just by receiving a request, the web container creates
ServletContext object(so it is called asapplication
object).After creating servlet object then ServletConfig
object will be created.For each servlet instance there will
be a ServletConfig istance is available separtely.
Is This Answer Correct ? | 11 Yes | 8 No |
Post New Answer View All Answers
What is the procedure of invoking different servlet in a different application?
What do you mean by servlet context?
What are the ways to handle multi-threading in servlets?
What is the servlet?
What do you mean by the servlet chaining?
What is webservlet?
Given the request path below, which are context path, servlet path and path info?
What is the process to implement doget and dopost methods?
Can you refresh servlet in client and server-side automatically?
What if you need to span your transaction across multiple servlet invocations?
What are Servlets?
Explain the features are in servlet 3?
Can you create a deadlock condition on a servlet?
What is pure 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 >>