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

getting the image alone in jsp  RSS feed

 
derick nial
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

im trying to display image and other contents in jsp page, however i keep on getting the image alone.and i dont know why

here is the code from my servlet:


and here is from my jsp:


please help me on this, hope to receive reply from you all ASAP.

thanks in advance (:
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In future, while posting code, please UseCodeTags I have added them this time for you. As you can see the tags make the code much more easier to read and understand

please help me on this, hope to receive reply from you all ASAP.

No such thing Please EaseUp
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay. So in your JSP you're generating an <input> element which links to an image. And then you've got this unnamed servlet which apparently serves an image from somewhere. Is there supposed to be some relationship between those two things?
 
derick nial
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. The <input> is basically for the frame where i want the image to be displayed at. And no, there are no other servlet. Just one.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!