I have a jsp page, which when submitted takes about 5 minutes to go to the next page process and return if there are several items to send.
At this time, the status bar shows the status of the download until it moves to the submitted page.
At the same time, the user is free to press any buttons that he likes.
I would like to freeze the jsp page during this time so that the user cannot click on any buttons during this interval.
How can I achieve the same.
A small snippet: <html> <script type="text/javascript"> function submit page() { document.forms["submitForm"].submit(); } </script> <body> <form name="submitForm" action"newPage.jsp" method="post"> <input type="button" onclick="page()"/> </form>
An iframe iin is displayed, which displays all jsp:
<iframe id="Content" name="Content" style="width:100%; height:100%; border:0; background: #green;" scrolling="yes" src="Start.jsp"></iframe> </body> </html>
source share