I've an option on a web page to upload a photograph. This involves the user browsing his local drive for an image then clicking on upload. On success another page comes up displaying the photograph. All works fine. The user also has the option from this page to upload a different photograph. On clicking this option the user is taken back to the browse page, selects a different image and clicks upload. Whilst the file copy works the display page retains the old image. Only by doing a manual refresh does the new image get displayed. I want it to be refreshed automatically. I've tried using the various meta tags to prevent caching but none of these work.
It's a jsp page which sets up some java beans and includes the html file which generates the information.
Anyone have a rock solid mechanism to reload the page once on opening ?
I know javascript can do it but the posts I've seen do a refresh at a timed interval which is not quite what I want.
Any help appreciated
Thanks
It's a jsp page which sets up some java beans and includes the html file which generates the information.
Anyone have a rock solid mechanism to reload the page once on opening ?
I know javascript can do it but the posts I've seen do a refresh at a timed interval which is not quite what I want.
Any help appreciated
Thanks