A plain old servlet filter will do the trick afaik. If you want Wicket (>=1.5) specific code, RequestCycleListener's are your best bet.
Martijn On Mon, Sep 17, 2012 at 3:59 PM, eugenebalt <eugeneb...@yahoo.com> wrote: > In Wicket, is there an easy way to override the doGet/doPost on every request > in order to add some common code that should fire on every request? I used > to know but forgot. > > The idea is to add some common code e.g. database transaction start/end for > the request scope. > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Catch-the-doGet-doPost-on-every-request-and-override-it-tp4652038.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > -- Become a Wicket expert, learn from the best: http://wicketinaction.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org