Hi..

i have one servlet to do that..

pls send to me on mail.. to [EMAIL PROTECTED]

i can help you.









Pol Millan <[EMAIL PROTECTED]> on 09/24/99 06:35:44 AM

Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>



  To:          [EMAIL PROTECTED]

  cc:



  Subject      Uploading a file using a form
  :








Hi everyone,

I'm just trying to send a file using a form, you know
<form enctype="multipart/form-data" method="post">
<input type=file ... name=myfile>
</form>

But the thing is that when I do
String myfile=req.getParameter("myfile");

I only get a null value into myfile.

Anyone knows why is that?

Many thanks,

Pol Millan
top-pile.com
Ibex House
162-164 Arthur Road
Wimbledon Park
London, SW19 8AQ
Tel: +44 (0)181 255 6777
Fax: +44 (0)181 255 6776
Web: www.top-pile.com (& follow links)
Email: [EMAIL PROTECTED]
Hi everyone,
 
I'm just trying to send a file using a form, you know
<form enctype="multipart/form-data" method="post">
<input type=file ... name=myfile>
</form>
 
But the thing is that when I do
String myfile=req.getParameter("myfile");
 
I only get a null value into myfile.
 
Anyone knows why is that?
 
Many thanks,
 
Pol Millan
top-pile.com
Ibex House
162-164 Arthur Road
Wimbledon Park
London, SW19 8AQ
Tel: +44 (0)181 255 6777
Fax: +44 (0)181 255 6776
Web: www.top-pile.com (& follow links)
Email: [EMAIL PROTECTED]

Reply via email to