DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=25434>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=25434

multipart/form-data loses all request parameters in action forward.

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2004-03-29 15:09 -------
This is just the way servlets work, and not something Struts can do anything 
about. The problem is that your first action causes the request input stream to 
be parsed *and consumed*, so when you forward to another action, there is no 
longer any request input stream to be parsed.

This is one of the major technical reasons that forwarding from one action to 
another (a.k.a. action chaining) has been long recognised as a bad practice, 
and should be avoided.

If you feel a need to chain logic in processing a single request, you should do 
so within one action, rather than breaking up your request processing across 
multiple actions and chaining those. The use of multiple actions to compose a 
single request handler is not what actions are for.

Note that there is a *ton* of information on this subject in the archives.

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

Reply via email to