Answer Posted / gaurav agrawal
ServletContext is the interface by which we can get the
information of the web container.this interface has some
methods by which we can get information
Is This Answer Correct ? | 12 Yes | 12 No |
Post New Answer View All Answers
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?
What is the procedure of invoking different servlet in a different application?
What is cookie in servlet?
Why is http protocol called as a stateless protocol?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
How httpservlet is different from the genericservlet?
Is that servlet is pure java object or not?
Define the life cycle of a servlets.
What are different Authentication options available in Servlets.
What methods do you use in servlet - applet communication?
What mechanisms are used by a Servlet Container to maintain session information?
How do we share data using 'getservletcontext ()?
Can we use threads in Servlets?
How is an application exception handling is done using a servlet?