REST Archive

Download excel file from JAX-RS

In this tutorial we will discuss about download ms excel files from JAX-RS, for user to download a file, annotate the method with @Produces(“application/vnd.ms-excel”) : Put @Produces(“application/vnd.ms-excel”) on service method, with a Response return type. …