Results 1 to 2 of 2
  1. #1
    Mathi_r is offline Member
    Join Date
    Jun 2011
    Posts
    3
    Rep Power
    0

    Question Uploading an image in an applet to the webserver

    Hai
    I have an applet.I loaded it with an image using PHP.
    1. My question is i want to write something on that image?
    2. i have a save button in the html form,and if i click the save button,the image (with some scribblings) should be captured and uploaded as an image to a webserver.
    i have apache webserver running on my machine.

    How can i do the above two things?

    any help is appreciated.


    Thanks in advance


    By
    Mathi

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,576
    Rep Power
    23

    Default

    write something on that image
    1)See the Graphics draw... method(s).
    2) javascript can call an applet method that can get the image's bytes, convert them to a type of image (eg jpg) and send them to the server.

Similar Threads

  1. Replies: 0
    Last Post: 12-10-2010, 04:55 AM
  2. Replies: 9
    Last Post: 05-30-2010, 03:17 PM
  3. Write file to webserver from an Applet
    By sanoj_av in forum Java Applets
    Replies: 7
    Last Post: 05-14-2010, 03:39 AM
  4. Replies: 1
    Last Post: 10-21-2008, 09:21 AM
  5. Uploading image using JSP
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-11-2008, 09:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •