View Full Version : File upload in JSP
July 21st, 2011, 03:36 PM
Does anyone know a very easy way have a jsp upload and download files? It is easy in php but when I googled for jsp, the codes were really complex, I just want a few lines to do the things.
July 22nd, 2011, 06:04 AM
For receiving files, one typically uses http://commons.apache.org/fileupload/ ... well I do at least.
For sending files - you can obviously provide a direct link or "push" the file to the user. This is a pretty nice example ... http://balusc.blogspot.com/2007/07/fileservlet.html
July 22nd, 2011, 11:08 AM
for receiving files, one typically uses http://commons.apache.org/fileupload/ ... Well i do at least.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.