Nope, it's the user_agent string that java uses when accessing a web
site, if it is unspecified in the program.
Here is a quickie program I wrote to output the agent string that my web
server gets when you hit it.
I'm using 1.3.0_02 ;-)
jon
import java.net.*;
import java.io.*;
class GetURL {
public static void main(String args[]) {
try {
URL u = new URL("http://65.32.170.177/t/agent.cfm");
InputStream in = u.openStream();
int b;
while ((b = in.read()) != -1) {
System.out.write(b);
}
in.close();
}
catch (MalformedURLException e) {System.out.println(e);}
catch (IOException e) {System.out.println(e);}
}
}
Nick Texidor wrote:
>Could be the Java Browser from Sun.. HotJava I think it's called.
>
>N
>
>
>
>
>At 5:11 PM -0700 6/11/01, Paul Smith wrote:
>
>>cgi.http_user_agent Java1.3.0
>>
>>What is Java1.3.0?
>>
>>best, paul
>>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists