![]() |
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. |
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 |
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.