Hello Andre,

> (at first I thought that the URLs would be same, hence I
> used "url" als a variable; in some way the URLs are really the same, only
> the parameters are different!?).

A URL with path /campus/ is quite different from
a URL with path /campus/index.php and query string
Lernbar=9c68975b63532db9c8e19c251b59ab2e
If you don't believe that, try those two...
http://www.google.com/
http://www.google.com/search?q=whatever
They also only differ mainly by the parameters :-)

You'll have to figure out what the server doesn't like about the
request you send there. Maybe some parameters missing in the POST?
The most promising approach - if staring intently at the code and
the web page you are simulating doesn't work - is to get a sniffer
and monitor the HTTP communication between your favorite browser
and the server. Then compare with the messages sent by HttpClient.
There is a recent mail thread that suggest a few sniffer programs:
http://mail-archives.apache.org/mod_mbox/jakarta-httpclient-user/200603.mbox/[EMAIL
 PROTECTED]

I recommend you reduce the debug output to the wire log only. The
context log is really only helpful when we need to trace a bug in
HttpClient, not as long as you have application level problems.
(I can imagine Oleg's smile right now :-)

cheers from rainy Stuttgart,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to