How many ways are available to ger RequestDispatcher object?
Answer Posted / venkat
there are two ways.
RequestDispatcher rd=req.getRequestDispatcher("\a.jsp");
RequestDispatcher rd=sc.getRequestDispatcher("\a.jsp");
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Can you create a deadlock condition on a servlet?
What is servlet and its life cycle?
What is lazy loading and what is Generic Servlet Class?
What exactly is a servlet?
Explain the difference between servletconfig and servletcontext in servlet?
What are the jobs performed by servlets?
What are the phases of the servlet life cycle?
What is the purpose of inter-servlet communication?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
Write the code to get the server information in servlet.
What are the various ways of session supervision in servlets?
Why do we need servlet filter?
Describe some assignments that are executed by servlet container?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
Explain servlet.