Meaningless Drivel is fun!
The moose likes HTML, CSS and JavaScript and the fly likes refresh onload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "refresh onload" Watch "refresh onload" New topic

refresh onload

sadagi korbu

Joined: Aug 16, 2006
Posts: 21

I am using javascript for client side validation. My application uploads file to a database and after upload shows the folder / file structure on screen like in windows explorer.

I am using servlets for this. I am able to upload a file but after the upload, in parent window,I have to click refresh everytime to see the latest folder / file view.

Can someone tell me How do I solve this problem so that my page refereshes automatically after I do the upload.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Are you posting the entire page back to the server?

I agree. Here's the link:
subject: refresh onload
It's not a secret anymore!