2 Replies Latest reply on May 1, 2008 10:52 AM by creatureoflegend

    Mapping a physical directory to a virtual directory

    creatureoflegend Newbie

      Is there a way to map a physical directory either inside of the jboss folder or somewhere else on the hard-drive to a virtual directory accessable through the online url in JBoss?

      for example:
      D://Jboss#.##/something/images/
      is
      http://my.url.com/images/

      Our app needs to allow users to uplaod images and html stuff that goes w/ them, but we can't re-build the war file every time someone does that. The html is stored in the database. We need them to be able to hardcode a url in the html code's src tag for the directory to access images there.

      Any suggestions would be welcome. Thanks :)