public static String toAbsolutePath(final String relativePagePath)
	{
		final HttpServletRequest req = (HttpServletRequest)((WebRequest)RequestCycle.get()
			.getRequest()).getContainerRequest();
		return RequestUtils.toAbsolutePath(req.getRequestURL().toString(), relativePagePath);
	}
public static String toAbsolutePath ( final String relativePagePath ) { final HttpServletRequest req = ( HttpServletRequest ) ( ( WebRequest ) RequestCycle . get ( ) . getRequest ( ) ) . getContainerRequest ( ) ; return RequestUtils . toAbsolutePath ( req . getRequestURL ( ) . toString ( ) , relativePagePath ) ; }
Helper method for the migration from wicket-version 1.5.x to 6.x.

@param relativePagePath
the relative page path
@return the string