Hello,
    i'm developing an Applet-Servlet comunication using HTTP protocol. So, i'd like to use HttpURLConnection class because it gives so many facilities. But i don't really know how to get it.
If i do this way:
 
    HttpURLConnection httpuc = (HttpURLConnection) url.openConnection();
 
I just get a ClassCastException. So my question is:
How can i get a HttpURLConnecion object without using cast?
 
Thank you,
 
Txals de Bitrir

Reply via email to