velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Server-side redirect from VelocityTools?
Date Wed, 25 Jun 2008 17:08:01 GMT
Claude,

Claude Brisson wrote:
> My strategy about redirects is to map the templates that need them to an
> ActionServlet that overload VVS.mergeTemplate to use a string buffer.

Why not simply redirect before the view is evaluated? I don't really 
understand the use case, here. Shouldn't redirect logic be in the 
controller, not the view?

-chris



Mime
View raw message