How do you pass the data from one servlet to another
servlet?
Answer Posted / abilash
also we can set data in the request too
request.setAttribute("variableName"object);
we can get the value in the next servlet by
Object obj = request.getAttribute("variableName");
| Is This Answer Correct ? | 24 Yes | 18 No |
Post New Answer View All Answers
List some life cycle methods of a servlet.
How would you create deadlock on your servlet?
What are the features added in Servlet 2.5?
What is Servlet API used for connecting database?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
what do you understand by url rewriting?
Explain the features are in servlet 3?
Which interface must be implemented by all servlets?
Which is better jsp or servlet?
How do you configure a centralized error handler in servlets?
Where do you define dispatcherservlet?
What is the workflow of a servlet?
What is servlet name in web xml?
What is servlet api used for conneting database?
What is servlet and its types?