View Full Version : How to connect to default folder in ASP

06-21-2002, 06:55 AM
Can any of my friends help me get rid of this. I have a line of code as to activate an ASP page:
-- http://localhost/xyz/something.asp
This works fine but like in JSP or Servlets we write:
to connect to the default folder. This isn't working in ASP.
What is the ASP equivalent of it?

06-21-2002, 12:07 PM
If you meant referencing the application virtual root, simply use:




For example, using:

<a href="/xyz/something.asp">Click me</a>

is the same as:

<a href="http://localhost/xyz/something.asp">Click me</a> :D

06-22-2002, 02:13 AM
If you're talking about how to SET the default page IN your default website folder, that's done in IIS settings.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum