<%@ page language="java" import="java.util.* , java.sql.*, usuario.Registro" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
 
<jsp:useBean id="registro" class="usuario.Registro" scope="page">
<jsp:setProperty name="registro" property="*"></jsp:setProperty>
</jsp:useBean>
  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'registro.jsp' starting page</title>
    
  <meta http-equiv="pragma" content="no-cache">
  <meta http-equiv="cache-control" content="no-cache">
  <meta http-equiv="expires" content="0">    
  <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  <meta http-equiv="description" content="This is my page">
  <!--
  <link rel="stylesheet" type="text/css" href="styles.css">
  -->
  </head>
  
  <body>
    <form method="POST" action="usuario/registro.jsp">
    <p>Nombre</p><input type="text" name="nombre" /><br />
    <p>Correo</p><input type="text" name="correo" /><br  />
    <p>Contraseña</p><input type="password" name="contrasenia" /><br />
    <p><button type="submit">Enviar</button></p>
                
</form>
  </body>
</html>