----- Original Message ----- From: "Darryl Nortje" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, December 04, 2001 10:21 Subject: RE: Smart login page
> You have two pages A, and B. Flow goes from A to B. Inbetween going from A > to B you have a check to see if user is still logged on, if he is not > logged > on your controller servlet show the user the logon page, after success at > logon, the controller servlet knows that it must now show page B. Does this > make sense? Your logon page can be called from multiple parts within your > app. You got it. That's exactly the scenario I want to realize. BTW there was a typo in my message. Actually the question was: "HOW can I realize this?" Perhaps a solution could be passing the url of the requested page to the logon page as a request attribute, so that the logon action would know who to forward to. Anyway I'd like to know if there's a better/standard way to do this or if there's an example to refer to. > -----Original Message----- > From: Stefano Mancarella [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 04, 2001 10:12 AM > To: Struts Users Mailing List > Subject: Smart login page > > > I'm developing a web application with Struts and I'd like to realize the > following behavior. > When I load a page which requires the user to be logged in, I want to > invoke > a login page and, after a successful logon, forward back to the page I had > requested. > I can I realize this? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

