tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Wilmoth <>
Subject Re: Dynamic form-login-page?
Date Thu, 28 Jun 2007 05:01:35 GMT
I have run this through the Struts mailing lists and am hoping for a change/solution.  Without
digging through the servlet spec myself can I ask if the Tomcat implementation is the expected
behavior (i.e. no processing of filters on container managed authentication redirects)?  Or
is it just not specified and left up to the container implementation?

Is it worth while opening a bugzilla entry for a configurable Tomcat implementation that wouldn't
require a servlet?

----- Original Message ----
From: Christopher Schultz <>
To: Tomcat Users List <>
Sent: Wednesday, June 27, 2007 6:03:26 AM
Subject: Re: Dynamic form-login-page?

Hash: SHA1


Jon Wilmoth wrote:
> Unfortunately it looks like the Struts 2 architectural change is the 
> culprit after all.

That's an interesting side-effect of switching from a servlet to a filter.

> This is a major bummer to say the least.  I'm not sure if the tomcat
> implementation of the servlet spec is flawed, if there's a gap in the
> servlet spec or what. I am surprised I'm the first S2 user to run
> into this.  I'd GREATLY appreciate if one of the Tomcat developers
> monitoring this list could comment on the current implementation of
> ApplicationDispatcher.invoke and possibly suggest a workaround.

I might take this question (back?) to the struts-users list and ask if
anyone has successfully done this on servers other than Tomcat. You're
kind of in a Tomcat ghetto, here.

> For example would it be feasible to plug-in a subclass of 
> org.apache.catalina.core.ApplicationDispatcher that had an invoke 
> method that always executed the filter chain even if the servlet was 
> null?

I think a better idea might be to see if you can re-create the
ActionServlet in struts and use that for selected URL patterns --
essentially going back to old behavior. I wouldn't be surprised if the
ActionServlet still exists in some form in struts.

- -chris

Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla -


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message