wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "sending picture." Watch "sending picture." New topic
Author

sending picture.

sameer patil
Greenhorn

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
author
Rancher

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

Eric
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41049
    
  43
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 - my free Android networking tools app
 
 
subject: sending picture.
 
Similar Threads
displaying large images in phone
could someone explain picture editing with java?
jndi in midlets
can server send picture in 'ajax' interaction
Http Response