Quoting Geeta Ramani <[EMAIL PROTECTED]>:

> Brad:
> 
> I looked at the API and noticed the RequestProcessor is a 1.1 feature.. Your
> solution seems nice and clear!  I only have one question for you though: How
> do you "connect" the subclass of RequestProcessor that you wrote with the
> struts ActionServlet..?  Do you have to subclass the ACtionServlet too and
> then join the dots there? How do you do that?   There is a " processor"
> method
> in ActionServlet which returns the processor..but I don't see a setProcessor
> method..?

This is done in your struts-config.xml file:

  <Controller processorClass="com.mycompany.mypackage.MyRequestProcessor"/>

so that each module (in a multi-module app) can have its own custom
RequestProcessor if need be.

See the documentation in the DTD file itself (lib/struts-config_1_1.dtd) for
documentation on all the things you can configure here.

Craig


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

Reply via email to