Not valid UTF8! byte B3 in state 0

2015-06-04 10:30:40.032:WARN:oejs.ServletHandler:/...../....X.jsp

org.eclipse.jetty.util.Utf8Appendable$NotUtf8Exception: Not valid UTF8! byte B3 in state 0

at org.eclipse.jetty.util.Utf8Appendable.appendByte(Utf8Appendable.java:178)

at org.eclipse.jetty.util.Utf8Appendable.append(Utf8Appendable.java:117)

at org.eclipse.jetty.http.HttpURI.toUtf8String(HttpURI.java:503)

at org.eclipse.jetty.http.HttpURI.getQuery(HttpURI.java:708)

at org.eclipse.jetty.server.Request.getQueryString(Request.java:884)

at javax.servlet.http.HttpServletRequestWrapper.getQueryString(HttpServletRequestWrapper.java:190)

.... 

环境1:IE8下访问  jetty服务器启动的web项目,出现异常;

环境2:google浏览器下访问  jetty服务器启动的web项目,正常;

 

原来是   请求 X.jsp时候传了中文的参数,去掉回复正常

 

-----其他情况

X.jsp  UTF-8格式

        

 

你可能感兴趣的:(byte)