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

Differentiate between the print writer and servlet output stream?

554


What are the common methods that are included in the http servlet class?

572


What are all the ways for session tracking?

586


How printwriter is different from servletoutputstream?

570


What is the difference between servlet and filter?

518






Explain the difference between servlet and cgi?

600


Why is it that we can't give relative URL's when using ServletContext.getRequestDispatcher() when we can use the same while calling ServletRequest.getRequestDispatcher()?

610


What is httpservlet and how it is different from genericservlet?

596


List the Different types of servlet?

571


What is meant by session? Tell me something about httpsession class?

593


Which event is fired at the time of project deployment and undeployment?

777


Define context initialization parameters.

564


What are the functions of an intercepting filter?

482


What is URL Encoding?

614


What is the difference in between the httpservlet and generic servlet?

599