i had started tomcat in eclipse and mysql in navicat and run the code the web page was successful but when i request to server it ran into an error called "htttp status 500".Where is the problem in code ?
java.lang.NullPointerException
com.AI.Dao.AdminDaoimpl.adminLogin(AdminDaoimpl.java:24)
com.AI.Servlet.AdminServlet.doPost(AdminServlet.java:76)
javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)