Struts example application uses:

<app:checkLogon/>

in the JSPs to force the user to go to login screen. Check that.

-Nimmi

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 3:25 PM
To: [EMAIL PROTECTED]
Subject: Initial security check




Hi everyone.

Just a quick, somewhat newbie, question.  I need to sometimes require a login,
depending on the user, when the user first enters the web app.  I am thinking I
should make the first "page" an action which will check to see if the user
requires a log in, and redirect them to that page if necessary, else the app's
first page.

Is this appropriate?  Should it be the controller which handles this, or
delegates it to an action according to good MVC Model 2 design?

Thanks,

Dave


Reply via email to