• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

DWR with Struts....

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ...

thanks in advance ...
Gaurav
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Gaurav Rawat
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Merrill ...just wasted a long time pondering how to use the strutscreator ,ya rightly said it makes more sense to work arounf a POJo and implement ajax,....

cheers !
 
reply
    Bookmark Topic Watch Topic
  • New Topic