How many ways are available to ger RequestDispatcher object?
Answer Posted / vijay
by two ways we can get the RequestDispatcher object.
1) by using ServletContext.getRequestDispatcher().
2)by using HttpServletRquest.getRequestDispatcher().this
method inherted from ServletRequest.
| Is This Answer Correct ? | 24 Yes | 4 No |
Post New Answer View All Answers
Why the concept of single thread model interface is used?
Is servlet thread safe?
Servlet is pure java object or not?
Which httpsession object is used to view and manipulate information about a session?
Explain the difference between jsp and servlet?
Describe the phases of servlet lifecycle?
Differentiate between get and post?
What is servlet initializer?
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
Which java framework is most popular?
Explain web application directory arrangement?
What do you mean by filter in servlet?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
Write a simple servlet program to print the contents of html.
What is servlet name in web xml?