How do you pass the data from one servlet to another
servlet?
Answer Posted / tulasi vani
We can pass the data from one servlet to another using
RequestDispatcher object.
1.RequestDispatcher rd=getServletContext.getNamedDispatcher
("...");
rd.forward(request,response);
... means use the name of the url-patterns you have
specified for the servlet in web.xml.
| Is This Answer Correct ? | 34 Yes | 15 No |
Post New Answer View All Answers
How do we call one servlet from another servlet?
How can we create deadlock situation in servlet?
What is the inter-servlet communication?
Which HTTP method is non-idempotent?
What are advantages of servlets over cgi?
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
List out difference between a JavaBean from a Servlet?
What is the procedure of invoking different servlet in a different application?
Explain the difference between servletconfig and servletcontext in servlet?
Define declaration.
Describe servlet?
What do you mean by session tracking and also explain its techniques?
What are the types of protocols supported by httpservlet ?
Write the code to get the server information in servlet.
How servlet is created?