Did you try "http://www.myvideoshare.com/members/join/index.asp"?
Also, the .asp file might be setting a dummy cookie and reading it back to
see if the client is cookie enabled.  Note that this is not a static HTML
page...

----- Original Message -----
From: "Yunyun Cai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 09, 2000 9:27 AM
Subject: need help on setting cookies to a URL object


> Hi,
> I used such code as follows to get a page using the URL object:
>    <%
>         URL url=new URL("http://www.myvideoshare.com/members/join");
>
>         BufferedReader rd=new BufferedReader(new
> InputStreamReader(url.openStream()));
>         String s="";
>         while((s=rd.readLine())!=null)
>                 out.println(s);
>     %>
> But instead of the sign-up page, what I got is a "Cookies Required" page.
> Could anybody help me on this?
> Thanks!
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to