A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Displaying image which is located on local disk but not on server
Joined: Oct 29, 2010
Mar 14, 2011 22:57:32
I am using
framework. I want to display an
which at a specific location on local drive but
not on server.
Please help me out how to do it.
I tried giving full path of image location in
but not working.
Author and ninkuma
Joined: Jan 10, 2002
Mar 14, 2011 23:05:37
Because the browser will use the source of the image element to fetch the image file, it must be able to be served by URL.
If the file itself can't be served for whatever reason, you can write a
that reads the file and serves it.
See the Servlet forum as this has been discussed many times.
Asking smart questions
Books by Bear
rocket mass heater
subject: Displaying image which is located on local disk but not on server
image height&width needed
Storing InputStream object to Application scope in servlet and retrieving
How do I insert an image into a database from a servlet?
How do I insert a BLOB from a servlet
Splash Screen doesnot pops up while launching the jnlp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014