hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pronab Bhattacharyya <pronab.bhattachar...@tcs.com>
Subject How to retireve parameter's value from a ResponseBody of a post method.
Date Wed, 05 Nov 2008 15:09:34 GMT
I want to get a particular  parameter's  value that have in the response 
body of the Http post method.
As we know that the getResponseBodyAsStream of PostMethod returns the 
whole response body. But I only have to retrieve  some parameters values 
For example, if we save the ResponseBody into a file we can find out that 
it contains 
 <input type="hidden" name="ProjectID" value="10237">.
My concern is this projectID.
Is there any direct way to get back this parameters value in my java class 
?

regrads 
Pronab Bhattacharyya


Pronab Bhattacharyya
ASE
Tata Consultancy Services
Victoria Park Building,
Plot No. 37/2, Block GN, Salt Lake,
Kolkata - 700091,West Bengal
India
Cell:- +91-9830367338
Mailto: pronab.bhattacharyya@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message