Pro JSPAdvanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Pro JSP section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
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
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.
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/