commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "h2ooo x" <tj...@hotmail.com>
Subject [HttpClient] Set params in GetMethod?
Date Wed, 13 Oct 2004 08:26:11 GMT
Here is the Http form,

  <form action="./FT_index.php" method="get" name="myForm">
    <input type="HIDDEN name="lang" value="1">
    <input name="submit" type="submit" value="OK">
  </form>

Usually we can use PostMethod.setRequestBody() to set the parameter like 
"lang". Unfortunately, I cannnot find the similar method in GetMethod. How 
can I set the "lang" parameter?

_________________________________________________________________
Download ringtones, logos and picture messages from MSN Malaysia 
http://www.msn.com.my/mobile/ringtones/default.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message