if u use <img src="/test.gif">, u should put the test.gif in webapps/Root/ folder, so that, i suggest that to write <img src="<%=request.getContextPath()%>/test.gif">!
and if u wanna use the Root folder for ur webapp.
Just delete the Root folder. and write as before.
and if u wanna use the Root folder for ur webapp.
Just delete the Root folder. and write as before.