wood burning stoves 2.0*
The moose likes Servlets and the fly likes how to upload file from JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to upload file from JSP page" Watch "how to upload file from JSP page" New topic

how to upload file from JSP page

maateen ashraf
Ranch Hand

Joined: Jan 08, 2001
Posts: 122
i want to upload a file from jsp to server (servlet)
how can i do it..
what i have done is
created an object of FILE
then FILEOUTPUTSTREAM to pass it to next page...?
but i cant get it on next page...?
what could be the scnario..?
thanks in advance.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

two things for you:
http://onjava.com/lpt/a/745 <- this is an article about writing your own file upload bean.
http://www.servlets.com/cos/index.html <- this is a pre-written package that is very easy to use, and it does fileupload and multipart form processing.
subject: how to upload file from JSP page
Similar Threads
uploading a file using jsp
Can anybody answer this question ?
File upload from Jsp
upload in jsp
Value from select element is null in request