Image create and Show in JSP

Discussions

Web tier: servlets, JSP, Web frameworks: Image create and Show in JSP

  1. Image create and Show in JSP (2 messages)

    Guys,
     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
     
     Best regards.
     
     Onur.

    Threaded Messages (2)

  2. Caching problem[ Go to top ]

    Try to stream your image from jsp rather giving a static link to the image
  3. Caching problem[ Go to top ]

    Super-easy solution: generate a random number and tack that onto the image:

    /images/myImage.bmp?1234567