I need to implement an overlay on my
JSP front-end which will freeze the page with a dialog displaying a "please wait" gif animation while the execute
method of the action class is getting executed.
Currently the JSP page has a file upload component clicking on the upload button of which the form is submitted and the form property representing
the upload button is set. There is a if block on the execute method of the form which handles getting the records from the uploaded excel file.
When the no. of records is very large then the processing of the execute takes a lot of time and the user has no clue.
So to avoid this I need to freeze the page while the action is processing and as soon as the action returns the forward object the page should unfreeze.
Please help.