2 Replies Latest reply on Oct 23, 2015 11:37 AM by Jay SenSharma

    Url mapping with a directory on server storage

    Pankhurie Gupta Newbie

      Hello,

       

      Please share how do I map a directory with a url on my server.

      E.g.:

      Name of war file deployed: Beta

      Directory path that stores images: /storage/images

      Desired URL: localhost:8080/Beta/images

       

      In case of Apache Tomcat I used add this line in server.xml: <Context docBase="/storage/images" path="/Beta/images"/>

      I need to do the same thing on JBoss AS 7.1.1 and I am unable to find an appropriate answer. Please help.

       

      Regards,

      Pankhurie