Iam trying to retrieve data from an asp file from an Iappli. Iam able to connect to the machine hosting the asp by using
hc = (HttpConnection) Connector.open("http://machinename:80/appname/xyz.aspx",Connector.READ,true);
But when I use the ip for the machine name in the url, Iam facing a runtime java exception:
Exception when Connecting ...java.lang.IllegalArgumentException: Illegal Url.
Can any one suggest the correct format for using ip address?
thanks in advance!
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Received on Wed Feb 25 14:23:35 2004