why am I getting unknown tag for
<form:option >
<form:form method="post" >
in spring mvc. How can I solve this? Thanks
you have to import the form tag. add this to your jsp file:
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
also, the form:option should be inside a select:
<form:select path="mySelect">
<form:option value="0" label="A" />
<form:option value="1" label="B" />
</form:select>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With