...

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



krnaveen
06-21-2002, 06:55 AM
Hi!,
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:
../xyz/soemthing.jsp
to connect to the default folder. This isn't working in ASP.
What is the ASP equivalent of it?
Thanks.
-Navin.

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

/virtualdir/whatever.asp

or

/virtualdir/subdir/whatever.asp

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

whammy
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