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
How many objects of a servlet is created?
Which java application server is the best?
What is string tokenizer?
Whether thread can be used in servlets?
Is it possible to have a constructor inside the servlet?
What is difference between cookies and httpsession?
What is the process for chaining servlet?
How does Cookies work in Servlets?
What are Servlets?
Tell us something about servletcontext interface.
How can we implement a jsp page?
What's the difference between servlets and applets?
What do you mean by cgi in servlet?
Explain web application directory arrangement?
What is the use of send redirect () method?