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
Here's the page that displays search results;
Here is the findContact Method:
--<br />SCJP 5.0
Joined: Jun 24, 2008
ok..Here's an update.The callback method in contact,jsp was being called with an incorrect name..
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...