File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Struts with Ajax (DWR)

Amit Athavale
Greenhorn

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 -
uk.ltd.getahead.dwr.util.CommonsLoggingOutput error SEVERE: No converter found for org.apache.struts.action.ActionServletWrapper.

Please help!
Mohit Jhawar
Greenhorn

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.


hth
mohit
 
jQuery in Action, 2nd edition
 
subject: Struts with Ajax (DWR)
 
Similar Threads
DWR (Ajax) with struts
Getting the javascript object(created in browser) as part of httservletrequest?
Progress Bar Issue in JSP
correct Ajax script syntax for second DropDown
Calling a Java function from a href tag