Hello,
i'm trying to read the value for a map entry from my command object, but i am struggling with the syntax of the EL. Can you help?
This is what i have in my JSP:
Employee has a Details property which is a Map and contains an entry {"number" -> "123"}. Tomcat says:Code:<spring:bind path="${command.employee.details.number}"> <label for="<c:out value="${status.expression}"/>" class="mandat">Number:</label> <input name="<c:out value="${status.expression}"/>" id="<c:out value="${status.expression}"/>" value="<c:out value="${status.value}"/>"><br> <c:out value="${status.errorMessage}"/> </spring:bind>
I am a little bit lost right now. Can you help?Code:javax.servlet.ServletException: Neither Errors instance nor plain target object for bean name '123' available as request attribute
Thanks for any hints,
-Stefan


Reply With Quote
