How to build servlets to download the files






















Show 3 more comments. Sorter Sorter 8, 5 5 gold badges 55 55 silver badges 68 68 bronze badges. And so out. If you don't specify the content length the client could close the TCP connection with your server, and then you get a SocketException: Connection reset by peer: socket write error — FelipeCaparelli. You can easily achieve it through: HttpServletResponse.

Winston Chen Winston Chen 6, 12 12 gold badges 47 47 silver badges 78 78 bronze badges. Hamid Ali 1 1 gold badge 7 7 silver badges 20 20 bronze badges.

The Overflow Blog. A conversation about how to enable high-velocity DevOps culture at your Podcast An oral history of Stack Overflow — told by its founding team. Featured on Meta. Pastebin API tools faq. Login Sign up. How to build servlets to download the files.

Nov 25th, Not a member of Pastebin yet? Sign Up , it unlocks many cool features! Compiler Design. Computer Organization. Discrete Mathematics. Ethical Hacking. Computer Graphics. Software Engineering. Web Technology. Cyber Security. C Programming. Control System. Data Mining. Saathvik Reddy. Optional 'thank-you' note:. Hi, I want to download multiple files on a http request. I am aware that i can zip all the files and then download the zip as a single file.

Are there any other options like AJAX or applets that could achieve this? How does sun download manager download files? Jeanne Boyarsky. I like Srikanth, By definition, you can download one thing at a time. The choices are zipping it up which you've considered or downloading them one at a time. AJAX or Applets could provide different graphical options for downloading one at a time, but does not change the underlying architecture.



0コメント

  • 1000 / 1000