Hi All,
I am working in jsp,and there is an image on my webpage.The image is created dynamically based on the data on the webpage.The scenario is like this.

1.I make some changes in my web page data and press recalculate buuton on the page.
2.this resubmits the page and my java code deletes the old image, creates a new image(with same name as the old one) based on changed data.and this new image is included on the page.

I'm still getting the old image,whereas it has been deleted from the disk.
To get the new(correct) image I'v to either
1) press the refresh button on the browser. or
2) delete all offline files before pressing recalculate button on the page.

Please help me solve this.

Thanks.
Kuldeep.

use the META tag in order to dynamically refresh your web page so that the new image will get loaded automatically

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.