Create
<% if (error != null) { %>
<%=error%>
<% } %>
%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> <%@ taglib uri="/WEB-INF/taglibs/cal.tld" prefix="cal" %> <%@ page import="com.k_int.salcal.dto.PersonDTO" %> <% Integer step = 1; String error = null; PersonDTO dto = null; String baseUrl = request.getContextPath(); if (request.getAttribute("step") != null) { step = (Integer) request.getAttribute("step"); } if (request.getAttribute("error") != null) { error = (String)request.getAttribute("error"); dto = new PersonDTO(); } %>