String id=new String(request.getParameter("id").getBytes("ISO8859-1"),"UTF-8");
String name=request.getParameter("name");
float price=Float.parseFloat(request.getParameter("price"));
Product pro=new Product();
ProductDao pd=new ProductDao();
pro.setId(id);
pro.setName(name);
pro.setPrice(price);
pro.setShangjia(true);
pd.save(pro);
List<Product> list=pd.findAll();
PrintWriter out=response.getWriter();
out.print("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
out.print("<product>");
for(Product p:list){