This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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: 1528

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: 2963

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: 1528

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
It's not a secret anymore!