That worked, thanks.
On Apr 18, 11:55 pm, Vaclav Bartacek vaclav.barta...@spolecne.cz
wrote:
Better way is to use getClass().getResourceAsStream for accessing
files packed in jars
or for acccessing files located directly in the war you can use the
following (in a servlet):
Better way is to use getClass().getResourceAsStream for accessing
files packed in jars
or for acccessing files located directly in the war you can use the
following (in a servlet):
ServletContext ctx = getServletContext();
InputStream is = ctx.getResourceAsStream( resourceName );
Do not