-
Recent Posts
Recent Comments
Albert Asensio Gimen… on Upload file to Rest service us… Archives
Categories
Meta
Tag Archives: Spring
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
Create Rest Service using Spring Jersey
The following article meant for the people who are already familiar with concepts of Spring and Rest services. There are many ways to create a rest service and I am presenting you with the one of the easiest and cleanest … Continue reading