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

String url for image in database and show image in jsp file  RSS feed

 
kubra yapıcı
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Night ;
I have a question. I had string url for image in mysql database and I want show image in mu jsp file bu I can't.


And screenhost is here.

http://i.hizliresim.com/Ez6dM8.png

How I solved it?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch. Red text on tan is not very readable so I removed the color for you.

What does the src attribute of the image element end up being? Is it a valid URL for the servlet (I presume) that will serve the image data?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!