In my action classes I have code which checks to see if a user has logged
on. If not, the code forwards to the logon page (e.g.
servlet.findForward("logon")). However this doesn't fully accomplish what
I would like. If a user attempts to reference a page which requires a
login, I would like to forward to the login page and, once the user has
authenticated, proceed back to the page to which the user was going in the
first place. In other words, I would like to forward to the logon screen,
but give it a parameter which it uses to tell it which page follows the
logon. Can anyone suggest a simple way to accomplish this?
Thanks.