Link to home
Start Free TrialLog in
Avatar of chongkeng_woon
chongkeng_woon

asked on

Draw and Upload image in Java Applet

Hi, i am very new to java applet ..
i just want to include  a small java applet program in my HTML page,
whereby i can draw a simple image (onmousedown event) with few lines ... and then, upload this image to my web server ...and a Clear button is needed.

is there anyway i can do it ..

million thanks ...

Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Do you have servlet support on your web server? Otherwise ftp would be necessary
ASKER CERTIFIED SOLUTION
Avatar of Joe
Joe
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Good - you saved me the trouble of finding that linke JoeZ430 ;-). That of course is suitable when there's servlet support
I don't think that applet comes with the source..at least I could not find it.  You may be able to email and see if you can get it.  At least you would have the drawing functionality.   Then you could handle the save from there.
BTW...it does not have to be a servlet.  There is an example with a CGI script, but the guy wants $20 for it.  It stores the cordinates to the image in a hidden param.  This param can get submitted to any server side language that can write an image from the cordinates.
>> BTW...it does not have to be a servlet.  

That's true. I'm really getting at server-side scripting, of which servlets are one implementation
Avatar of chongkeng_woon
chongkeng_woon

ASKER

i have a problem ..my server is IIS ...i don't have Apache server (Tom Cat) installed inside ...
can IIS have a servlet support? if not, how can i capture the image and upload it to IIS server ?
how about some .NET technologies or ASP ? sorry, i am relatively new to this field ....
thanks
IIS can have cgi support, so you could do it with that