I set this to off topic since it really isn't limited to struts, but I was interested in the advice this community could provide.
Assume I have a 4 page form which gathers user information, address information and company information. I would like to give the user the opportunity to upload a logo while filling out the form. If I do this in the natural place, which would be in step 2, I am not sure how to handle the case where the user will cancel the form in step 3 if I save the logo to disk. I am keeping the form data in a session until the wizard is completed. If I write the uploaded file to disk after step 2 (I wouldn't want to keep it in the session, not even sure I can) then I will junk up my upload directory for users who cancel the form. One natural place to put the upload would be after the wizard is complete and the data solidified. Then, the upload could be attached to the saved data. Any thoughts/advice on how to handle this form? The following is the wizard user info (login, email) -> company info (independent business) -> address info (for the company) -> category info (categorize the business) It would make sense to put the upload with the company info, but the user is not saved to disk (in the database) until the whole form is completed. Dan -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Daniel Allen, <[EMAIL PROTECTED]> http://www.mojavelinux.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Microsoft is not the answer, it is the question. The answer is NO! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]