[ale] JavaScript and server address

Christopher Fowler cfowler at outpostsentinel.com
Mon Jun 4 21:50:33 EDT 2007


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?





More information about the Ale mailing list