The is prefix is for boolean only, not for Boolean.
You have 2 options:
Use boolean instead of Boolean.
Or, rename method isPrimary() to getPrimary().
As to JAXB blunder of autogenerating the wrong method, you need to upgrade to at least JAXB 2.1.13 or to add -B-enableIntrospection to the wsimport call as per this JAXB documentation.
You can use a call directly to method score.isPrimary() like this:
<c:forEach var="score" items="${scores}">
<input type="checkbox"
value="${score.isPrimary()}"
name="someName"
class="textField"/>
</c:forEach>
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