code: public static Url getBaseUrl(final Class<? extends Page> pageClass,
  		final PageParameters parameters)
  	{
  		return RequestCycle.get().mapUrlFor(pageClass, parameters);
  	}
docs: Gets the base url.
  
  @param pageClass
  the page class
  @param parameters
  the parameters
  @return the base url