Hello,
I was wondering how to use HttpClient classes
and methods to get the value of a cookie. I want
to fetch the cookie named "SessionID". How would
I do that? This is the code I have so far ...
PostMethod method = new PostMethod(url);
method.setFollowRedirects(true)
Hello,
I am writing a servlet on www.mydomain.com.
The servlet POSTs data to www.otherdomain.com
using HttpClient and associated classes. Then,
www.otherdomain.com sends back a response,
Unfortunately, this generates a 404 error on the
client machine because its still referen
server's response and craft a
response suitable for your
client out of it. In your case this means parsing
HTML, which is out of
the scope of HttpClient since HTML is part of the
HTTP message body.
Odi
D Alvarado wrote:
> Hello,
>I am writing a servlet on www.mydomain.com
> If you try and think this through carefully,
you will see that the term
"in the context of" will inadvertly lead to
ambiguities. What about
images referenced by the document, how must they
be resolved? What about
links to other domains, do we still have to use
the "proxy" or can we
just reac
I can't seem to figure out how to POST data to a
page that is protected (puts up a gray box where
you enter the username/password). The code below
is in a servlet running on www.mydomain.com and
submitting to another page also on www.mydomain.com.
// Create an instance of HttpClient.
arta.apache.org/commons/httpclient/logging.html>
Oleg
-Original Message-
From: D Alvarado [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 23:26
To: [EMAIL PROTECTED]
Subject: I'm a big loser
I can't seem to figure out how to POST data to a
page that is protecte
On Fri, 2004-01-23 at 23:11, D Alvarado wrote:
> I'm pretty sure the authentication is basic. It
> is done through the Apache .htaccess and
> .htpasswd files. However, I don't have a value
> for "realm" and I'm wondering if I need to put a
> value
og.
See this link
http://jakarta.apache.org/commons/httpclient/logging.html
that Oleg pointed you to.
-Eric.
D Alvarado wrote:
>Again, here is my noviceness coming out, but
>where would I find this wirelog of the HTTP
>session? I am running Apache Web Server 1.27
>with WebLo
Hi, I was hoping someone could help me with this
exception. I'm trying to POST some data to a
remote site using https. The code is almost
directly from jakarta:
// Create an instance of HttpClient.
HttpClient client = new HttpClient();
client.getState().setCookiePolicy(Co
ib/security/
I hope someone else can come up with the exact
permission entries required for the HTTP Client.
best regards,
Roland
"D Alvarado" <[EMAIL PROTECTED]>
30.01.2004 06:36
Please respond to "Commons HttpClient Project"
To:
[EMAIL PROTECTED]
Hey, sorry if this is a bit off topic, but I'm
using httpclient to POST data to an https
connection. I get an access denied exception,
one I have already posted to this group. But my
question is now, as I
look at the stack trace, what part of it do I use
to determine what to
put in the "codeBase"
11 matches
Mail list logo