Why is it plain text displayed when accessing Javaapplets?

Source: Internet
Author: User
Article Title: Why is it plain text displayed when accessing Javaapplets. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Apache 1.2 and later versions use the HTTP/1.1 transmission protocol. This information is contained in the header of the response message after the client sends a request. Unfortunately, some underlying web access classes, including JDK1.0.2, only respond to the HTTP/1.0 Protocol. Therefore, there is no way to correctly analyze the information header sent from the Apache server, therefore, the document content is returned incorrectly.
?? Solution:
1. this error has been fixed in JDK. use JDK or later.
2. make Apache forge an HTTP/1.0 response when responding to a request from JDK. Modify the Apache configuration file and add the following content:
BrowserMatch Java1.0 force-response-1.0
BrowserMatch JDK/1.0 force-response-1.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.