If there is no other way ;-(

We just need to think about what happens if someone wants to use the
Bean Factory and the Component Tags. 

If the Components are considered a standard part of Struts, is there
anything we can do in the base ActionServlet with an option or a switch
to enable this? Or would that be too expensive for applications that
don't use the Components?

Cedric Dumoulin wrote:
>   Components extension use some Struts utility classes (BeanUtils, ...),
> and extends ActionServlet in order to override the call to
> requestDispatcher.forward().
>   Unfortunately, in the actual ActionServlet implementation, we can't
> override directly this call, so I have introduce a method
> "processForward(...)" which is called by "processActionForward(...)" and
> "processValidate(...)". I will commit this change in Struts. Like that,
> I will provide an "ComponentActionServlet(...) just overriding the
> appropriate method.
> 
>   So, to be short, Components just need to be able to override the call
> to forward() in ActionServlet().
> 
>   Cedric

Reply via email to