index.jsp 670 Bytes
Newer Older
Joel Florentin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
    <head></head>
    <body>
        <form action="push" method="post">
            <label for="valor">valor: </label> <input type="text" name="valor"/>
            
            
            <input type="submit" value="submit"/>
        </form>
        <a href="pop">Pop</a>
        <p>${quitado}</p>
        <ul>
        <c:forEach items="${pila}" var="numero">
                    <li>${numero}</li>
        </c:forEach>
        </ul>
    </body>
</html>