Try this if MyBean is the command object:
Code:
<spring:bind path="command.text">
<input type="text" name="${status.expression}">
</spring:bind>
or this if your command object has a "myBean" property (e.g. getMyBean):
Code:
<spring:bind path="command.myBean.text">
<input type="text" name="${status.expression}">
</spring:bind>
I am assuming that you have not changed the default commandName of your controller. If you have changed it, substitute "command" in the above examples with your custom commandName.
Also note that if you want the text box to be initialized with the value of the "text" property you will need to do this:
Code:
<input type="text" name="${status.expression}" value="${status.value}">