What’s the difference between forward and sendredirect?
Answer / Ankur Sudhanshu
In JSP, RequestDispatcher.forward() is used to forward a request to another resource within the same application without changing the request URL or response headers, while Response.sendRedirect() sends an HTTP redirect status (302) to the client, making a new HTTP request to the specified URL.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the steps for creating custom tags in jsp?
What are the implicit, internal objects and methods on the jsp page?
Can jsp contain javascript?
What are the lifecycle phases of a jsp?
Explain jsp lifecycle methods?
How can i connect from jsp to servlet page
What is a declaration?
List the various action tags used in jsp.
What is scriptlet, expression and declaration in jsp?
What is meant by session management?
Is jsp static or dynamic?
What are the components that make up a tag library in jsp?