Problem parsing google XML
hi all,
I m facing a problem while reading RSS xml feed from google.
when i paste the url on my browser it works but when i try to read it through my code
it saysjava.io.IOException: Server returned HTTP response code: 403.
example url:--
http://news.google.com/news?hl=en&ned=us&q=world+cricket&ie=UTF-8 38;output=rss
my code:-
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory
.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse("http://news.google.com/news?hl=en&ned=us&q=world+cricket&ie=UTF-8&output=rss");// exception comes gere
I donno what the problem is.
Is it possible that google doesnt allow this thing.
Plz help
Thanx in advance
VikraM.......

