September 2001
Intermediate to advanced
512 pages
10h 22m
English
The server-side of the JNLP specification describes the protocol involved in sending the requested material to the JNLP Client. The protocol is greatly simplified by relying completely on the HTTP protocol. Basically, the server reacts to GET requests from JNLP Clients.
Due to the different kinds of requests, the JNLP protocol encourages the use of error codes for the more common problems, as reported in the following table.
| Error Code | Error Description |
|---|---|
| 10 | Resource Not Found(HTTP error 404) |
| 11 | Could Not Locate Requested Version |
| 99 | Unknown Error |
In case of an error, the response must be a string composed as follows:
String Response = errorCode + ' ' + errorDescription + "\n";
The returned MIME type is JNLP Error (“
Read now
Unlock full access