You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Don Elliott <do...@i4-talent.com> on 2002/05/24 03:19:30 UTC

File upload failure in struts 1.1b - FIX

Hi Struts Users / Developers,

I've noticed a lot of posts about this in the archive, particularly with
WebLogic 6.1 - we have also experienced the file upload crash in Servlet 2.3
on Tomcat 4.0.3 for Solaris

The fix is as follows:

In package "org.apache.struts.action" class "RequestProcessor" method
"doForward(...)" add the follwing code as the first lines:

if (request instanceof MultipartRequestWrapper) {
            request = ((MultipartRequestWrapper) request).getRequest();
}

I've noticed that this doesn't have any priority in the fix list (are many
people using this ?) - If anyone is interested I can send them a patched
struts1.1b1.jar file or the RequestProcessor.class file until this fix is
made in the nightlys..

(I'll batch up all requests for the .jar file daily to save my transfer
costs).

Regards,
Don Elliott
e.  don.elliott@i4-talent.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: File upload failure in struts 1.1b - FIX

Posted by Joe Germuska <jo...@germuska.com>.
One of the ways to get bugs assigned a higher priority is to  vote 
for them in Bugzilla.  I use Weblogic and file uploads, so I voted 
for this one.  So far I think I'm the only one...

<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8732>

Joe


At 11:19 AM +1000 5/24/02, Don Elliott wrote:
>Hi Struts Users / Developers,
>
>I've noticed a lot of posts about this in the archive, particularly with
>WebLogic 6.1 - we have also experienced the file upload crash in Servlet 2.3
>on Tomcat 4.0.3 for Solaris
>
>The fix is as follows:
>
>In package "org.apache.struts.action" class "RequestProcessor" method
>"doForward(...)" add the follwing code as the first lines:
>
>if (request instanceof MultipartRequestWrapper) {
>             request = ((MultipartRequestWrapper) request).getRequest();
>}
>
>I've noticed that this doesn't have any priority in the fix list (are many
>people using this ?) - If anyone is interested I can send them a patched
>struts1.1b1.jar file or the RequestProcessor.class file until this fix is
>made in the nightlys..
>
>(I'll batch up all requests for the .jar file daily to save my transfer
>costs).
>
>Regards,
>Don Elliott
>e.  don.elliott@i4-talent.com
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>


-- 
--
* Joe Germuska    { joe@germuska.com }
"It's pitiful, sometimes, if they've got it bad. Their eyes get 
glazed, they go white, their hands tremble.... As I watch them I 
often feel that a dope peddler is a gentleman compared with the man 
who sells records."
	--Sam Goody, 1956
tune in posse radio: <http://www.live365.com/stations/289268>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: File upload failure in struts 1.1b - FIX

Posted by Joe Germuska <jo...@germuska.com>.
One of the ways to get bugs assigned a higher priority is to  vote 
for them in Bugzilla.  I use Weblogic and file uploads, so I voted 
for this one.  So far I think I'm the only one...

<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8732>

Joe


At 11:19 AM +1000 5/24/02, Don Elliott wrote:
>Hi Struts Users / Developers,
>
>I've noticed a lot of posts about this in the archive, particularly with
>WebLogic 6.1 - we have also experienced the file upload crash in Servlet 2.3
>on Tomcat 4.0.3 for Solaris
>
>The fix is as follows:
>
>In package "org.apache.struts.action" class "RequestProcessor" method
>"doForward(...)" add the follwing code as the first lines:
>
>if (request instanceof MultipartRequestWrapper) {
>             request = ((MultipartRequestWrapper) request).getRequest();
>}
>
>I've noticed that this doesn't have any priority in the fix list (are many
>people using this ?) - If anyone is interested I can send them a patched
>struts1.1b1.jar file or the RequestProcessor.class file until this fix is
>made in the nightlys..
>
>(I'll batch up all requests for the .jar file daily to save my transfer
>costs).
>
>Regards,
>Don Elliott
>e.  don.elliott@i4-talent.com
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>


-- 
--
* Joe Germuska    { joe@germuska.com }
"It's pitiful, sometimes, if they've got it bad. Their eyes get 
glazed, they go white, their hands tremble.... As I watch them I 
often feel that a dope peddler is a gentleman compared with the man 
who sells records."
	--Sam Goody, 1956
tune in posse radio: <http://www.live365.com/stations/289268>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>