Re: Get working URL

2008-04-17 Thread Mathias P.W Nilsson

Thanks Igor

((WebRequest)
getRequest()).getHttpServletRequest().getRequestURL().toString() did the
trick!


-- 
View this message in context: 
http://www.nabble.com/Get-working-URL-tp16758219p16758760.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Get working URL

2008-04-17 Thread Igor Vaynberg
you can reconstruct the url from the bits in httpservletrequest

((webrequest)getrequest()).gethttpservletrequest()

-igor


On Thu, Apr 17, 2008 at 5:12 PM, Mathias P.W Nilsson
<[EMAIL PROTECTED]> wrote:
>
>  Hi!
>
>  Is there any way that I can get the the current URL from my wicket
>  application.
>
>  the getServletContext() let me get the real path but I want the url.
>
>  like http://localhost/myapplication/...
>
>
>
>  --
>  View this message in context: 
> http://www.nabble.com/Get-working-URL-tp16758219p16758219.html
>  Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
>  -
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Get working URL

2008-04-17 Thread Mathias P.W Nilsson

Hi!

Is there any way that I can get the the current URL from my wicket
application.

the getServletContext() let me get the real path but I want the url.

like http://localhost/myapplication/...



-- 
View this message in context: 
http://www.nabble.com/Get-working-URL-tp16758219p16758219.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]