physical location of the Web page?

Discussion in 'ASP .Net' started by Ric Pullen, Jan 20, 2004.

  1. Ric Pullen

    Ric Pullen Guest

    Is it possible to find the physical location of the web page within code?

    I need to load up a report (not embebded in the application) via
    a filename and i know that the file resides in one directory below the web
    page. Therefore rather than hard code the full path i want to derive it
    from the webpage.

    Ric Pullen, Jan 20, 2004
    1. Advertisements

  2. Ric,

    Check out "Server.MapPath"


    S. Justin Gengo, MCP
    Web Developer / Programmer

    Free code library at:

    "Out of chaos comes order."
    S. Justin Gengo, Jan 20, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.