Although you haven't specified the TilesRequestProcessor in the <controller>
element the TilesPlugin automatically changes it to TilesRequestProcessor.

If you do however specify your own custom RequestProcessor in the
<controller> element and you use tiles then if it doesn't extend
TilesRequestProcessor then the TilesPlugin will throw an exception.

So, in short,  you are using TilesRequestProcessor and your custom version
needs to extend that one.

Niall

----- Original Message ----- 
From: "Leandro Melo" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, August 16, 2004 3:38 AM
Subject: Re: Overwritting RequestProcessor, how to???


> Niall,
> i actually use tiles, but does it mean that the
> requestProcessor i'm using is the Tiles one.
> In my struts-config.xml i got this for the
> configuration part.
>
>  <controller />
>
> So, i guess i'm using default's RequestProcessor, wich
> is struts RequestProcessor, am i right?
>
>
>  --- Niall Pemberton
> <[EMAIL PROTECTED]> escreveu:
> > 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]
> >
> >
>
> =====
>
>
>
>
>
>
> _______________________________________________________
> 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]

Reply via email to