public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException
{
HttpSession session = req.getSession(false);
LoginBean lb = (LoginBean)session.getAttribute("login");
String accno = lb.getUsername();
try
{
RegesterBean rb = new RegesterBean();
rb = new UserDetailService().getUsrAccno(accno);
session.setAttribute("usrkey", rb);
RequestDispatcher view = req.getRequestDispatcher("userdetail.jsp");
view.forward(req, resp);
}
catch (SQLException e)
{
e.printStackTrace();
}
}