} catch (Exception ex) {
des = ex.getMessage();
status = Boolean.valueOf(false);
}
ProductsRs rs = new ProductsRs();
if (status.booleanValue())
rs.setCode("0");
else {
rs.setCode("1");
}
rs.setMessage(des);
rs.setLstProduct(lstProduct);
Gson gson = new Gson();
resp.getWriter().println(gson.toJson(rs));
}