spring tag library code example
Example 1: form taglib in jsp
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
Example 2: spring mvc form tag
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
this is used to activate the spring form mvc tags
and this line should be in the top of the jsp file where you use the form operations