File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
I agree. Here's the link:
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")
Firefox doesnt support images
JSP page not displaying the image
object expected error in IE only
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014