aspose file tools*
The moose likes I/O and Streams and the fly likes Get Object from multipart request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Get Object from multipart request " Watch "Get Object from multipart request " New topic
Author

Get Object from multipart request

shri bhandare
Greenhorn

Joined: Oct 16, 2008
Posts: 1
Actually i am setting object in the httpRequest and i want to retrive the object

i am receiving that object as Formfield
i am not able to get the contents of the object
here is the code snap




public void processFormField(FileItem item) throws IOException{

String name = item.getFieldName();
String value = item.getString();

values after executing this code

Name: requestData Value: [object DataUpload]

i waant to retrive this object.
can anybody pleas help me in same. it really urgent
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Hi shri,

Welcome to javaranch.
We are a very friendly community and do not have many rules.
However, there are a few guidelines that helps you get good answers.
It will be nice if you can go through this on how to ask questions in the ranch. Specifically,
  • UseCodeTags
  • EaseUp


  • apigee, a better way to API!
     
    jQuery in Action, 2nd edition
     
    subject: Get Object from multipart request