File Uploading
concepts are always an interesting task and little difficult task why because while developing the projects downloading files such as image, text are the large task where developer has to import more packages. Here annotations will play the major role to download the particular file. In uploading strategy user needs to add following extra stuff in web.xml file.
[xml]<init-param>
<param-name>jersey.config.server.provider.classnames</param-name>
<param-value>org.glassfish.jersey.filter.LoggingFilter;
org.glassfish.jersey.media.multipart.MultiPartFeature</param-value>
</init-param> [/xml]