difference between sendredirect,forward and url rewritting

Answer Posted / kalyan

Forward () method is bypass the client request one class to
another class using forward(request ,response) method it
done on the serverside.

sendredirect is changing one page to another page its a
default page its done the client side.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you run a servlet program?

785


What is servletconfig?

737


What's the use of servletcontext?

870


Explain in brief the directory structure of a web application?

779


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

754


If servlet receives multiple requests, how many objects will it create?

1050


Which java framework is most popular?

762


How does tomcat servlet container work?

802


What is the use of send redirect () method?

783


What is dispatcher servlet?

777


What is called servlet container?

828


Explain the role of dispatcherservlet and contextloaderlistener.

858


What is cgi and what are its drawbacks?

728


How can we upload the file to the server using servlet?

737


How do you configure a centralized error handler in servlets?

743