Hi !, im using stripes in my web application nad i have a problem ...
there is a page (lets call it "pageOne") where i can submit more than one form , this forms go to the page's Actionbean ("pageOneActionBean") , the fact is one of this forms (lets call it logicForm) on "pageOne" has the logic on another ActionBean ("logicActionBean"). Soo , what i want to do is to send the information of the "logicForm" form (which is whithin the "pageOne" page) firstly to the "pageOneActionBean" and then send it to the "logicActionBean".
In other words, send the information to the first bean ,which only will redirect (or forward , i was expecting you tell me which one to use) to the second bean.
hope you undertood it and can help me.
Joined: May 22, 2008
Normally I would say that if the form does not modify the database, use a forward. For example, the form contains criteria to query (read-only) the database.
On the other hand, if you are writing to the database, you should use a redirect. In that case, it's easier to forward from "pageOneActionBean" to "logicActionBean" and then redirect from "logicActionBean" to a read-only action that displays the result.