How to pass a requrest object of one servlet as a request
object to another servlet?
Answer Posted / hari
Use RequestDispatcher to pass a requrest object of one
servlet as a request object to another servlet.
One way of implementing this operation ,
RequestDispatcher rD = null;
rd = request.getRequestDispatcher("xxx.jsp (or) servlet");
rD.forward(request,response);
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is the default http method in the servlet?
What is servlet collaboration?
what do you understand by url rewriting?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
How can I send user authentication information while making URL Connection?
What do you mean by the servlet chaining?
Which method of the httpservletrequest object is used?
Explain session tracking and its importance?
What are the two important api's in for servlets?
What are the key methods that are involved in processing of http servlets?
How to commuincate between an applet and a servlet?
When to use doget() and when dopost()?
What is servlet instance?
Why doesn’t a servlet include main()?
What is string tokenizer?