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
Explain url encoding?
Write the code to get the server information in servlet.
How do you invoke a servelt?
What is servlet initializer?
Can we override servlet service method?
What do you mean by chaining in servlet?
How can we refresh automatically when new data is entered into the database?
What's the difference between servlets and applets?
Is servlet a framework?
Can you call a jsp from the servlet?
Difference between forward() method and sendredirect() method ?
What is servlet and list its types?
How do you load an image in a Servlet?
What is the advantage of Servlets when compared with other server side technologies?
What is called servlet container?