Hi In developing a server based program I use http://127.0.0.1 to refer the object sources , I know the �localhost� does smilar thing but im not sure. Can you all expose a little more about it ? Thank in advance Shay
'localhost' is like a java language keyword, only in networking.
localhost refers to the root of the webserver that is running on the machine in which you type 'localhost', most likely IIS. IIS, when it receives a request for an .asp page, will retrieve the file from the filesystem, run it through asp.dll, and then serve the results.
If you want a single word to refer to a place on your harddrive, then you need to investigate aliases. I know you can do this with Tomcat, iWS, etc... not sure of how to do the same in IIS.
Marilyn de Queiroz
Joined: Jul 22, 2000
It can be done in IIS. However it's kinda complicated and I don't have access to my IIS box right now. You need to create a "virtual directory". It's an IIS (or whatever server you are using) thing, not a Java thing.
[This message has been edited by Marilyn deQueiroz (edited September 21, 2001).]