Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Upload a file through JSP  RSS feed

 
vikas yadav
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,
I am in a bit of problem i want to allow client to upload a file from his machine to the web server but unable to find out the way..
Please help me for the above mentioned topic.
Thank you.
------------------
Regards,
--Vikas
 
sameera kocharekar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
well u can use the package
com.oreilly.servlet.MultipartRequest;
for uploading
you will get the package at www.servlets.com/cos/index.html
Sameera
 
sameera kocharekar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi vikas
well using the package which i have mentioned above the file is uploaded thru a servlet
the file form element is present in the jsp page thru which the user selects the file which he wants to upload and then passes the file parameter to a servlet which uploads the file
Sameera
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!