Hi,

you should probably look at the methods of ServletContext.

I'd like to put them in the /img directory of my application, but I
> cannot find a way to get a real path for this directory. Is there any
> way to get it?


ServletContext.getRealPath(String path)

And then my other question is: how can I access the ressource
> /img/foo.jpg?


ServletContext.getResourceAsStream(String Path)


Tamas

Reply via email to