Se puede pasar datos de un JSP a un html?
AUTOR PREGUNTA #1
-
6 personas más tuvieron esta duda Yo también
Esto también te interesa!
PREGUNTAS SIMILARES
#2
<html> <head><title>Página Jsp</title></head> <body> <form name="miForm" method="post" action="otro.jsp"> <input type="text" id="nombre"> <input type="text" id="apellido"> <input type="submit" value="Enviar"> </form> </body> </html>
En otra pagina jsp recibe las variables enviadas y las muestras con request.getParameter()
<html> <head><title>Página Jsp</title></head> <body> <h1><%= request.getParameter("nombre"); %></h1> <h2><%=request.getParameter("apellido");%></h2> </body> </html>