01.12.2012 - This is a very basic example on how to login and logout with JSTL using session. . c:if test = "${not empty param.username and not empty .