How to make Table on jsp by parsing a string of records
Posted on 2009-02-17
i want to make ajax call on click of a icon,such that it calls a struts action in background which hits the db and fetches the records from a oracle DB in a map or list. now i want to populate a div on the same jsp where the icon was with the records shown in a tabular form. this all has to be done without reloading the complete page.such that when user clicks the icon a div comes up and the controls on rest of the page becomes un acessible. the query result can have n number of records to be displayed.i need this solution urgently.please provide with some sample code or examples.also i cudnt use ant third part frameworks like json,dojo.please help me in this.