add ajax form and servlet-like form