Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Unable to display the image file in the jsp
Joined: Feb 01, 2007
Oct 15, 2007 16:04:00
I have just started learning Jsps and i am getting this problem with displaying the image in the jsp page.
My web application is MyJspExamples.Under this i have image1.jpg and all my Jsp files
here is the code of my Jsp page:
<img src="image1.jpg" width="300" height="400"/>
<em><strong>WE KNOW HOW TO MAKE A SOAP SUCK LESS</strong></em>
Can anyone help me out
Thanks in advance
Joined: Aug 13, 2007
Oct 16, 2007 00:25:00
your script is ok. there might be a problem with Image file. Try with different image file or give absolute path for src .
[ October 16, 2007: Message edited by: Jagadabi Vinay Kumar ]
Winay Kumar<br />SCJP 5.0
Don't get me started about those stupid
subject: Unable to display the image file in the jsp
How to Display an Email with an image on Different Email Account Using java API
out.print("How to display an Image")
object expected error in IE only
JSP page not displaying the image
Firefox doesnt support images
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013