beckerc 0 Newbie Poster

Hello folks,

We are converting a Jsp to a .Net application and I am having trouble finding what i would consider an simple thing. I need to get the url of the server an application is running on to append to the relative path of web resources like images.

In our jsp, we could use <%= request.getContextPath() %>/Images/ ...

and then when we deploy to any server, we do not need to change the code. Currently, i have to resort to fully qualified paths that need to change from server to server.

I have been looking through the namespaces to find a function, but thought someone might know this off the top of the head and get me going on the right path (bad joke) ...

thanks in advance