This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes Http 1.1 Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Http 1.1 Connection" Watch "Http 1.1 Connection" New topic

Http 1.1 Connection

Sebastian Green
Ranch Hand

Joined: Jan 30, 2004
Posts: 136
So far I mannge to get data (to my phone) from webserver that support Java, my own localhost (Tomcat) and other servers that I know for shure either is Tomcat or supporter of java. If I try some other server then I get 404-error. Why is that, has it something to with MIME?

/ Sebastian<br />No blog, No homepage, No life?
Michael Yuan
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
404 error means that the URL you are trying to access does not exist. If you use a servlet URL against a non-Java server, you will get this.

Seam Framework:
Sebastian Green
Ranch Hand

Joined: Jan 30, 2004
Posts: 136
Ok, I supose that goes for MIDlets to then.
subject: Http 1.1 Connection
It's not a secret anymore!