3 Replies Latest reply on Aug 13, 2002 2:07 PM by null_pointer

    Images created on the fly

    Norton Newbie


      I have a web application that shows a list of products.
      When a user selects an option in that list, a new
      window pops up that displays a barcode image that is
      created for them on the fly.

      The application is deployed in Tomcat today, so the
      application creates the image in a particular
      directory and the page in the popped-up window just
      references that newly created image. It all works
      because Tomcat expands the war in a predictable
      directory structure.

      My question is, how would I accomplish this within
      a JBoss deployment? It looks as though JBoss also
      does some sort of war expansion. Can I write to
      that directory structure?

      Even so, it appears the expanded war directory is
      dynamic because I see references to web001, web002,
      etc. Is there another/better way to accomplish what
      I'm after?

      I can't use a servlet to create the image and direct
      the byte stream back to the web application because
      I actually need to create two different image formats.
      One is for display, and the other is for the user to
      be able to download for use in their applications.

      The image they are downloading is actually the clincher
      because I need to put it somewhere where I can put
      a link to it for the user to download.


      Thanx in advance.