• Post Reply Bookmark Topic Watch Topic
  • New Topic

image not displaying in html page using tomcat server  RSS feed

 
santosh kimothi
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tomcat server is not displaying some jpg images while at the same time it is displaying other jpg images,

i don't no why it is not displaying the images....

please tell me why tomcat is not displaying the images.
 
D. Ogranos
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's a very broad question...try these suggestions:

1. Check if you wrote the names and url paths of the image files correctly in your .jsp files.
2. See if you can get the images to display when you type their urls in the browser address field.
3. Check the /images directory (or whatever you have it named) in the tomcat /webapps folder of your application, too see if the image files are actually in it.
 
santosh kimothi
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your suggestions,

i tried to get the image by typing the full path in browser url, but i am not getting the image, resource not found error is comming, but image is there,

at the same time many other images are displaying.............with same extension
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The URL is incorrect, or the image file is corrupt. There is no other reason.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!