Click to See Complete Forum and Search --> : PHYSICAL PATH OF APPLICATION using javascript


prabodh bansal
02-11-2007, 02:55 AM
Dear sir,
I have a querry in javascript .Plz help me solve it.

when i run the asp.net application and use this --> document.location.toString();
i get the following path.
http://localhost:8080/Modules/MarketingSales/Opportunity/Opportunity.aspx
My application is running from folder
d:/ ProFastCRM/ProFastCRM/Modules/MarketingSales/Opportunity/Opportunity.aspx
Can i get the physical path of the application

Thanks and regards
Prabodh bansal.

bathurst_guy
02-11-2007, 06:14 AM
You cannot get this using JavaScript. JavaScript is a client side script and you are looking to find the application path on the server. client side != server.