In my
struts JSp page, there is a <src = "/some_image.jpg"> line, and the "some_image.jpg" is a *dynamic* value (it changes every time I click the button), when i click the button it reloads the same page but some other actions are done behind the scene, when the page is reloaded, it gets a different "some_image.jpg" everytime, so I am supposed to see the different image. However, I found that from "view source" I did see the different image file name, but the JSP page is still showing the last image, of course when I click "refresh" it works. but I am wondering if there is a one that I can immediately see the new image without having to click "refresh" ?
what should I do inside the JSP or whatever ?
thanks