« Return to Thread: File Upload Failure in DWR 3.0 M1

Re: File Upload Failure in DWR 3.0 M1

by hansamann :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Thanx a lot, we discovered after many many hours that it was the Spring MultiPart resolver that stopped DWR from working as expcected. So this currently means we can only do file uploads with DWR then, which is for now fine but there coould be an issue in the future... Will DWR eventually support working in a configuration that includes teh Spring MultiPartResolver?

Cheers
Sven
 
---
Sven Haiges
Y! Messenger / Skype: hansamann


----- Original Message ----
From: Jose Noheda <jose.noheda@...>
To: users@...
Sent: Wednesday, April 23, 2008 12:03:14 PM
Subject: Re: [dwr-user] File Upload Failure in DWR 3.0 M1

I've experienced that behavior before. Yes, with a multipartResolver and Spring MVC and DWR controller things won't work. I even filed an issue back in the day in Spring Jira..

On Wed, Apr 23, 2008 at 4:59 PM, Thomas Lopatic <thomas@...> wrote:
Hi all,

Problem solved. We have a multipart resolver configured in our Spring
configuration. So, we have a bean named "multipartResolver", which makes
Spring's dispatcher servlet parse incoming multipart requests and wrap
them into MultipartHttpServletRequests. This seems to break the DWR
controller's multipart processing when using Spring integration. I've
verified this with today's CVS HEAD and it seems to still be an issue
there.

Removing the multipart resolver from our Spring configuration fixes this.

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



 « Return to Thread: File Upload Failure in DWR 3.0 M1