Tag Archives: JSP

How To Iterate Over Map in jsp

<%@ taglib prefix=”c” uri=”http://java.sun.com/jsp/jstl/core&#8221; %> <html> <head> <title>Example – Iterate Map</title> </head> <body> <pre> Before “forEach” tag <c:forEach var=”entry” items=”${applicationScope}”> Name: ${entry.key} Value: ${entry.value}<br> </c:forEach> After “forEach” tag </pre> </body> </html>

Posted in java | Tagged , | Leave a comment

JSP & JSTL with Spring

Spring provides a couple of out-of-the-box solutions for JSP and JSTL views. Using JSP or JSTL is done using a normal view resolver defined in the WebApplicationContext. Furthermore, of course you need to write some JSPs that will actually render … Continue reading

Posted in java, spring | Tagged , , | Leave a comment

Authentication in JSP

Introduction Authentication is a process of proving that someone is who they say they are. In Web applications, authentication generally consists of two parts: querying for credentials (usually by some interface that requests a login name and password) and verifying … Continue reading

Posted in Uncategorized | Tagged , , , , | 1 Comment