0 Replies Latest reply on Dec 5, 2007 11:40 AM by Rodo Rigi

    Retrieving WebServer root URL at startup

    Rodo Rigi Newbie


      At JBoss AS startup I need to retrieve the webServer root URL in a class. (before any call to JSP / Action / Servlet).

      I thought about doing it from the init() of a Servlet launched at startup but it seems we cannot do that.

      Any idea how I can achieve that?

      Thanks a lot,