<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib prefix="s" uri="/struts-tags" %> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %> <%@page import="org.sigmater.srm.SrmAuthenticationException"%> <%@page import="java.util.Enumeration"%> Sigmater - Login
<% String message = ""; Object exception = session.getAttribute("SPRING_SECURITY_LAST_EXCEPTION"); if (exception != null) { if (exception instanceof SrmAuthenticationException) { message = "Username e/o password non corretti."; } else { message = exception.toString(); } } %>
  • <%=message%>