Hi,
 
    I'm just learning.... i'm trying to build a java based Chat using HTTP protocol. But i'm having some problems. My applet produce a java.lang.ClassCastException when trying to get a HTTPUrlConnection from a UrlConnection. I did it by this way:
 
serverURL = new URL(serverURLname);
HttpURLConnection httpuc = (HttpURLConnection) serverURL.openConnection();
 
Where i'm going wrong?
There's some better way to do this?
 
Thanks,
 
            Txals de Bitrir

Reply via email to