Swastik Dey wrote:Did you put all classes with proper package hierarchy?
yes i have put them in proper package only......
what is the solution......
also i m getting error now like Action string missing !........
i m trying to figure out the error but not getting it...
Can you help me out
I was getting the same error initially when I was not using correct credentials, but now that error is gone after using valid credentials. However
Its tough to say whether In getActionString() the following url
URLConnector.connect("http://" + site + "/jsp/InstantSMS.jsp", false, "GET", cookie, null);
is correct or not, because while debugging the code I found some times it connects to the url and some time it returns 404 error. When it returns 404 the method returns getActionString failed. But even if it connects the following line String str = URLConnector.getResponse(); is returning a blank response.