File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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.
I agree. Here's the link:
subject: Http 1.1 Connection
It's not a secret anymore!