Thread: file uploading

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Posts
    0
    Rep Power
    0
    i need a write a program using servlets and javascript to upload a file. the task to be done is - choosing a file using javascript,the servlet should take that file and keep it in a particular folder specified by us previously.

    Comments on this post

    • Gran Roguismo agrees
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    Bangalore, India
    Posts
    0
    Rep Power
    0
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by sneha:
    i need a write a program using servlets and javascript to upload a file. the task to be done is - choosing a file using javascript,the servlet should take that file and keep it in a particular folder specified by us previously.[/quote]
    Hi Sneha!
    Use <form name=FormName method=Post action=/servlet/fileserv ENCTYPE="multipart/form-data"> to attach the file. I have successfully implemented attachements. if you are still unable to do it, send me a mail.
    Cheers,
    Manish

    Comments on this post

    • Gran Roguismo agrees

IMN logo majestic logo threadwatch logo seochat tools logo