As part of JSP page process, we are calling a method.
In that method, we are preparing a TEXT file and sending that file to remote address by FTP. But, FTP process is taking 1 minute of time. That's why, user has to wait more than one minute to see the result.
Please let me know any process to enhance this FTP process.
use the sending of the file in a single thread and fordward the user to another page with refreshes itself every n seconds. in the page, you have to do something like