Download Controller – JavaEE Servlet

Here is small piece of java code to generate binary stream which tells browser to save file as attachment. I believe that this code will help java beginners to understand HttpServletResponse of the Servlets.

Read More: http://commons.apache.org/fileupload/