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 directory structure of a war file?
What do you mean by filter in servlet?
What is servlet container. how it works?
Name the packages that work with servlet?
Why the container loads server at the application startup and how?
Which event is fired at the time of project deployment and undeployment?
How do I know if java is running on linux?
How the servlet is loaded?
When to use doget() and when dopost()?
When jsessionid is created?
What are the functions of an intercepting filter?
How would you create deadlock on your servlet?
What is ServletContext object?
Explain get and post.
How do I support both get and post from the same servlet?