Hi Kiran,
This is one way how
you should proceed.
You should have one more html or
jsp page between your html page and your jsp or servlet.Let's call it forwarding page.
This forwarding page will print the Thanks and Wait message and will forward the request to your jsp page or
servlet. Then when the processing is done the actual response will be printed.
Hope this helps.
Raj