Problem in loading new image

Reply

Join Date: Jun 2005
Posts: 1
Reputation: Kuldeept is an unknown quantity at this point 
Solved Threads: 0
Kuldeept Kuldeept is offline Offline
Newbie Poster

Problem in loading new image

 
0
  #1
Jun 7th, 2005
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.
Reply With Quote Quick reply to this message  
Join Date: Jul 2005
Posts: 18
Reputation: techy is an unknown quantity at this point 
Solved Threads: 0
techy techy is offline Offline
Newbie Poster

Re: Problem in loading new image

 
0
  #2
Jul 12th, 2005
use the META tag in order to dynamically refresh your web page so that the new image will get loaded automatically
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for JSP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC