Difference between revisions of "JGridstart/Java user agents"

From PDP/Grid Wiki
Jump to navigationJump to search
 
m
Line 1: Line 1:
It is possible to detect on the server-side something about the user's Java environment by inspecting the request headers that Java sends. This is different when a connection is made from the Java program using [http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html URLConnection], or when a [http://en.wikipedia.org/wiki/Java_web_start Java Web Start] application is being downloaded.
+
It is possible to detect on the server-side something about the user's Java environment by inspecting the request headers that Java sends. There are differences when a connection is made from the Java program using [http://java.sun.com/javase/6/docs/api/java/net/URLConnection.html URLConnection], or when a [http://en.wikipedia.org/wiki/Java_web_start Java Web Start] application is being downloaded.
  
 
== Java Web Start ==
 
== Java Web Start ==

Revision as of 09:33, 20 January 2010

It is possible to detect on the server-side something about the user's Java environment by inspecting the request headers that Java sends. There are differences when a connection is made from the Java program using URLConnection, or when a Java Web Start application is being downloaded.

Java Web Start

Vendor HTTP Header
User-Agent UA-Java-Version
Sun JNLP/1.5 javaws/1.5.0_19 (b02) J2SE/1.5.0_19 1.5.0_19
Sun JNLP/6.0 javaws/1.6.0_17 (b04) Java/1.6.0_17 1.6.0_17
OpenJDK Java/1.6.0_0 (not supplied)

URLConnection

Vendor HTTP header User-Agent
Sun Java/1.5.0_19
Sun Java/1.6.0_17
OpenJDK Java/1.6.0_0