This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I will elaborate my question See i am calling function written in boilerplate from jsp page which is main page of our website then in boilerplate function i am making ajax call to servlet where i am firing sql query on database and record retrived are taken in json array which are back return to boilerplate where they are accessed in success function of ajax call.Now my problem is in success function of ajax whenever data is fetched from database i should get check box checked in short adding and updating information iwant to do from same form.
So a page makes an ajax request and the response is received, but I am not sure where the problem is.
Joined: Mar 30, 2011
My problem is in servlet and boilerplate.In servlet when i am getting value of particular field from database if that field value is yes then returning to boilerplate where checkbox is defined should get checked