How do you pass the data from one servlet to another
servlet?

Answer Posted / tushar

these above solution transfer the content from servlet1 to servlet2, but what if we want to do some other processing after it.

Is This Answer Correct ?    3 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain web container.

565


How to handle exceptions thrown by application with another servlet?

608


What do you mean by filter in servlet?

534


If servlet receives multiple requests, how many objects will it create?

827


List out difference between a JavaBean from a Servlet?

562






If a servlet is not properly initialized, what exception may be thrown?

623


What do you mean by cgi?

529


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

614


What is a java servlet?

552


What is the difference between context parameter and context attribute?

531


When a servlet accepts a call from a client, it receives two objects. What are they?

758


How many objects of a servlet is created?

788


What is servlet lazy loading?

691


Why is a constructor needed in a servlet even if we use the init method?

602


What is the life cycle of a servlet?

781