problem in relative paths

India
August 30, 2011 2:22am CST
hi mylotters.i m finding some problem in my html page that i have created.the problem is explained as follows: there is a folder named A.folder A has got one html page named main_page and another folder named B.folder B has got an html page named abc that contains the link to main_page html file in folder A.the problem is that when i open the html page abc and click on the link to main_page...it does not open the main_page.its saying file not found. now probably the error is due to specifying relative path in hyperlink that directs back to main_page. according to me the error could be resolved by specifying the absolute path....but i dont know how to specify the absolute paths also i want that this html page should work in another computer also. please guide me through this problem if u can. heartful thanks to everyone and wish you a happy day ahead
1 response
@wmraul (2552)
• Bucharest, Romania
30 Aug 11
Your problem is local or on the web? If on the web, you have access to server to upload files? Do the server support php? Add friend so we an communicate easier ...
1 person likes this
• India
30 Aug 11
its local.my lapi is my client as well as server.i m working with IIS.there is no concern of php as i have not used it in my web pages.it consists of simple asp code
@wmraul (2552)
• Bucharest, Romania
30 Aug 11
I admit I have to decline this issue: me and asp we are parallel. But maybe this link may help you (see also right side links there) http://bytes.com/topic/asp-classic/answers/528333-how-get-absolute-path-within-asp-page