How to detect browser's user-agent setting from applet

From: Tim Smith (tsmith_at_cdswebinc.com)
Date: 03/09/04


Date: Tue, 9 Mar 2004 05:25:04 -0500

My applet drives an HTTP request back to the server and I'd like that
request to contain the browser's actual user-agent setting. I've tried all
sorts of things, including URLConnection and HttpURLConnection, but I cannot
seem to grab it nor does the applet ever seem to inherit it. I'm using the
Sun Java 1.4.1_03 browser plugin.

Any suggestions?
Thanks,
Tim