Re: Getting server-url ?
On Tue, 2009-11-17 at 14:34 +, Peter Arnulf Lustig wrote: Hi, how can I get the server-url on which the wicket application is running? like http://www.serverurl.com/WicketApp/ it should return http://www.serverurl.com ((WebRequest)
Re: Getting server-url ?
Martin Grigorov schrieb: it should return http://www.serverurl.com ((WebRequest) getRequest()).getHttpServletRequest().getServerHost() or something like that pass the httpServletRequest to public static StringBuffer getContextUrl(final HttpServletRequest req) { String