You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Antony <u8...@mis.nccu.edu.tw> on 2002/04/03 08:31:09 UTC

Re: Extension issues

Cedric Dumoulin wrote:

>  Hello,
>
>  It is something that Struts have to improve. The new "plugin" capabilities is
>the first step, but doesn't solve everything yet.
>
>  What you can do is to provide your own ActionServlet implementation combining
>features from the extensions you need.
>  Extend one of the actionServlet (the more complicated one ;-) ), and add
>missing stuff from others.
>  From Tiles and Struts1.0, you need to pick up the init method, and catch any
>call to RequestDispatcher.include() and RequestDispatcher.forward(). Check Tiles
>servlet implementation : processActionForward() and processValidate() are copies
>of original Struts implementation, except the call to include which is modify to
>a call to a new method processForward().
>  If you use Struts1.1, you need to provide a RequestProcessor. Here again, check
>code from the needed extensions. Tiles simply override methods doInclude() and
>doForward().
>
>   Hope this help,
>
>    Cedric
>
Thanks. That would be a lot of work though;-)

Antony

>
>
>
>
>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>