2 Replies Latest reply on Sep 26, 2007 1:17 PM by norman.richards

    Directory Path on Jboss server

    hager

      Hello,
      I want to know how can I do to get the path of a specific directory under jboss server.

      I have a directory named 'logoSociete',I store on it some files.
      In my java class, i wrote :

      public static final String repertoireLogos=".."+File.separator+"server"+File.separator+"default"+File.separator+"deploy"+File.separator+"ResourcesManager.ear"+File.separator+"ResourcesManager.war"+File.separator+"logoSociete"+File.separator;


      but it's a bad way, i want to get the relative path of this directory from jboss server. is it possible?
      please help me,
      thank you!!!