• 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 - Not returning search results

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ranchers,

Recently, I have been assigned to a new project that requires knowledge of DWR/AJAX. AJAX is something I've never worked on. So to get started with things, I am working on this small application to get a feel of how DWR works. Basically, I've created an input form that stores user details (firstname, lastname email etc.) in an object. I then create a serach form to search for and display the data using the first name.
However, I see that the search results are not populated at all.. Here's the code fragments .Would really appreciate any pointers

Web.xml


DWR.xml


Here's the page that displays search results;



Here is the findContact Method:

 
Ishu Saxena
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok..Here's an update.The callback method in contact,jsp was being called with an incorrect name..

ContactDAO.findContact(filltable,firstname);
instead of

ContactDAO.findContact(fillTable,firstname);

I have alert statements after each line in the method..The call to 'ContactDAO.findContact(fillTable,firstname);' alerts with 'Error'. Also, running the program in debug mode, does not take the control to the findContact() method.So I am assuming that the method is not called at all...

Would appreciate any inputs..
 
reply
    Bookmark Topic Watch Topic
  • New Topic