aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes sending picture. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "sending picture." Watch "sending picture." New topic

sending picture.

sameer patil

Joined: Jan 01, 2008
Posts: 6
i want to send the picture to the server using html form.
Is it possible to send a picture to the server?
which is attribute used for that? and how i retrieve it in the servlet.
is get parameter work for that.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15383
You want to upload an image file? Is that what you are asking?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42954
If you are talking about uploading a picture, read up on the HTML form element of type upload.

You can use a library like Commons FileUpload to handle the server side, if that's a servlet container.
I agree. Here's the link:
subject: sending picture.