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
Define the servlet mapping.
What is servlet api used for conneting database?
Which method is called when reference variable is passed in system.net?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What are the steps that are required to handle the multi-threading?
What is the difference between the http servlet and generic servlet?
Describe some assignments that are executed by servlet container?
why we should override only no-agrs init() method.
I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?
Difference between doget and dopost?
Does servlet have main method?
What is the use of java servlet api?
What are Servlets?
What is the directory structure of a war file?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com