olvidate del servlet. Vas a tener 2 archivos, formulario.jsp y recibe.jsp y, teoricamente, los 2 codigos estan bien.
Lo unico, tenes que agregar las etiquetas para que se interprete el codigo java en el 2do archivo (recibe.jsp):
Código Java:
Ver original<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<%
String nombre1
= request.
getParameter(“nombre1”
); String nombre2
= request.
getParameter(“nombre2”
); String nombre3
= request.
getParameter(“nombre3”
); String nombre4
= request.
getParameter(“nombre4”
); %>
<%= nombre1 %>
<%= nombre2 %>
<%= nombre3 %>
<%= nombre4 %>
<%= nombre5 %>
</body>
</html>
Proba imprimiendo las variables para ver si funciona.