Advertisement
ADL_Rodrigo_Silva

Untitled

Feb 22nd, 2022
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.16 KB | None | 0 0
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  3. <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
  4. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
  5. <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
  6. <!DOCTYPE html>
  7. <html>
  8. <head>
  9. <meta charset="UTF-8">
  10. <title>Usando JSTL</title>
  11. <style>
  12. p{
  13.    
  14. }
  15. #texto{
  16.     margin:0 auto;
  17.     width:500px;
  18.     height:80px;
  19.     border:solid 1px black;
  20.     padding-left:30px;
  21.     padding-top: 30px;
  22. }
  23. #cabecera{
  24.     margin:0 auto;
  25.     width:500px;
  26.     border:solid 1px black;
  27.     padding-left:30px;
  28.     background-color:green;
  29.     color:white;
  30. }
  31. </style>
  32. </head>
  33. <body>
  34.     <div id="cabecera">
  35.         <h3>FORMULARIO DE ENVÍO</h3>
  36.     </div>
  37.     <div id="texto">
  38.         <form action="primerUsoJstl.jsp" method="POST"method="POST">
  39.             <label>Nombre</label>
  40.             <input type="text" placeHolder="Ingrese nombre" id="nombre" name="nombre">
  41.             <label>Apellido</label>
  42.             <input type="text" placeholder="Ingrese apellido" id="apellido" name="apellido">
  43.             <input type="submit" value="enviar">
  44.         </form>
  45.     </div>
  46. </body>
  47. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement