0 Replies Latest reply on Jun 25, 2002 6:43 PM by Lothar Egger

    include jpg in jsp -> ear (mount it with mod_jk)

    Lothar Egger Newbie

      hi all
      how do i include a .jpg picture in a jsp file, deploy
      it in an ear file and mount it with mod_jk (apache)

      eg.
      test.ear drop it into ../default/deploy
      mounts in tomcat under /test.
      if i test with localhost:8080/test/some.jsp that includes
      the jpg works fine.
      if i test with localhost/test/some.jsp the jsp works also
      but the jpg is not included because apache can't find localhost/test/some.jpg

      i don't want to deploy the static content out of my ear :)

      is it possible to auto expand the ear in jboss ?
      any other ideas ?

      regards
      lothar