Sorry, this may be a duplicate submitted under a different work email id. On 6/10/2016 11:44 AM, David Loy wrote: > I am developing a sword server using org.swordapp : sword2-server. > > The java servlet is being run on tomcat. > > I have successfully been able to run PUT multipart/related requests with: > Content-Disposition: form-data; name="payload"; > filename="114_archive.zip" > however, using the SWORD standard form: > Content-Disposition: attachment; name="payload"; > filename="114_archive.zip" > fails. > > The failure is caused because the HttpServletRequest#getParts will > only return content using the Content-Disposition: form-data. In fact, > the documentation for HttpServletRequest indicates that it only > supports multipart/form-data. > > I'm interested in what mechanisms people have found for getting > multipart/related with Content-Disposition: attachment; to work on > tomcat hopefully without locally having to parse the HTTP request. > > Any suggestions would be great. > Thanks > David
------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ sword-app-tech mailing list sword-app-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sword-app-tech