Sorry, my err.
But HttpConnection can only b found in j2me. So am talkin abt j2me httpconection (it is only httpURLconnection that is in j2se)
I was wondering if I can retrieve the message that is sent when an httpURL connection returns a response codes other than 200?
I know it throws an ioe exception when a response other than 200 is returned, is there a way to retrieve the message returned by a
servlet with response code 401?
If I cant get the message, what other method can I use connect to a server and still open the stream after it has thrown the err?
[ February 14, 2007: Message edited by: lekkie Nakel ]