File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.
I agree. Here's the link:
subject: servlet + site loader
It's not a secret anymore!