hi,

well i have an action that compiles all the data necessary for a page (presents a 
newsletter being created), newsletter.do. i also have an action that attaches an image 
to the newsletter (image.do), which after putting the image in the db as a blob 
forwards control back to newsletter.do to reload the newsletter and show it.

without the multipart spec the code works (but of course i can't upload a file), and 
the chain forwarding to the other action works as well.

cheers,

Ben

-----Original Message-----
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: 11 februari 2004 14:39
To: Struts Users Mailing List
Subject: Re: multipart problem

When you forward to a second action, you re-invoke the entire request 
processing chain, which means that you get a new form object created, 
etc.  This is why you'll frequently see recommendations against 
"action chaining."  Of course, if you get rid of the form encoding, 
you won't be able to do file upload at all, so that's not

Are you sure that forwarding to a second action is the only way to 
process the data?  Perhaps you can rearrange things to avoid 
re-invoking the request processor.

Joe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to