• Post Reply Bookmark Topic Watch Topic
  • New Topic

Screen Capture allows the same picture

 
Dean Reedy
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, I have a jsp page which calls a java class which captures my webserver screen shot and saves it as a jpg. The problem is everytime I call this class it is the same picture and will not update itself, same old screen shot. I delete the jsp between calls and the old picture appears! Any ideas?
I call the class by using:

The code for the class is as follows:

Any ideas would be great.
thanks,
Dean
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65524
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you checking to make sure that the image on disk is updating? If so, then I'd suspect that the browser is serving the "old" images up from cache.
hth,
bear
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!