Actually I would like to extend the RequestProcessor class (let's say MyOwnRequestProcessor inheriting from RequestProcessor) and override the preProcess() method to embed some security related code. I was wondering how would I let STRUTS framework know that MyOwnRequestProcessor should be called instead of the standard STRUTS RequestProcessor. My ultimate aim is to guarantee that the piece of code I embed in the preProcess() method should definitely be executed for every request. Please bear with me if I am making no sense as I am still in the process of getting good idea on STRUTS.
Regards Sreekant G "Andrew Hill" <[EMAIL PROTECTED] To: "Struts Users Mailing List" <[EMAIL PROTECTED]> idnode.com> cc: Subject: RE: SubClass RequestProcessor or Action class 09/01/2003 11:30 AM Please respond to "Struts Users Mailing List" This is a joke right? ...Friday is well and truly over mate. Its Monday now. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, 1 September 2003 12:03 To: [EMAIL PROTECTED] Subject: SubClass RequestProcessor or Action class HI All, As a general practice all the application action classes are inherited from org.apache.struts.action.Action class. What are the Pro's and Con's of inheriting the application action classes from org.apache.struts.action.RequestProcessor class instead ? Regards Sreekant G --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
This mail was scanned by Interscan Virus Wall of Mailserver at Cathedral Road TCS Chennai
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]