HTTP Status 500 - Internal Server Error type Exception report messageInternal Server Error descriptionThe server encountered an internal error that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: java.lang.NullPointerException root cause java.lang.NullPointerException note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.1.1 logs. GlassFish Server Open Source Edition 4.1.1
<% String uname=request.getParameter("username"); String pwd=request.getParameter("password"); if(uname.equals("aksa") && pwd.equals("7788")) { String redirect = "admin.jsp"; response.sendRedirect(redirect); } else { out.println("username or password is incorrect"); } %>
java.lang.NullPointerException
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)