During the two days of Project release to the server, we suddenly found that the top referenced by <JSP: Include page = "" Flush = "true"/> was used at the top. in JSP, a line is added inexplicably, and then checkCodeAnd I didn't find any additional code. Then I started to try it,
The first attempt to delete the dynamic code at the top is invalid.
In the second attempt, the CSS and JS Code at the top is still invalid.
The third attempt was to delete all the code, which was still invalid. Instead, there were several more garbled characters.
In the fourth attempt, the JSP: Include Code in index. jsp was deleted and no space was found.
Thinking: the problem must be in top. jsp. Why? Will it be a coding problem?
In the fifth attempt, the JSP is saved as another ANSI code, and the blank space disappears.
Think: If the encoding problem is true, because index. JSP and top. JSP uses UTF-8 encoding, so I use editeplus to create a new file, put top. JSP code copied to the new file, and then remove the first and tail lines in the format, and then turn the tab into a space, save as UTF-8 format, the problem solved !!!!!
Hey, the encoding problem is really a big problem !!!!