Alexander Klimetschek  wrote
> On Fri, Aug 6, 2010 at 08:10, Carsten Ziegeler <cziege...@apache.org> wrote:
>> What about a helper class (static methods) or a jsp taglib?
> 
> I was preferring them on the request, as you then don't need to pass
> the request and things get shorter. A jsp taglib can also only be used
> inside a jsp.
> 
Sure but you were talking about jsps in your proposal :)
Anyway, there are always a lot of useful functions one needs here or
there - adding all of them to the request interface just because it is a
little bit less to type does not sound like the best argument to me.
That's why I would put them in a helper class first - if they are used
by each and everyone in every script, then this might be a candidate to
add it to a more prominent place.

Carsten
-- 
Carsten Ziegeler
cziege...@apache.org

Reply via email to