'How can I save temporary a form and show it in JSP Pages
Im learning web programming and Im trying to temporary save this form and show it in another JSP Page, here is My example:
This is like my menu, in "Alta Cliente" its my form.
<a href="altaCliente.jsp">Alta de Cliente</a>
<br><br>
<a href="altaCuenta.jsp">Alta de Cuenta</a>
<br><br>
<a href="detalleCliente.jsp">Detalles de Cliente</a>
<br><br>
<a href="#">Lista de Clientes</a>
<br><br>
<a href="detalleCuenta.jsp">Detalles de Cuenta</a>
<br><br>
In this form I can show it without problems in another JSP Page. But my Main problem is when i go to te menu, and Select "Detalles de Cliente" i dont get the data from the form "Alta Cliente" and everything its Null. How can I temporary save this data and Show it in this page, without using a DataBase.
<form action="detalleCliente.jsp" method="GET">
<label for="nombre"><b>Nombre</b></label>
<input type="text" placeholder="Ingresa tu nombre" name="nombre" id="nombre" required>
<br> <br>
<label for="apellidos"><b>Apellidos</b></label>
<input type="text" placeholder="Ingresa tus apellidos" name="apellidos" id="apellidos" required>
<br> <br>
<label for="direccion"><b>Direccion</b></label>
<input type="text" placeholder="Ingresa tu direccion" name="direccion" id="direccion" required>
<br> <br>
<label for="cp"><b>Codigo Postal</b></label>
<input type="text" placeholder="Ingresa tu Codigo Postal" name="cp" id="cp" required>
<br> <br>
<input type="submit" value="Submit"/>
</div>
</form>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
