Tag Archives: ENCODING

org.apache.jasper.JasperException: Unsupported encoding:

org.apache.jasper .JasperException: Unsupported encoding: 

org.apache.jasper . compiler.DefaultErrorHandler.jspError ( DefaultErrorHandler.java:51 )

org.apache.jasper . compiler.ErrorDispatcher.dispatch ( ErrorDispatcher.java:409 )

org.apache.jasper . compiler.ErrorDispatcher.jspError ( ErrorDispatcher.java:116 )

org.apache.jasper . compiler.JspUtil.getReader ( JspUtil.java:1093 )

org.apache.jasper . compiler.ParserController.doParse ( ParserController.java:250 )

The reason for throwing this exception is that there is a problem in the encoding settings of the JSP page

<%@ page language=”java” import=” java.util .*” pageEncoding=””%>

Here, the value of pageencoding is empty, which cannot be recognized by the server. Even if there is one more space, the server will not recognize it.

& lt;% @ page contenttype = “text/HTML; charset = GB2312″% & gt; the charset here has an extra space, so this exception should be thrown.

Solve the ‘UTF-8’ codec can’t decode byte 0xe9 in position 3114: invalid continuation byte error

Today, when using Python to open a file, the following error was reported:

the code is as follows:

movies = pd.read_table('../../dataset/ml-1m/movies.dat', sep='::', header=None, engine='python', encoding='utf-8').to_numpy()

Solution:
change the code to: iso-8859-1 just

movies = pd.read_table('../../dataset/ml-1m/movies.dat', sep='::', header=None, engine='python', encoding='ISO-8859-1').to_numpy()

Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING

error message:

Failed to load resource: net::ERR_INCOMPLETE_CHUNKED_ENCODING

environmental phenomena

chrome

chrome browser, the previous access to the interface is what, access to the error of this url, the interface is still what looks like, but does not respond to mouse and keyboard events!
press F12 to open the debug window. An error message appears:

IE compatible kernel

IE compatible kernel browser, after opening the interface is blank, press F12, open the debugging window, display the following content:

error cause:

online search, there are articles mentioned is response.close, response.end and so on caused, but I visited the JSP page, how can it be related to this!

based on this page on another problem occurred “HTTP Status 500 – /online.jsp (line: 495, column: 2) File [/foot.jsp] not found” opened the JSP page code analysis, found the problem:
actually USES JSP :include

<jsp:include flush="true" page="/head.jsp" ></jsp:include>

The

head.jsp file does not exist, which results in this problem!

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
PS: mice no girlfriend particularly depressed, finally a bat agreed to marry him, the mouse is very happy. Others laugh him to have no vision, mouse: you understand what, she somehow is a stewardess.