博天堂AG旗舰厅


type Exception report

message An exception occurred processing JSP page /index.jsp at line 26

description The server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 26

23:   <body>
24:    <%
25:      String userAgent = request.getHeader("user-agent");
26:      if(userAgent.indexOf("Android") != -1){
27:          response.sendRedirect("mobileWeb");
28:      
29:      }else if(userAgent.indexOf("iPhone") != -1 || userAgent.indexOf("iPad") != -1){


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:575)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	cn.edu.hbcf.filter.XSSFilter.doFilter(XSSFilter.java:79)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

root cause

java.lang.NullPointerException
	org.apache.jsp.index_jsp._jspService(index_jsp.java:113)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	cn.edu.hbcf.filter.XSSFilter.doFilter(XSSFilter.java:79)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.70 logs.


博天堂AG旗舰厅

  • The Beacon Makati,25k/月招转租 | The Beacon Makati,25k/月招转租 | The Beacon Makati,25k/月招转租 | The Beacon Makati,25k/月招转租 | The Beacon Makati,25k/月招转租