On Wed, 24 Jul 2002, Steven J. Owens wrote:

> Date: Wed, 24 Jul 2002 19:35:37 -0400
> From: Steven J. Owens <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
>      [EMAIL PROTECTED]
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: determining URL selected prior to redirection for
>     j_security_ check?
>
> On Wed, Jul 24, 2002 at 04:12:06PM -0700, Stadter, Jim wrote:
> >   Thanks Steven - yes, you read the problem correctly re: secured
> > pages that are redirected to a login form and then sent back to the
> > original request.  I need to reread your suggestion closely to
> > make sure I'm following everything, but I think you've provided
> > a possible solution.  It sounds like I need to make sure I can
> > establish the servlet filter prior to having the container intercept
> > the request that originated from index.html.
>
>      Servlet filters are kind of like servlets themselves - you
> shouldn't have to "establish" them, they're just a class you put in
> the web app, and a configuration setting in the web.xml.  They're
> briefly described at:
>
>      http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html
>

In fact, filter instances have a lifecycle very similar to that of
servlets, complete with init() and destroy() methods and a single-instance
guarantee ...

> Steven J. Owens

Craig


> [EMAIL PROTECTED]
>
> "I'm going to make broad, sweeping generalizations and strong,
>  declarative statements, because otherwise I'll be here all night and
>  this document will be four times longer and much less fun to read.
>  Take it all with a grain of salt." - Me
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to