Passing Control from One JSP Page to Another

Q

How do you pass control from one JSP page to another?

✍: FYICENTER.com

A

Use the following ways to pass control of a request from one servlet to another or one jsp to another.

  • The RequestDispatcher object's forward method to pass the control.
  • The response.sendRedirect method

2007-04-03, 4575👍, 0💬