I am trying to implement Ajax in jsp using struts2. But I'm not getting, how to use AJAX in jsp(syntax). My requirement is to pass user input values (like name, age, gender etc.,)to the HTML table. When user click on submit button, user information should add to the table (in first row) dynamically. My HTML table and user form is in same page(.jsp). When user click on submit, action should call, page reload should not happen. Reply a soon as possible guys.