File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes getting the file from Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

getting the file from "multipart/form-data" form

farhath farook
Ranch Hand

Joined: Aug 01, 2007
Posts: 37
i want to get the File that was uploaded to the "multipart/form-data" as a file object using a servlet or jsp. there were many example which used struts. but but i need to get it through a servlet or a jsp.

please help.
thanks in advance
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63837

Please continue the discussion here.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: getting the file from "multipart/form-data" form
It's not a secret anymore!