I am having this strange problem with Struts, using JDeveloper 10.1.3.
I've seen it working properly elsewhere, so I can't explain what it's not working on my project.
I want to display an <edit> form. So my action is passing a struts form with all the data. I'm println()'ing, so I know that the data is there. The action ends normally with
and the JSP page contains
<br/>a<html:text maxlength="120" size="50" property="firm" />
<br/>a<html:text maxlength="120" size="50" property="address1" />
(where updateSupplier is properly defined in struts-config)
**I am expecting those form fields to display the existing data, from the struts form.**
I know that this works (definately with struts 1.2). I have tried 1.1 and 1.3 and the fields are always empty. I cannot believe that it's a version problem. So now I need to put some JSP in the field tag to display the data:
<br/>a<html:text maxlength="120" size="50" property="firm" value="<%=aForm.getFirm()%>"/>
Any ideas? Why my form is not automatically populated as it should?