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’s the use of the servlet wrapper classes??
How do you load an image in a Servlet?
Explain servlet.
Can we get PrintWriter and ServletOutputStream both in a servlet?
what is servlet chaining?
How is an application exception handling is done using a servlet?
What are the supporting protocol by HttpServlet ?
What are the disadvantages of storing session state in cookies?
What is a servlet context?
What is the difference between genericservlet and httpservlet
How do you invoke a servelt?
What are the difference between session and cookies in servlet? Explain
Who is responsible for writing a constructor?
The code in a finally clause will never fail to execute, right?
Explain session tracking and its importance?