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



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

Answer / Brijesh Kumar Mishra

<html><body>You can pass control from one JSP page to another by using various methods, such as:<br><ul>n<li>Form Submission: Using the <form> tag and specifying the destination JSP page's URL as the 'action' attribute.</li>n<li>Redirecting: Using the Response.sendRedirect() method in a servlet or scriptlet.</li>n<li>Request Forwarding: Using the RequestDispatcher API to forward the request to another JSP page.</li></ul>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

What is scriptlet, expression and declaration in jsp?

1 Answers  


What are the jsp lifecycle phases?

1 Answers  


What is jstl used for?

1 Answers  


How do I view jsp files in my browser?

1 Answers  


What is context in jsp?

1 Answers  


What is scriptlet tag?

1 Answers  


What is jsp life cycle?

1 Answers  


What is jstl jar?

1 Answers  


What is scriptlet and what is expression?

1 Answers  


How to find out the name of the http method using jsp el?

1 Answers  


Explain client and server side validation?

1 Answers  


What are the advantages of jstl?

1 Answers  


Categories