Define a loading Action that is assigned to MyForm and forwards to the JSP. In the execute() method of the action, insert code that will populate the bean.
MyForm myForm = (MyForm) form; myform.setMyObj(new MyObj); myform.setMyObj(0, new MyObj(1, new Date())); myform.setMyObj(1, new MyObj(55, new Date())); myform.setMyObj(2, new MyObj(100, new Date()));
Once you do this, the form bean will have the necessary information to display in the form.
Thank you very much for your reply, but I want to capture user input and populate "private MyObj myObject" of action in order to save user input in DB. Question: What should be the value of "name" and "property" in JSP for "html:text" tag. Thank you in advance Steve