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"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
- <title>Pizza order</title>
- </head>
- <body>
- <div>
- <form method="post" action="fillClInfo">
- <h2>Order Pizza</h2>
- <!-- jstl taglib -->
- <c:forEach items="${pizzaTypes}" var="pizzaType">
- <input type="radio" name="pizzaType" value="${pizzaType.id}" />${pizzaType}<br />
- </c:forEach>
- <br /> <input type="submit" />
- </form>
- </div>
- <br><br><br><br>
- <div>
- <form action="addPizza" method="post">
- <input type="text" name="newPizzaType"> <br>
- <input type="submit" value="Add Pizza">
- </form>
- </div>
- <br><br><br>
- <div>
- <form action="listOrders">
- <h2>List All Orders</h2>
- <input type="submit" value="List Orders">
- </form>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement