File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "refresh onload" Watch "refresh onload" New topic
Author

refresh onload

sadagi korbu
Greenhorn

Joined: Aug 16, 2006
Posts: 21
Hi

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
author
Rancher

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

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: refresh onload