Hi Shogo,

Good point...

Jon.

-----Original Message-----
From: Gregor Rayman [mailto:[EMAIL PROTECTED]]
Sent: 22 May 2001 11:59
To: [EMAIL PROTECTED]
Subject: Re: Where's the best place to do authentication


"Jon.Ridgway" <[EMAIL PROTECTED]> writes:

> Hi Shogo,
>
> Have a look at the 'example' webapp provided with struts, this uses a
taglib
> to check the user is logged on, I'm sure you could use/amend it to fit
your
> purpose.
>
> Jon.

I am not very happy with taglibs checking for logged in user. Taglibs can be
used
only in JSP and JSP should implement the View part of the MVC pattern.
Authenticating users is bussiness logic and so it shoud be done somewhere in
the actions.

--
gR

Reply via email to