Hi all,
I have the following 2 actions, addGalleryPictureAction and listGalleryAction shown below, chained together with struts. The general idea is that on successful file upload, a new list of pictures should be generated and then passed to a page to display this new list. All this depends on the paramter marina_id, which is passed from the upload form to the add action. However, it does not get passed to the list action. Printing the marina_id in the list action shows it as null, even though I am explicitly setting it in the add action.
The list action definitly works both individually and as part of a chain, and the add action completes as the picture is created, as are the DB entries. The only difference between this and other code blocks with a similar flow is that the original uplaod form on the jsp is set to multipart/form-data... Should this make any difference?
Any help would be gratefully recieved...
Regards,
ols