Sagar Dumbre wrote:i know you are talking about MVC but my org. forced me to do whole processing in one JSP page so cant help it.
If can't believe why the organization(I believe you refer your manager/lead as organization?) don't wan't to get into good practices...
If what you said is correct, then it might well be a good option, to spend some time on Naukri or Monster..
EDIT: i just saw your code, you are returning the whole input tag element only as the AJAX response..
Define the input tags in JSP and just return the values as AJAX response, and use the getElementById('').value to set the AJAX responses to the appropriate fields..