Assume that I have a three page application form, which consists of the following parts:
member info (name, username, password) company info (name, address) companyMeta info (description, industries, services) Now, I want the user to be able to reuse the parts of the form individually to update the different data. My first instinct was to create an action /EditMember which would grab the member information, store it into the session scope and take them to the part of the form that was requested. The request would be like /EditMember?id=5&form=companyForm and it would grab to info from the database and forward them to the particular form action, either /MemberForm /CompanyForm /CompanyMetaForm However, in the execute() method for /EditMember I can only have one of the 3 forms specified from the struts-config.xml file. Would it be better to have an Edit action for each of the 3 parts of the form? /EditMember /EditCompany /EditCompanyMeta I guess I just assumed that since all of the forms had data pertinent to only one member, that I only needed one prepare action. But I don't know how to dynamically specify which form is going to be populated and ultimately forwarded to. Any ideas? Dan -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, <[EMAIL PROTECTED]> http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "If you are going to play the game of trial and error, don't be suprised when the results are revealing. -- me" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]