• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get Object from multipart request

 
shri bhandare
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  •  
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic