fixed the Chinese character encoding problem by setting content-type to
utf-8 in jquery ajax and jsp pages.