4 Replies Latest reply on Sep 30, 2007 5:11 AM by Yogesh

    Mapping a URL to a local store

    Yogesh Novice

      Hi all,
      I am using jboss 4.0.5 and need to provide a repository where all my files are uploaded. For example "C:/myrepo/".

      From my web application, i need to display images contained in this repo.

      How can i map a url from within my web app context so that this link is correctly mapped onto my path on my local repository.


      For example:

      <img src="http://192.168.2.111:8080/mywebapp/repo/jboss.gif">
      



      should correctly display the picture found at C:/myrepo on the server 192.168.2.111.


      Please help


      Regards,
      Jankee Yogesh
      M-ITC LTD