I am using a spring form tag
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<form:input path="name.lastName" cssClass="text" maxlength="30"/>
When I try to add the new required html5 attribute
<form:input path="name.lastName" required="required" cssClass="text" maxlength="30"/>
I get this error message when the jsp is converted to html
<pre>org.apache.jasper.JasperException: /WEB-INF/pages/admission/registration/patientForm.jsp(168,5) PWC6131: Attribute required invalid for tag input according to TLD
Are the springframework tags ready for html 5 ? If yes, how do i use them ?
I am using spring 2.5