Check HTML rendered on browser check for img tag whats its src attribute?? , and what it should be ??
Update:
Your dir structure should be like this
jsp file at
--web-apps | |--your application | | ---images C:\Program Files\Apache Software Foundation\Tomcat |5.5\webapps\SampleApp\1.jsp image file at
C:\Program Files\Apache Software Foundation\Tomcat --------someImage5.5\webapps\SampleApp\images\1.jpg in my browser address bar
http://localhost:8080/SampleApp/1.jsp and make itHTML code
<img border="2" src=imagessrc="images/<%= pic1.item(0).getFirstChild()1.getNodeValue() %> width="137" height="140"><jpg"/td>>