Вы можете добавить в приложение сервлет, который читает файл.
Пример (требуется обработка ошибок)
public class FileDownloadServlet extends HttpServlet {
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String filename = request.getParameter( "filename" );
InputStream is;
try {
is = FileUtils.openInputStream( new File( filename ) );
byte[] buf = new byte[ 8192 ];
int bytesRead;
while ( ( bytesRead = is.read( buf ) ) != -1 )
os.write( buf, 0, bytesRead );
}
catch( ... ) {
}
finally {
is.close();
os.close();
}
response.setContentType( "application/octet-stream" );
}
}