Newbie,
I have to create a jsp page where i can upload some gif images to a
server location. How can i do that?
Thanks.
jcsnippets.atspace.com - 30 Mar 2006 22:08 GMT
> Newbie,
>
> I have to create a jsp page where i can upload some gif images to a
> server location. How can i do that?
Create a jsp page where you can choose the file. Then let the jsp post the
data to a servlet which handles the upload of the selected file.
I've had a quick look on Google for "upload servlet" and found this... It
might be very interesting -
http://www.jspwiki.org/wiki/MakingAnUploadServlet
Best regards,
JC
--
http://jcsnippets.atspace.com/
a collection of source code, tips and tricks
Alex Hunsley - 31 Mar 2006 16:01 GMT
> Newbie,
>
> I have to create a jsp page where i can upload some gif images to a
> server location. How can i do that?
Find out who has already invented that particular wheel and use their code!
In this case, the useful com.oreilly.servlet package comes to the rescue.
http://servlets.com/cos/
Frances - 31 Mar 2006 18:39 GMT
>>Newbie,
>>
[quoted text clipped - 5 lines]
>
> http://servlets.com/cos/
I use a Jakarta-Commons package, works pretty well..
http://jakarta.apache.org/commons/fileupload/
good luck,
Frances