Never Mind you were right :)

Nathan Maves
Sun Microsystems


On Feb 17, 2004, at 12:08 PM, Nathan Maves wrote:


It does use a servlet that all request that match a filter are sent to. Are the filters called in the order that they appear in the web.xml file?

Nathan Maves
Sun Microsystems


On Feb 17, 2004, at 10:05 AM, Max Cooper wrote:


Nathan,

Struts actually uses a Servlet rather than a Filter. But you are right about
Filters in general -- requests can pass through as many filters as you have
configured. If you have both SecurityFilter and Struts in the same app,
SecurityFilter will always be called first (when the request URL matches the
url-patterns for both).


-Max

----- Original Message -----
From: "Nathan Maves" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 17, 2004 8:47 AM
Subject: SecurityFilter with Struts quick and easy question


I am looking into using SecurityFilter to handle all the authentication
for my app.


Since it uses filters, like sturts, how does the Struts action get
called?
Will the request pass through multiple servlet filters?
Should the authentication servlet filter be placed above the struts
filter?


Nathan Maves Sun Microsystems





---------------------------------------------------------------------- ------
----



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


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


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

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

Reply via email to