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

servlet + site loader

Alex Kravets
Ranch Hand

Joined: Jan 24, 2001
Posts: 476
does anybody know how to implement a site loader? I am sure you've seen one: on 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,

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

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.
Don't get me started about those stupid light bulbs.
subject: servlet + site loader
It's not a secret anymore!