|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
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.
|
|
#2
|
|||
|
|||
|
<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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > file uploading |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|