Alex Rivera | Logout

How is the Spring MVC spring:bind tag working and what are the meanings of status.expression and status.value?

Asked 2009-03-05T13:22:37.523
30

Let's discuss on the following example:

<spring:bind path="user.userName">
    <input type="text" name="${status.expression}" value="${status.value}"/>
    <span class="fieldError">${status.errorMessage}</span>
</spring:bind>

When this view snippet gets rendered, what do ${status.expression} and ${status.value} get evaluated to? Where do these values come from?

Edit
Report

1 Answer

6
answered 2011-06-15T14:57:42.810

Your Answer