i have a problem with request scoped form in my struts application.
i created actionform with list as its form field, and in the jsp page i am using this list which includes list of objects of my model class to display few items. When submitting the form i receive Indexoutofbounds exception. i know that a new form is created for request scoped form when submitted, then the list values are assigned to the form list.
but can anyone suggest me regarding this, previously i used session scoped form where old form object is used to populate the data. Is there a way i can use request scope form having list/arraylist as its field and i can render those updated values to my action class...
i tried putting print statement in my action (DispatchAction) method as first stmt...but no use,
any help is strongly appreciated...
Joined: Feb 15, 2005
Please carefully read this article. It will show you several different ways to solve the problem you are experieincing.