How to pass a requrest object of one servlet as a request
object to another servlet?
Answer Posted / ravikiran(aptech mumbai)
using request.setAttribute("key",value) in the first servlet
and request.getAttribute("key") in the second servlet
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
What methods do you use in servlet - applet communication?
What is the difference between the include() and forward() methods?
How to get the IP address of client in servlet?
What are the difference between session and cookies in servlet? Explain
What are the key methods that are involved in processing of http servlets?
How will you pass values from HTML page to the servlet?
How httpservlet is different from the genericservlet?
Define the servlet mapping.
What are the life-cycle methods for a servlet?
What is MIME Type?
Explain the methods of request dispatcher in servlet?
Can we get PrintWriter and ServletOutputStream both in a servlet?
What's the servlet interface?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
Why servlet is faster than jsp?