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

Posted in Uncategorized | Tagged , , , , | 1 Comment

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

Posted in Uncategorized | Tagged , , | Leave a comment