WebApplicationContext ctx=RequestContextUtils.getWebApplicationContext(request);
StudentDAO sd=(StudentDAO)ctx.getBean("studentdao");
Student ss=sd.findById(6);
StudentDAO sd=(StudentDAO)ctx.getBean("studentdao");
Student ss=sd.findById(6);