www.jspsmart.com
the most easiet way to handle file upload in jsp
----- Original Message -----
From: "Liming Xu" <lmxu@w...>
To: "Pro_JavaServer_Pages" <pro_jsp@p...>
Sent: Wednesday, March 14, 2001 1:23 AM
Subject: [pro_jsp] Upload
> > Hi, anybody knows how I can setup an upload jsp pages that handles
user's
> > upload?
>
> I already have the form setup..
>
> <form method="post" action="upload.jsp">
> <input type="file" name="filename">
> <input type="submit" name="Upload">
> </form>
>
> now, how do I write the upload.jsp page so that whatever the user uploaded
> could be saved in my /upload directory....thanks for ur help...