1 Reply Latest reply on Jan 26, 2004 2:23 AM by hgsdc

    Dynamically Saving and Displaying Graphics

    kkaal

      Hi,

      I need to let the my user upload images and bind them into jsp.

      Any idea how to do that?

      Thanx for your help

      Klaus

        • 1. Re: Dynamically Saving and Displaying Graphics
          hgsdc

          Hi Klaus.

          I use Struts upload for this. Input field of type file
          To save the image I stream the received multipart-form-data to a directory outside the webapp-dir in a Struts action.
          To get the image I use a servlet to get the image and stream it back to the client (browser)

          Works like a charm.