Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

WebUtils.GetAppRelativePath Method

Gets the application-relative virtual path portion of the given absolute URL.

[Visual Basic]
Public Shared Sub GetAppRelativePath( _
   ByVal url As String _
)
[C#]
public static string GetAppRelativePath(
   string url
);

Parameters

url
the absolute url

Return Value

the url relative to the current application's virtual path

See Also

WebUtils Class | Spring.Util Namespace