Answer Posted / tulasi vani
Servlets communicate with each other with the help of
RequestDispatcher objects.
RequestDispatcher rd=getServletConfig().getNamedDispatcher
(...);
... name used to identify a servlet i.e. name given in the
web.xml in the url-pattern
| Is This Answer Correct ? | 17 Yes | 1 No |
Post New Answer View All Answers
Why don't we write a constructor in a servlet?
Explain url encoding in servlet?
What is the inter-servlet communication?
What is difference between jsp and 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 multiple server?
How to handle exceptions thrown by application with another servlet?
What is the difference between a generic servlet and http servlet?
What is servlet configuration?
How is the get () method different from the post() method?
Given the request path below, which are context path, servlet path and path info?
What is meant by servlet? What are the parameters of the service method?
Explain is servlet mapping?
How can you push data from an Applet to a Servlet?
What do you mean by cgi?