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 are the steps that are required to handle the multi-threading?
What exception should be thrown when servlet is not properly initialized?
How to get the IP address of client in servlet?
what is multiple server?
How will two or three servlets interact or communicate with each other?
What is the use of request dispatcher interface?
Can you refresh servlet in client and server-side automatically?
What are the life cycle methods of a servlet?
Which httpsession object is used to view and manipulate information about a session?
Is servlet a controller?
Which event is fired at the time of project deployment and undeployment?
Which application server is best for java?
How can you start a jta transaction from a servlet deployed on jboss?
Can we use the constructor, instead of init(), to initialize servlet?
What is a web container and what is its responsibility?