Re: Best way to forward to login, then re-forward to originally requested resource?

2002-05-29 Thread Charles Brault
This question seems to come up frequently, probably should be in a FAQ. Using Servlet Filters is one approach. If you are using Struts 1.1 (in 1.0.2 it's slightly different), and want to use a Struts approach, try the following. I have an application that requires everyone to log in and certai

RE: Best way to forward to login, then re-forward to originally requested resource?

2002-05-29 Thread Tero P Paananen
> Well, let's say for the sake of argument, that it's not > authentication we're talking about. Let's say, instead, > that in order to perform some Action B, > some other Action A must be done first. However, doing A does not > necessarily mean you'll do B next. What's the best way to > "rememb

RE: Best way to forward to login,then re-forward to originally requested resource?

2002-05-29 Thread Alex Paransky
Rick Mann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 1:02 AM To: Struts Users Mailing List Subject: Re: Best way to forward to login, then re-forward to originally requested resource? on 5/28/02 11:59 PM, Adam Hardy at [EMAIL PROTECTED] wrote: > I wouild save the form bean and a mapp

RE: Best way to forward to login,then re-forward to originally requested resource?

2002-05-28 Thread Alex Paransky
way to forward to login, then re-forward to originally requested resource? I've got a typical struts application up and running. Certain actions check to see if the user is logged in, and if not, forward to a login JSP. That JSP then posts to a LoginAction. The LoginAction then forwards ba