Salve a tutti!

Il mio problema è che non riesco a creare un client java che si colleghi al sito http://www.snai.it e scarichi il codice html.

Ho provato col seguente codice :

codice:
protected URL urlWeb (ereditato dalla superclasse)
private java.net.HttpURLConnection hurlConn;

 urlWeb=new URL("http://www.snai.it");
 hurlConn=(java.net.HttpURLConnection)urlWeb.openConnection();
 hurlConn.setDoOutput(true);
 hurlConn.setDoInput(true);

 InputStream is=hurlConn.getInputStream();
ecco l'errore:

java.io.IOException: Server returned HTTP response code: 403 for URL: http://www.snai.it
at sun.net.http://www.protocol.http.HttpURLConn...getInputStream(HttpURLConnection.java:1245)

Qualcuno può aiutarmi???

Grazie e un saluto.