All you have to do is extend the RequestProcessor (or TilesRequestProcessor if you use tiles) and then specify it in the <controller> element of the struts-config.xml
<controller processorClass="myPackage.MyRequestProcessor"/> http://struts.apache.org/userGuide/configuration.html#controller_config I guess whether its a good idea or not depends on what you're doing. Niall ----- Original Message ----- From: "Leandro Melo" <[EMAIL PROTECTED]> To: "struts jakarta" <[EMAIL PROTECTED]> Sent: Sunday, August 15, 2004 6:06 PM Subject: Overwritting RequestProcessor, how to??? > Hi, > i'd like to overwirte RequestProcessor, but actually i > don't really know if it's a good idea. > > Here's the point: > I'd like to have one more action if my form.validate() > method fails on ActionForm. I'd like to do some > specific stuff everytime the validate method fails. > Then, i thought of overwritting the RequestProcessor. > > Is that a good idea, or there's another way to > accomplish what i want??? > > Regards, > ltcmelo > > > > > > _______________________________________________________ > Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/ > > --------------------------------------------------------------------- > 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]