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/

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.