The moose likes Struts and the fly likes Struts with Ajax (DWR) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts with Ajax (DWR)" Watch "Struts with Ajax (DWR)" New topic

Struts with Ajax (DWR)

Amit Athavale

Joined: Mar 31, 2003
Posts: 29
I am trying to use Ajax (DWR framework) within Struts Framework.
Per DWR Documentation, they have added StrutsCreator in current version to support struts framework. I just do not know how to use / integrate it. I am new to AJAX. Can anyone please help me out.

When I try to make a dwr call on jsp, I get javascript error [object error] and on the console I can see error - error SEVERE: No converter found for org.apache.struts.action.ActionServletWrapper.

Please help!
Mohit Jhawar

Joined: Dec 07, 2005
Posts: 1
the error message is because you are using an object as data in your javascript calls and not specifying converter for it in dwr.xml. You have to use a converter to tell dwr that what your POJO is composed of.

I agree. Here's the link:
subject: Struts with Ajax (DWR)
It's not a secret anymore!