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 are the types of servlet?
What is ServletContext object?
How can we refresh automatically when new data is entered into the database?
What do you mean by default initialization in java servlet?
What is difference between PrintWriter and ServletOutputStream?
What's the use of servletcontext?
What is the difference in between the httpservlet and generic servlet?
Whats the advantages using servlets over using CGI?
What are the uses of servlet
Difference between java beans & servlets?
What is difference between cookies and httpsession?
What are the objects involved when a servlet receives a call from client?
Can we override servlet service method?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
How does java thread pool work?