how to fix MalformedURLException
<pre><code>try{
        URL surl = new URL("http://w3devadv.liveproj.com/api/apiRequest.php?Method=getdealdetails&amp;DealId=2&amp;SessionId=EA3JQ0RZJT4e66223143fc5");

        SAXParserFactory spf = SAXParserFactory.newInstance();

        SAXParser sp1 = spf.newSAXParser();
        XMLReader xr = sp1.getXMLReader();

        DealdetailsHandler dh = new DealdetailsHandler();

        xr.setContentHandler(dh);

        xr.parse(new InputSource(surl.openStream()));
} catch(MalformedURLException mue) {
        mue.printstacktrace();
}
</code></pre>
