If there was a search application which sends search query in GET ajax request and process through servlet to check for query in database.
I\'m facing lot of discrepancy