[Resin-interest] Resin 4.0 multipart request handling

2010-09-10 Thread Matthew Serrano
I have been using Resin 4.0.7 and I discovered that Resin is parsing multipart 
requests and putting the parameters into the normal request object (file is 
cached to disc and the path is in the request object). Now I upgraded to 4.0.10 
and suddenly the multipart request is no longer parsed automatically. Is this 
intentional? I was totally celebrating not having to use O'Reilly and 
championing Resin for its brilliance. But now it appears I have to resurrect 
all my old logic for handling multipart requests. Please help! Bug or fix?

matt

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin 4.0 multipart request handling

2010-09-10 Thread Matthew Serrano
Oh and I upgraded from Resin 4.0.7 to Resin Pro 4.0.10. Maybe the pro version 
can't include some library due to licensing?

On Sep 10, 2010, at 3:51 PM, Matthew Serrano wrote:

 I have been using Resin 4.0.7 and I discovered that Resin is parsing 
 multipart requests and putting the parameters into the normal request object 
 (file is cached to disc and the path is in the request object). Now I 
 upgraded to 4.0.10 and suddenly the multipart request is no longer parsed 
 automatically. Is this intentional? I was totally celebrating not having to 
 use O'Reilly and championing Resin for its brilliance. But now it appears I 
 have to resurrect all my old logic for handling multipart requests. Please 
 help! Bug or fix?
 
 matt



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin 4.0 multipart request handling

2010-09-10 Thread Alex
 Oh and I upgraded from Resin 4.0.7 to Resin Pro 4.0.10. Maybe the pro version 
 can't include some library due to licensing?

Hi Matthew, 

Can you make sure to set parameter multipart-form enable=true/ in your 
WEB-INF/resin-web.xml?

web-app xmlns=http://caucho.com/ns/resin;
  multipart-form enable=true/
/web-app

We had to change the default to false for 3.0  spec compliance.

There is also new 3.0 API to deal with multipart/form-data encoded requests. 
http://blog.caucho.com/?p=237

Thanks,
Alex
 
 On Sep 10, 2010, at 3:51 PM, Matthew Serrano wrote:
 
 I have been using Resin 4.0.7 and I discovered that Resin is parsing 
 multipart requests and putting the parameters into the normal request object 
 (file is cached to disc and the path is in the request object). Now I 
 upgraded to 4.0.10 and suddenly the multipart request is no longer parsed 
 automatically. Is this intentional? I was totally celebrating not having to 
 use O'Reilly and championing Resin for its brilliance. But now it appears I 
 have to resurrect all my old logic for handling multipart requests. Please 
 help! Bug or fix?
 
 matt
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest