hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ossf...@dubioso.net>
Subject Re: Redirect not working of POST
Date Thu, 22 Nov 2007 18:11:03 GMT
If you get a redirect to the same form you came from,
that typically means that the server didn't like the
data you entered. In a browser, you'd probably see
an additional message like "you have to enter a value
in this field".
Check the data you are posting. Check twice that you
send all hidden parameters, and a value for every
field where you have to enter data, and for every
checkbox you have to set. It's best to grab the request
sent by a browser and compare the data. There may even
be some JavaScript somewhere in the page that modifies
the parameters or target URL when the form is submitted
by a browser.

hope that helps,
  Roland

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


Mime
View raw message