CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   ASP (http://www.codingforums.com/forumdisplay.php?f=8)
-   -   How to connect to default folder in ASP (http://www.codingforums.com/showthread.php?t=472)

krnaveen 06-21-2002 06:55 AM

How to connect to default folder in ASP
 
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.

:)


All times are GMT +1. The time now is 07:19 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.