[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] JavaScript and server address



On Mon, 2007-06-04 at 20:41 -0400, James Sumners wrote:
> JavaScript is executed client side so it has no knowledge of the
> server that served it.

How does a Java Applet know where it came from?  I guess the JVM
downloads it from the server so it does know the source.  

Would it be possible in JavaScript to grab the URL out of the browser
and then cut the address from it?