What is difference between Forward() and sendRedirect()
methode?
Answer Posted / lala mishra
i will tell the conclusion of all
1. in case of forword() server will not inform client
2. in case of forword the same request will be sent to other
resourse so that request attribute will not distroy.
the opposite is for sendRedirect.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What is a server side include (ssi)
What do you mean by a filter and how does it work?
What do you mean by the servlet chaining?
What do you mean by web applications? Explain web application directory arrangement?
Which are the different ways you can communicate between servlets?
How can we create deadlock situation in servlet?
If servlet receives multiple requests, how many objects will it create?
Difference between forward() method and sendredirect() method ?
What is the difference between portlet and servlet?
How the typical servlet code look like ?
What is the major difference between context parameter and context attribute?
What are the life cycle methods of a servlet?
What is called servlet mapping?
How the JSP file will be executed on the Server side?
Can servlet have a constructor ?