How to pass a requrest object of one servlet as a request
object to another servlet?
Answer Posted / priya
in an any web application when we have to pass object from
one servlet to another then we use request dispatcher.the
request dispatcher is used by using request.setAttribute
("key",value) in the first servlet and request.getAttribute
("key")in the second servlet.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the need of session tracking in web application?
What methodology can be followed to store more number of objects in a remote server?
What are some disadvantages of storing session state in cookies?
Why doesn’t a servlet include main()?
How do we share data using 'getservletcontext ()?
Explain Action Servlet?
What is load-on-startup in servlet?
What are the steps involved in placing a servlet within a package?
Is tomcat a servlet container?
Explain is servlet mapping?
Explain how to improve Servlet Performance?
How do you invoke a servelt?
List out difference between a JavaBean from a Servlet?
Which are the different ways you can communicate between servlets?
How would you create deadlock on your servlet?