[Solved] How to send data in a jsp form (Registration) to another jsp page (Admin panel) without inserting to database


Follow the steps

First Jsp Page

 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@ page session="false"%>
    <html>
    <body>
        <form action="main.jsp" method="GET">
            First Name: <input type="text" name="first_name"> <br /> Last
            Name: <input type="text" name="last_name" /> <input type="submit"
                value="Submit" />
        </form>
    </body>
    </html>

Second JSP page (page name main.jsp)

<html>
   <head>
      <title>Using GET Method to Read Form Data</title>
   </head>
   <body>
      <h1>Using GET Method to Read Form Data</h1>
      <ul>
         <li><p><b>First Name:</b>
            <%= request.getParameter("first_name")%>
         </p></li>
         <li><p><b>Last  Name:</b>
            <%= request.getParameter("last_name")%>
         </p></li>
      </ul>
   </body>
</html>

solved How to send data in a jsp form (Registration) to another jsp page (Admin panel) without inserting to database