This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I tried to work with DWR with struts ,as per the integration shown at web page but still the config isn't working .Also didn't find any releavant example of struts with dwr using the struts creator .. My config goes like:--
though when running it produces an error as 21:20:39,661 ERROR [DefaultCreatorManager] Error loading class for creator 'Stru tsCreator[submitData]'.
Please help me on the same ,or refer to an example of the same if there ...
I've used DWR extensively in Struts appliactions, and frankly I never found any use for the Struts creator. It just offers you the ability to use AJAX to call methods on your ActionForm bean. Since Struts tags already have access to the ActionForm bean, why do you need AJAX access to it? I'd suggest using the "new" creator, and just use a Plain Old Java Object (POJO) with methods that DWR can call through AJAX to do whatever it is you need to do.