Fórumok

Struts JSR286 Dispatcher for event handling

thumbnail
Ankur Srivastava, módosítva 12 év-val korábban

Struts JSR286 Dispatcher for event handling

Junior Member Bejegyzések: 58 Csatlakozás dátuma: 2008.11.09. Legújabb bejegyzések
Has anyone been able to use the struts 286dispatcher Portlet class to handle events. Kindly share any specific configuration that you did.

When I try to process an event in a struts 2 application the namespace is coming as blank and the application throws an exception.
Sneha Shah, módosítva 11 év-val korábban

RE: Struts JSR286 Dispatcher for event handling

New Member Bejegyzések: 4 Csatlakozás dátuma: 2012.10.02. Legújabb bejegyzések
I have this partially working.
We have two classes :
Class A - extending the DefaultActionSupport where the actions are implemented
Class B - extending JSR286Dispatcher where the event handling code resides.
So, when an action occurs and message is on the queue(javax.xml.namespace.QName), the method 'processEvent' on class B gets invoked which then invokes the action method on Class A. The only problem is the UI doesnt reflect the change.

Any help is appreciated.