What is forward() and include() of servlets
RequestDispatcher interface?

Answer Posted / suresh

forward() is used to just forward the request and response
object...

include() is used to pass the values and request and
response object,one servlet to another servlet

Is This Answer Correct ?    5 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many objects of a servlet is created?

782


explain the advantages of servlet life cycle?

551


Explain the servlet context.

594


What is the process for chaining servlet?

600


What is a servlet context object?

617






How would you create deadlock on your servlet?

614


What is the use of servletconfig interface?

549


What's the difference between authentication and authorization?

540


Explain their methods? Tell me their parameter names also have you used threads in servlet?

574


What is called servlet mapping?

548


request parameter how to find whether a parameter exists in the request object?

562


Explain the difference between jsp and servlet?

580


What is called Scriptlet?

552


How can we achieve transport layer security for our web application?

561


What do you mean by httpservlet and how it is different from the genericservlet?

531