2 Replies Latest reply on Mar 6, 2008 4:34 AM by mars1412

    ear: read a file from webapplication

    mars1412 Apprentice

      how can I read a file from my webapplication?
      e.g. file is in project.ear\twentyfouract.war\img\mypic.gif

      File file = new File("img\mypic.gif");