* @throws IOException if an I/O error occurs
*/
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
Information infor = new Information();
String message = "";
String name = request.getParameter("name");
if(""==name)name=null;
String age = request.getParameter("age");
if(""==age)age=null;
String mail = request.getParameter("mail");
if(""==mail)mail=null;
String country = request.getParameter("country");
if(""==country)country=null;
String state = request.getParameter("state");
if(""==state)state=null;
String city = request.getParameter("city");
if(""==city)city=null;
String salary = request.getParameter("salary");
if(""==salary)salary=null;
String birthday=request.getParameter("birthday");
if(""==birthday)birthday=null;
infor.setName(name);
if(null!=age)
infor.setAge(Integer.parseInt(age));
infor.setMail(mail);
infor.setAddress(new Address(country, state, city));
if(null!=salary)
infor.setSalary(Integer.parseInt(salary));
infor.setBirthday(birthday);
int violationSize = 0;
ValidatorFactory vf = null;
Validator validator = null;