This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Http Response 404 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Http Response 404" Watch "Http Response 404" New topic

Http Response 404

Swastik Dey

Joined: Jan 08, 2009
Posts: 1446

I have an midlet application that connects to our web server. The code written for http connectivity works fine on all devices. But only problem I am facing is in kyocera duramax, that runs on Sprint CDMA network. In this particular device not always but too often I am getting 404 as response code. Better to say it works and then it doesn't. I don't think there is something wrong in my code or else it would have created problem in other devices too.

Any help on this will be highly appreciated.

Greg Charles

Joined: Oct 01, 2001
Posts: 2833

You might have to put a sniffer on the network connection. Your server shouldn't be returning a 404 response unless the resource really isn't found. Maybe the client is corrupting the request in some way?
Swastik Dey

Joined: Jan 08, 2009
Posts: 1446

Thanks Greg, will have a look on it. However troubleshooting the issue is getting more difficult as the specified phone model doesn't even have an emulator.
I agree. Here's the link:
subject: Http Response 404
Similar Threads
redirect issues
Problem reading the HttpConection response in some devices
Problems with jsp-error page in web.xml
Which j2me Phone should I buy ?
Problem with Custom Error Page