In my app im using JSP as view,servlet as controller,hibernate as model..
in that app jsp pages im have to fill form while creating new user with fields like username and all.
now i want to use AJAX code to check if username name with entered name in form is already there in the database or not…
can any1 guide me how to write coding for this as well as the control flow..
i have googled but didnt got any idea how to do this requirement..
thanks in advance
In Jsp
in Servlet