Hi Tim -

You can @Inject RequestGlobals and then call getHTTPServletRequest() from it.

Adam

On Wed, May 4, 2011 at 2:06 PM, Tim Koop <t...@timkoop.com> wrote:
> I'm using some third party Java code that wants to call
> request.getRequestURL() where request is a
> javax.servlet.http.HttpServletRequest instance.  I know enough to put
>
>    @Inject
>    private org.apache.tapestry5.services.Request request;
>
> in my page Java file, but for some reason
> org.apache.tapestry5.services.Request doesn't contain the getRequestURL()
> method that javax.servlet.http.HttpServletRequest does.
>
> How can I get the requested URL of the page?  And I also need
> request.getQueryString().
>
> Thanks.
>
> p.s. I love Tapestry, and thank you very much to all the people who respond
> to this group answering our questions!
>
>
> --
> Tim Koop
> t...@timkoop.com <mailto:t...@timkoop.com>
> www.timkoop.com <http://www.timkoop.com>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to