This code returns jpg image + some random number printed on it with Graphics2D (code for that cutted of to be shorter)
1.Click refresh in browser, all looks OK, each time same image with different randome number.
2.I replace image on that same location, saj a.jpg with a.jpg, of course second a.jpg having totaly different photo
3.Click refresh in browser --> first a.jpg shows up!, doh there is no such image on disk, the random number printed on it is changing as expected on each refresh.
4. I'm doing this in netbeans, 'finish debuger session'/'debug project' does not help.
5. restart net beans,'debug project', refresh brings up new image, from this point on the thing is same from point 2 onwards.
There can only be one file with a given path and file name. So I don't understand what "first" means there.
Joined: Nov 23, 2010
forisntance first was named A.jpg and contained photo of cow.
second is named A.jpg and contains photo of apple.
I'm getting photo of cow all the time, doh the image file already contains photo of apple.