What is difference between Forward() and sendRedirect()
methode?
Answer Posted / mohan
I want to add one more point to the above answers, that is,
in case of Forward() the attributes related to the request
will remain same, as it is inside the server, whereas
incase of senRedirect(), it results in a new request so the
previous attributes of the request will be lost...
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are different Authentication options available in Servlets.
Which java application server is the best?
What are the different methods involved in generic servlet?
Which are the different ways you can communicate between servlets?
What are the supporting protocol by HttpServlet ?
What are the type of protocols used in httpservlet?
What is ServletContext object?
What is meant by Servlet? What are the parameters of service method?
What do you mean by servlet context?
What is http servlet? Explain with the help of an example.
What are the steps that are involved in using the httpservlet class?
How do I know if java is running on linux?
What is the difference between the servlets and cgi programs?
What are the new features added to servlet 2.5?
What is called servlet mapping?