Home > Back-end >  Java multi-thread download flow problem and the export file
Java multi-thread download flow problem and the export file

Time:11-22

Hello, I'm new Java small white, now have a few problems hope guys can help me solve,
Problem a:
I now have a multi-threaded download, variable flow jam would appear, don't know where is the problem, have to click on the button to manually download,
="excuse me what method can be used to detect to download gets stuck, and automatically download again?





Problem two:
I have a word document, and now want to put in the source code (or where) inside and then packed into exe can be released into the desktop, excuse me what method?

Thank you for your help!

CodePudding user response:

Question 1: I see you have added the try catch, you add a log in the catch, and see what the problem is
Question 2: you directly in the path of a page, and then let the page provide a hyperlink to download
  • Related