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
Win a copy of
REST with Spring (video course)
this week in the
img tag in jsp
Joined: Mar 31, 2008
May 02, 2008 11:29:00
iam trying to display an
from the local system on the browser using image tag, in my
file. But the image is not displayed. i am using netbeans6.0 IDE and
6.0.14 for development.
below is the code . it is a simple html code. iam unable to trace the error.
anuone please help me out of this.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<img src="D://jagdish//images//five.jpg" alt="image cannot be displayed"/>
<form method="post" action="" onsubmit="getimgsize()">
<input type="file" name="file1" id="f1">
Thanks in advance,
Author and ninkuma
Joined: Jan 10, 2002
May 02, 2008 12:12:00
realize that this will work only when the browser is being displayed on the system housing the image file and will not work on any other system, right?
In any case, what's with the double-slashes?
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: img tag in jsp
request.getParameter in IE
Display of Latin Characters
Doing auto-submit while displaying animated gif
JSP and HTML Frames
Display jpeg file in jsp page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015