jsp中出现空指针,怎么解决?
报错:Anerroroccurredatline:27inthejspfile:/dologin.jspUnreachablecode24:session.invalid...
报错:
An error occurred at line: 27 in the jsp file: /dologin.jsp
Unreachable code
24: session.invalidate();
25: response.sendRedirect("index.jsp");
26: return;
27: }%>
28: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29: <html>
30: <head> 展开
An error occurred at line: 27 in the jsp file: /dologin.jsp
Unreachable code
24: session.invalidate();
25: response.sendRedirect("index.jsp");
26: return;
27: }%>
28: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29: <html>
30: <head> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询