String url="addno";
TbContact TbContact = (TbContact) form;
TbContact.setTbGroup(new TbGroup(Integer.parseInt(request.getParameter("groupNo"))));
//System.out.println(request.getParameter("groupNo"));
TbContact.setTbUsers((TbUsers)(request.getSession().getAttribute("user")));
if(new TbContactDAO().attachDirty(TbContact))
{
url="addok";
}
return mapping.findForward(url);
}