You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by eugenebalt <eu...@yahoo.com> on 2011/01/04 18:38:48 UTC

Get Request URL (prior to "/?Wicket" query)

I need to get the main Request URL in Wicket, up to the /?Wicket...
substring.


(I tried 
RequestCycle.get().getRequest().getURL() <- that returns the /?Wicket string
that I don't want)

Thanks


-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Get-Request-URL-prior-to-Wicket-query-tp3174002p3174002.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Get Request URL (prior to "/?Wicket" query)

Posted by eugenebalt <eu...@yahoo.com>.
Already found the answer...

RequestUtils.toAbsolutePath(RequestCycle.get().getRequest().getURL())



-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Get-Request-URL-prior-to-Wicket-query-tp3174002p3174137.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org