p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Pro JSP (http://p2p.wrox.com/forumdisplay.php?f=93)
-   -   upload file in server ( in folder NOT in database) (http://p2p.wrox.com/showthread.php?t=37471)

virtual_manu January 21st, 2006 12:43 PM

upload file in server ( in folder NOT in database)
 
 hi guys,

     please help me with JSP code for uploading files mainly images on my server ( in folders NOT in database). It is urgently required... help me buddies :D


panacea January 21st, 2006 08:10 PM

You should look at the Apache Commons FileUpload project (http://jakarta.apache.org/commons/fileupload/) as a way to parse the POSTed images and provide you InputStreams for them. Then you just need to take the InputStreams and write them into your folder.

Jon Emerson
http://www.jonemerson.net/

b100dh0und February 20th, 2006 08:39 AM

commons-upload.jar is certainly the best thing to give a try and it can be found from apache group you can also experiment with orielly's cos.jar which can be found at http://servlets.com/cos/




All times are GMT -4. The time now is 05:24 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.