Still another way is to do what Debassish suggest and then add the action listener classes in the way that Gary Geary suggests in his "Advanced Java Server Pages" book. In the book action events (nothing to do with JFC/Swing) are fired in the Preprocess and the Postprocess stages.
-- Peter Pilgrim | | ++44 (0)207-545-9923 .... \ \ ___ / / ... . - ---- ( * ) --- -- _____________________________Cafe_Savannah,_San Antonio,Ibiza__ ---------------------------------------- Message History ---------------------------------------- From: Debasish Ghosh <[EMAIL PROTECTED]> on 28/09/2001 14:54 MST Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: Authentication before struts what we have done is we have moved the authentication totally at the controller level. we have overridden the default implementation of processPreprocess() method of ActionServlet in a derived class and doing the authentication there. -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.