Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
07-30-2007, 09:25 PM #1
- Join Date
- Jan 2007
- Thanked 0 Times in 0 Posts
Forcing reload of HTML page with links
I have an issue where I have two web pages generated from Java servlets in NetBeans 5.5.
The first of these pages requires some user input and when the page's form is submitted, this input is sent to the server. The server processes the input to generate a text file which is used by a graphing tool to plot a graph as a 'png' file.
This text file and graph are then displayed in the HTML generated for the second page using 'href's in a table.
This works perfectly well but if the user wants to alter the graph, they have to go back to page one and change the options and resubmit the form.
This is where the problem occurs; in Firefox all is well but in Internet Explorer and Opera, when they resubmit the form, page two displays the original graph rather than the changed one. A hard 'refresh' is required via F5 to force the displaying of the new text file and graph.
I have tried various of the HTML:
meta http-equiv=\"refresh\" content=\"0\">
alternatives and forcinf reload upon loading the second page but the graph and text file still show original data.
Is there a way to force the browser to 'pick up' the new text and graph generated so that the page display is correct?
I see this more as an HTML issue rather than a servlets one hence its inclusion in this forum.