Hello,
The image is located in $TOMCAT_HOME/webapps/test/WEB-INF/resources. In a
servlet, I have an org.w3c.dom.Element made that will be an image node. After setting the src attribute of the Element, I append it to the html page the servlet is parsing and print the page out.
I have experimented with a couple of paths to put in the src attribute, but none of them find the image. I know its not a problem with my syntax of the appending of the node, because the img tag in the page shows up in the right place and has the correct syntax. Its just that it cannot find the image with any of the paths I try for the src sttribute.
So how would I reference this image? What path should I use?