Get the App
SLTechnology News&Howtos  ›  Development  › 

Why plain text is displayed when accessing Java applets

Shulou Source: shulou.com Published: 2022-06-02 04:02:02 11月15日 Update

This article will explain in detail why when you visit Java applets, the text is displayed in plain text, and the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.

Apache 1.2 or later uses the HTTP/1.1 transport protocol, which is contained in the header of the response message after the client sends a request. Unfortunately, some of the underlying web access class classes, including JDK1.0.2, respond only to the HTTP/1.0 protocol, so there is no way to correctly analyze the header from the Apache server, so the document content is returned incorrectly.

Resolve:

1. This error has been fixed in JDK1.1, please use JDK1.1 above.

two。 Ask Apache to forge a HTTP/1.0 response in response to a request from JDK. Modify the configuration file of Apache by adding the following:

BrowserMatch Java1.0 force-response-1.0

BrowserMatch JDK/1.0 force-response-1.

On why to visit the Java applets display is plain text to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Content information text time display header article more version knowledge article error good unfortunate method customer client underlying file document time Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple NVidia Microsoft OPPO Reno Shulou Technology