On Tue, 03 Feb 2015 16:11:31 -0200, Sumanth <roasteddra...@gmail.com> wrote:

Hello Guys,

 I have a page which has a back button. I need to set the "URL" for this
back button dynamically depending on which page directed the user to this
page.

Is there any way of knowing from Which URL was i Redirected from in
Tapestry?

Have you tried getting the "Referer" HTTP header from Request?

@Inject
private Request request;

String url = request.getHeader("Referer");

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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

Reply via email to