logo

New Response

« Return to the main article

You are replying to:

    • avatar
    • Karl W.
    • Posted on Tue 21 Oct 2003

    Stan -

    If there is no way to get the server name in a web app, is there another way to get the URL for an element in an application.

    I have a frameset for a home page, with a frame that opens the first document in a view. Frame Type: URL Value: "http://server/db.nsf/viewname/$First?OpenDocument"

    Right now I'm hard coding the server name in the value, but it becomes a pain on the development and test servers to test anything. Also, if the production server name changes or the app is migrated to another server, I need to remember to change the reference.

    Is there another solution to accomplish the same task.

    Karl

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: