Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting problem in using <img> tag in jsp  RSS feed

 
Madhura Joshi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey
somebody help...........

when i m creating any jsp file with <img> tag the image is not displayed
is there any other solution?

i m not using database for image
the image is on my hard disk
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "src" attribute is probably wrong then. Please tell us where your image is, and how you defined the <img> tag.
 
Stefan Evans
Bartender
Posts: 1834
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another useful thing to check: right click the image, and get the image location (firefox) or look at the properties (IE) to get the url where the browser thinks the image should be.

Paste the URL into your browser, and then fiddle with it until you find what it should be...
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!