velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <antonio.petre...@gmail.com>
Subject Re: Previous URL
Date Fri, 18 Dec 2009 08:30:09 GMT
2009/12/18 Speed Commerce, Inc. <bruce.brown@speedcommerce.com>:
>
> Is there a way to determine the previous url (the referrer) in Velocity?

You can make a request-scoped tool that has a setRequest method:
public void setRequest(HttpServletRequest request)
and then you can determine the referrer.

Ciao
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message