An example for servlet and ajax.