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
Why is httpservlet declared abstract?
What is the purpose of inter-servlet communication?
Does servlet have main method?
Explain url encoding?
What are the jobs performed by servlets?
How forward () method is different from send redirect () method?
Can you send an authentication error from a servlet?
What are the common methods that are included in the http servlet class?
Define the servlet mapping.
How to rectify errors in java servlet while compilation?
How do you create a cookie using servlet?
What is servlet and its life cycle?
Explain the features are in servlet 3?
What are the functions of Servlet container?
Write all the phases defined in servlet life cycle?