0 Replies Latest reply on Feb 18, 2004 1:48 PM by huskerchen

    Access file system, where to set the base directory?

    huskerchen

      Hi:

      I have a java class, called in JSP, to access a file in the file system. The file path is set to string type with the value "/xml/myfile.xml".

      After I deployed the WAR file on Windows 2000, this file is mapped to "C:\xml\myfile.xml", but when I deploy the same war on linux, this file path was mapped to "$JBOSS_HOME/bin/xml/myfile.xml".

      What I should do to make the path mapped to "/xml/myfile.xml" too?

      Thanks!

      Yi