You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tiles.apache.org by bessette <Be...@pokemon-seattle.com> on 2007/09/20 22:19:57 UTC

Get url in ViewPreparer?

I'm creating a view preparer and I need to get the url from the
TilesRequestContext, but I can't figure it out.  Can some one please explain
how I can do this?

I'm using Spring if that helps.

Thanks,
Eric
-- 
View this message in context: http://www.nabble.com/Get-url-in-ViewPreparer--tf4489863.html#a12804985
Sent from the tiles users mailing list archive at Nabble.com.


Re: Get url in ViewPreparer?

Posted by Antonio Petrelli <an...@gmail.com>.
2007/9/24, bessette <Be...@pokemon-seattle.com>:
>
>
> I tried that and got null.



Really strange. Do you mean that the result of "getRequestURI" is null? Or
is it something else null?

Antonio

Re: Get url in ViewPreparer?

Posted by bessette <Be...@pokemon-seattle.com>.
I tried that and got null.

Thanks,
Eric
-- 
View this message in context: http://www.nabble.com/Get-url-in-ViewPreparer--tf4489863.html#a12861014
Sent from the tiles users mailing list archive at Nabble.com.


Re: Get url in ViewPreparer?

Posted by Antonio Petrelli <an...@gmail.com>.
2007/9/20, bessette <Be...@pokemon-seattle.com>:
>
>
> I'm creating a view preparer and I need to get the url from the
> TilesRequestContext, but I can't figure it out.  Can some one please
> explain
> how I can do this?



((HttpServletRequest) tilesRequestContext.getRequest()).getRequestURI();

Antonio