This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Access POST request parameter in a multipart request 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 » Servlets
Bookmark "Access POST request parameter in a multipart request" Watch "Access POST request parameter in a multipart request" New topic
Author

Access POST request parameter in a multipart request

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hey,
I'm using Apache commons upload to upload a file and two hidden fields to the server.
Well, how to access the two hidden fields in the servlet since the request is a multipart one?
Thanks.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

The common library API allows for this. Please check the API.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Read the 'User Guide' section at their homepage.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Access POST request parameter in a multipart request
 
Similar Threads
Posting Multipart Forms in HttpUnit
Multipart request in a single form
How to restrict user to delete/modify the file when uload is in progress
request object populate.
How I can access session objects within Form object extended ActionForm class