Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
- <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
- <%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql" %>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="ISO-8859-1">
- <title>Insert title here</title>
- <style>
- p{
- }
- #texto{
- margin:0 auto;
- width:300px;
- height:100px;
- border:solid 1px black;
- padding-left:30px;
- }
- #cabecera{
- margin:0 auto;
- width:300px;
- border:solid 1px black;
- padding-left:30px;
- background-color:green;
- color:white;
- }
- </style>
- </head>
- <body>
- <div id="cabecera">
- <h3>Ejemplos con JSTL salida estandar </h3>
- </div>
- <div id="texto">
- <p>Cadena de caracteres:<c:out value="1+2+3"/></p>
- <p>Suma de caracteres:<c:out value="${1+2+3}"/></p>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement