How to avoid using scriptlets in my JSP page?
I think it helps more if you see with your own eyes that it can actually be done entirely without scriptlets. Here’s a 1 on 1 rewrite with help of among others JSTL (just drop jstl-1.2.jar in /WEB-INF/lib) core and functions taglib: <%@ taglib uri=”http://java.sun.com/jsp/jstl/core” prefix=”c” %> <%@ taglib uri=”http://java.sun.com/jsp/jstl/functions” prefix=”fn” %> <html> <head> <title>My … Read more