Situation: I have a form in the
JSP page. This form submits data to an Action which takes some time to process the reqest and get back with the result. (this takes 40 secs ). While this is going on I would like to have some 'processing request' image in the result division of the JSP page where results are expected.
Proposed Solution: Im calling a javascript function on the onsubmit button. Now this function will display the image in the div tag where the results will be displayed. Once the results are out, the results will override the image.
Problem: I'm calling the function and the form is submitted. But, when i try to have the image printed in the desired div tag, it doesnt work ....
here 'x' is the div id. Is my statement wrong or am i overlooking something ?