Web tier: servlets, JSP, Web frameworks: Image create and Show in JSP
I got a little problem..
What am trying to do is create an bmp file on server when a form is submitted, and display that image on the form. If the file is already exist on the server, i overwrite it. However, when i overwrite, the previous image is still shown of the page, though the file has changed..
Does anyone has any recommendation?
FYI: environment is Suse 9.1, Tomcat 5.0.30, Struts
Try to stream your image from jsp rather giving a static link to the image
Super-easy solution: generate a random number and tack that onto the image: