This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Servlets and the fly likes servlet + site loader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet + site loader" Watch "servlet + site loader" New topic
Author

servlet + site loader

Alex Kravets
Ranch Hand

Joined: Jan 24, 2001
Posts: 476
Hi,
does anybody know how to implement a site loader? I am sure you've seen one: on Expedia.com when you submit your search the page first shows you "please wait" (or something like that) and then redirects you to the results page.
Any help is greatly appreciated,
Alex


All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
Satya Narayana
Greenhorn

Joined: Nov 08, 2000
Posts: 9
We can do that using client side script!!
After submitting a form, servlet throws Please wait page. This page contains a javascript(document.location=<url with submitted form parameters> ) to do the actual form submission.
This approach have some other advantages.
We can Submit all the forms to one servelt(it simply generates please wait screen) and it will determines dynamically the actaul destination.
-SaTyA-
 
Don't get me started about those stupid light bulbs.
 
subject: servlet + site loader
 
It's not a secret anymore!