//增加
public String addBj() throws Exception
{
bjManager.save(bj);
response.setContentType("text/html;charset=UTF-8");
response.setCharacterEncoding("UTF-8");//防止弹出的信息出现乱码
//以上2句代码一定要写在获取out对象之前,否则提示信息为乱码
PrintWriter ut = response.getWriter();
out.println("");
out.println("");
out.println("
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23390707/viewspace-673099/ ,如需转载,请注明出处,否则将追究法律责任。