Option 1: Creating a Servlet
I recommend that you use apache commons to download the file . This link provides examples of processing a downloaded file (writing it to disk or reading it in memory if the file size is small enough) using FileItem . Another suitable example can be found here .
Option 2: use tags s:file
@BalusC , struts , s: . , . , struts.multipart.saveDir default.properties. Apache FileUtils , , , - .