File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 15376
You want to upload an image file? Is that what you are asking?

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 39548
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.

Ping & DNS - updated with new look and Ping home screen widget
I agree. Here's the link:
subject: sending picture.
Similar Threads
jndi in midlets
could someone explain picture editing with java?
displaying large images in phone
Http Response
can server send picture in 'ajax' interaction