wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes image uploading and selection an image from many images? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "image uploading and selection an image from many images?" Watch "image uploading and selection an image from many images?" New topic
Author

image uploading and selection an image from many images?

Rahul Noel
Ranch Hand

Joined: Jul 18, 2008
Posts: 51
Hi,
How to select an image from many images on mouse click,selected image should be display like in yahoo messenger avatars which technology I have to use and how to upload an image using jsp ?


Thanks in Advance.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
ou want images from the user's machine to show up in a form and than upload them to the server? You can not do that with HTML and JavaScript since it does not have access to the file system.

You would need to look into an applet or flash solution.

Eric
Rahul Noel
Ranch Hand

Joined: Jul 18, 2008
Posts: 51
Hi Eric,
Another thing is I have to select an image in a jsp which has many images on mouse click selected image should be displayed in a particular place in JSP just like gtalk display images. How to do it? please give me any pseudo code or url or example ?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You mean like an image gallery?

You can change the source of the image. Very basic idea:



Eric
 
Don't get me started about those stupid light bulbs.
 
subject: image uploading and selection an image from many images?