File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes How can I read parameters from a multipart/form-data upload form? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How can I read parameters from a multipart/form-data upload form?" Watch "How can I read parameters from a multipart/form-data upload form?" New topic
Author

How can I read parameters from a multipart/form-data upload form?

abhishek rathur
Ranch Hand

Joined: Jan 14, 2010
Posts: 66




I cannot read the submitter using request.getParameter("submitter") (it returns null). ]


Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29219
    
134

Are you using a library to deal with the multipart "part"? Apache FileUpload is very commonly used to separate the file upload form the plain text parameters.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How can I read parameters from a multipart/form-data upload form?
 
Similar Threads
More problems with file uploads
upload servlet
HTTP POST maximum data size?
Servlets, HTML forms, multipart/form-data
problem with multipart/form-data