File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

image upload in applet from user's pc

 
Venkata Kiran
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai ,
I am working on an applet which contains an image.
i am displaying some images on the html page, when the user clicks them
using LiveConnect i am able to display them on the first image.

instead if user uploads images from his pc, i must the store the image onto the server & diplay it on the first image.

how to save this image on the server & display it back on the applet.
are there any useful links?

[ March 02, 2006: Message edited by: Kiran Kumar ]
[ March 02, 2006: Message edited by: Kiran Kumar ]
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kiran you need to do two things

(1)You need to Upload image on the server using Servlet
(2)Your Servlet should revert back with URL of the image that uploaded to server. Pass URL as parameter to applet and let applet display that image.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic