Hi All,
I have an actionform with getter setters for some fields. I set these fields into the (actionForm) form object in the action class's execute(). Then i do mapping.forward("tothesameJSP")
Whats happening is that I have some fields corresponding to the same action form but they dont get populated. I am assuming that when I set fields in an action form and do a forward through mapping.forward the form is also taken to the
JSP and if the <html:text fields are there corresponding to the fields in the action form then they get populated. Am I right here?
What could i be doing wrong:
Also. is there a way to debug if the actionform coming from action back to JSP has the values that I have set in the action class?? like can i write a scriptlet or jsp tag to output the a property in the ><html:form> <sometag/> </html:form> tag
my action form is : decisionForm.java in
struts its mapped in a <form-bean name=DecisionForm type=DecisionForm/>
there is an action where path=/decision name="DecisionForm" is also present, the html:from tag on jSP looks like this:
<html:form action="/decision" enctype="multipart/form-data" method="POST">
Any help will be appreciated
Thanks
Sar