-
Recent Posts
Recent Comments
Albert Asensio Gimen… on Upload file to Rest service us… Archives
Categories
Meta
Tag Archives: File
Upload file to Rest service using Spring Jersey
You need to create a Rest service as described in my previous blog @Path(“upload/”) @Produces({“application/xml”}) @Component @Scope(“request”) public class Upload { @POST //to tell that it will consume the multipart requests only @Consumes(“multipart/form-data”) public String uploadFile( @Context HttpServletRequest request, @FormParam(“attachmentFile”) … Continue reading