It's been this way since struts 1.0 (and likely prior to) but http 
requests carrying multipart/form-data posts result in an exception being 
thrown if forwarded through more than one action.

(e.g request flow)

1 - submit multipart/form-data request (with at least one file input)
     request is forwarded to ActionOne.
2 - ActionOne handles multipart data, writes a file to disk does
     something with other parameters etc.  then forwards to ActionTwo.
3 - Exception is thrown.

This occurs in the following versions I've tested 1.0.x, 1.1-b1.  Copies
of the exceptions follow this post.

Workaround, never forward to a second action, always forward to a .jsp
which must be the end point for the request after the first action.
(This kind of sucks).

If this is a bug then consider it submitted, if it's designed this way
then how about changing it?  (pretty please?)

Thanks

Rob


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

Reply via email to