On Mon, Feb 16, 2009 at 1:53 PM, Alan M <[email protected]> wrote:
> > I'm still working away on my web service project (mentioned many > months ago when I first lobbied to get Scala used) and we rely heavily > on Put requests to create new resources. My first attempt involving > Put and I've been stumped. > > I've been able to run the server (using mvn/jetty) and my webapp gets > a PUT request (says so in the log produced by Jetty) and it does > everything it's supposed to in my code, except it never gets the put > file. I used curl to make the call and it shows the bar saying it's > uploading the file and finishing. In the server code, the Reqs body > is an Empty Box and it's uploadedFiles is an empty List. > If you do a POST with the same data, does it work correctly (uploadedFiles gets populated)? > > So my question is, where do I get that data from? or is there > something else I need to do to turn that feature on? (enable file > upload or something?) > > Alan > > P.S. Something that might be relevant, since it's a webservice I'm > using the stateless dispatcher.. does that effect how/when the > paramCalculator works and therefore messes this up somehow? > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
