DEVFYI - Developer Resource - FYI

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

JSP Interview Questions and Answers


(Continued from previous question...)

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

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

(Continued on next question...)

Other Interview Questions