Basically I have a web page that creates reports for my company, the only problem is that the request sometimes takes up to one minute because there are lots of calls and it takes time to elaborate all the data. So , I'm trying to render a little bit user friendly the situation and I'm wondering if it's possible to make a Jquery function that will show my gif image when I send the request and waiting for the response to redirect me to the report page. I'm using Java with Springboot and freeMarker templates
Thanks