Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%--
- Document : index
- Created on : 2011-09-12, 18:15:02
- Author : Kamil
- --%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <%@page contentType="text/html" pageEncoding="UTF-8" session="true"%>
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Witaj w naszym internetowym sklepie</title>
- <link rel="stylesheet" type="text/css" href="css/style.css" ></link>
- </head>
- <body>
- <c:choose>
- <c:when test="${not (empty sessionScope.User)}">
- <c:forEach var="user" items="${sessionScope.User}" >
- <h1> <li> ${user.name} ${user.t} </li> </h1>
- </c:forEach>
- </c:when>
- <c:otherwise>
- Blad
- </c:otherwise>
- </c:choose>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement