Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to do the this?  RSS feed

 
kiran mahavir
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
Please suggest how to do the following task,
- I have a html page
- User submits the page
- A message should be displayed (like "Wait your request is getting processed") before the response comes back to the user.
- It should be displayed till the response comes back.
How do we know how much time it takes to get the response.
Hope everyone got what i wanted.
(it is like the page which will be displayed when we submit some
questions or responses in javaranch)
Thanx in advance.
with regards
kiran
 
Raj Sharma
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!