return "/classifyAddResult";
}
public String insertNewClassify()
{
Treemenu bigTreeMenu = new Treemenu();
bigTreeMenu.setChildnode(1);
bigTreeMenu.setFathernode(0);
bigTreeMenu.setNodename(newBigClassify);
bigTreeMenu.setUser(user);
DBOperate.save(bigTreeMenu);
Treemenu smallTreeMenu = new Treemenu();
smallTreeMenu.setChildnode(0);
smallTreeMenu.setFathernode(bigTreeMenu.getNodeid());
smallTreeMenu.setNodename(newSmallClassify);
System.out.println("newBigClassify value:"+newBigClassify);
System.out.println("newSmallClassify value:"+newSmallClassify);
smallTreeMenu.setUser(user);
flag = DBOperate.save(smallTreeMenu);
return "/classifyAddResult";
}