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
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31062
    
232

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I read parameters from a multipart/form-data upload form?