What is the use of RequestDispatcher in servlet?
Answer Posted / mahesh
When we want to use some fields of one servlet page in
another servlet page this RequestDispatcher is very useful
through the methods
1.forward()
2.include()
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Describe some assignments that are executed by servlet container?
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 collaboration?
Explain the custom jsp tags and the beans.
What is cookie? Why is cookie used?
What is the use of welcome-file-list?
What is the capacity the doget can send to the server?
How can we perform any action at the time of deploying the project?
why we should override only no-agrs init() method.
List out difference between a JavaBean from a Servlet?
What is the advantage of Servlets when compared with other server side technologies?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What is the default http method in the servlet?
Why is init() method is used in servlets?
What is the difference between the http servlet and generic servlet?