Yeah, we probably should extract an interface out of the Dispatcher
class. For now, you can subclass Dispatcher and point Struts 2 to it by
subclassing the FilterDispatcher and override the createDispatcher method.
Don
Tarek Nabil wrote:
I've been going through the documentation and the source and trying to
understand the architecture of Struts 2.
In the documentation for the createDispatcher method in
FilterDispatcher, it says
<quote>Create a default [EMAIL PROTECTED] Dispatcher} that subclasses can
override
with a custom Dispatcher, if needed.</quote>
But when checking out the Dispatcher class, it seems that it does not
implement any interface. How can one go about implementing a different
Dispatcher if there's no defined interface? Or is there something that
I'm missing?
Thanks,
Tarek Nabil
********************************************DISCLAIMER********************************************
This email and any files transmitted with it are confidential and contain privileged or copyright
information. If you are not the intended recipient you must not copy, distribute or use this email
or the information contained in it for any purpose other than to notify us of
the receipt thereof.
If you have received this message in error, please notify the sender
immediately, and delete this
email from your system.
Please note that e-mails are susceptible to change.The sender shall not be
liable for the improper
or incomplete transmission of the information contained in this
communication,nor for any delay in
its receipt or damage to your system.The sender does not guarantee that this
material is free from
viruses or any other defects although due care has been taken to minimise the
risk.
**************************************************************************************************
---------------------------------------------------------------------
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]