Advertisement
ADL_Rodrigo_Silva

Untitled

Feb 22nd, 2022
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.94 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:300px;
  18.     height:100px;
  19.     border:solid 1px black;
  20.     padding-left:30px;
  21. }
  22. #cabecera{
  23.     margin:0 auto;
  24.     width:300px;
  25.     border:solid 1px black;
  26.     padding-left:30px;
  27.     background-color:green;
  28.     color:white;
  29. }
  30. </style>
  31. </head>
  32. <body>
  33.     <div id="cabecera">
  34.         <h3>Ejemplos con JSTL salida estandar </h3>
  35.     </div>
  36.     <div id="texto">
  37.         <p>Nombre: <c:out value="${param.nombre}"/></p>
  38.         <p>Apellido:<c:out value="${param.apellido}"/></p>
  39.     </div>
  40.    
  41. </body>
  42. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement