We want to do something similar to the picture shown below:
- Create the UI web page with form inputs in it.
- Write a jsp/servlet/asp or any server side code that can send an XML response back after checking the input username
- Creating a web page with form inputs field is pretty simple, let's skip it.
- Server side code to check and send an XML response. (The server side code will take the input username from XHR, checks the name against the database and replies back with an XML response. The xml response for valid username will look like [xml]True [/xml] and the XML response for an invalid username will look like [xml] False [/xml]