I have small ajax problem related to cross domain as i see it.
On localmachine i created html example with some ajax: in registration text field user types \'username\',
You cannot use AJAX to read replies from other domains.
Your HTML must be on the same server (and same domain, port, and protocol) as the AJAX servlet.