1 Reply Latest reply on Apr 24, 2006 10:39 AM by Quinn Briggs

    How to write files into the root context

    Chris Miller Newbie

      My root web application context is deployed outside of a war file. I want my web application to be able to write new files into this directory tree. So, I need to obtain a java.io.File object that points to the root of my web application. However, this path varies from server to server. Is there a way I can get this path from the JBoss API somehow?