No subject


Sat Nov 12 19:29:10 PST 2005


want to do. I'm loosing confidence when I don't know why is not working and
more I can't see the transactions with the server (here I'm talking about
URLConnection)

Now I'll still seach for few days and if nothing I may post the piece of
code I have.
Thanks for you thought and for your precious time.

Best regards,
Mircea

----- Original Message -----
From: "Pollard, Jim" <Pollard at stats.com>
To: "'Mircea Moisei'" <mircea.m at tajtech.com>;
<advanced-java at xcf.berkeley.edu>
Sent: Monday, July 30, 2001 5:19 PM
Subject: RE: [Advanced-java] Please enlight me (HTTP client and Java)


> if you want to homebrew it and you're going to stick to connecting to
> webservers, you'll definitely want to use the HttpURLConnection class
rather
> than bare Sockets.
>
>
http://java.sun.com/products/jdk/1.2/docs/api/java/net/HttpURLConnection.htm
> l
>
> a cookie is just a header to the request and the parent URLConnection
class
> provides methods to easily set/get headers.  a web search on that class
name
> should turn up example code.
>
> -Jim
>
> > -----Original Message-----
> > From: Mircea Moisei [mailto:mircea.m at tajtech.com]
> > Sent: Monday, July 30, 2001 4:57 PM
> > To: advanced-java at xcf.berkeley.edu; John Zukowski
> > Subject: Re: [Advanced-java] Please enlight me (HTTP client and Java)
> >
> >
> > Hi John,
> > Unfortunatelly this small client will be only the beginning,
> > the prototype.
> > I don't want to use  this app only for reading emails. I'm
> > thinking far
> > beyond that.
> > I thought if I can access mail.yahoo.com I can access any
> > portal and pick up
> > some data I want.
> >
> > Thanks though for your time and patience to reply me.
> >
> > If anyone has a small simple piece of code which uses cookie
> > and can connect
> > to a site please post it if possible. I know there is an
> > implementation of
> > http client made in java, I've seen even the sources but is
> > not readable.
> >
> > Thanks a lot !
> > Mircea
> >
> > ----- Original Message -----
> > From: "John Zukowski" <jaz at zukowski.net>
> > To: "Mircea Moisei" <mircea.m at tajtech.com>;
> > <advanced-java at xcf.berkeley.edu>
> > Sent: Monday, July 30, 2001 4:18 PM
> > Subject: Re: [Advanced-java] Please enlight me (HTTP client and Java)
> >
> >
> > >
> > > If all you are trying to do is read/send your email, just
> > use the JavaMail
> > > API to connect to Yahoo's POP/SMTP servers.
> > >
> > > J
> > >
> > > At 02:18 PM 7/30/2001 -0500, Mircea Moisei wrote:
> > >
> > > >Hi there,
> > > >
> > > >I try to use HTTP/1.0 with Java(sockets) to connect to
> > > ><http://mail.yahoo.com>http://mail.yahoo.com. You can see
> > below(attached)
> > > >my transactions with the server. I'm not able to login and
> > also I'm not
> > > >able to understand yet why. If you would be so kind and in
> > same time an
> > > >HTTP expert please point out what do you think I'm doing
> > wrong. Something
> > > >is strange...
> > > >
> > > >Thanks in advance,
> > > >
> > > >Mircea
> > > >
> > > >
> > >
> > >
> > > John Zukowski, Strategic Java Consulting
> > > JZ Ventures, Inc. - http://www.jzventures.com
> > > Read the FAQ:
> > > http://www.jguru.com/faq/JavaMail
> > >
> > >
> > > _______________________________________________
> > > Advanced-java mailing list
> > > Advanced-java at lists.xcf.berkeley.edu
> > > http://lists.xcf.berkeley.edu/mailman/listinfo/advanced-java
> >
> > _______________________________________________
> > Advanced-java mailing list
> > Advanced-java at lists.xcf.berkeley.edu
> > http://lists.xcf.berkeley.edu/mailman/listinfo/advanced-java
> >




More information about the Advanced-java mailing list