Hi guys,

I placed a file in the Magnolia Java webapp project like this:

>src
  >main
    >webapp
      >docroot
        >img
          >[u]MyFile[/u]

Now in a java class I need the path of MyFile.
I'm trying to use ClassLoader.getResource("img/MyFile") function but I always 
get null.
Any ideas?

Thanks in advance
Fabio

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=8edfc2c4-d03b-4efd-ba9d-2d9c21d8757f


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to