Microsoft's HTC does not execute.

Source: Internet
Author: User

The unit has a system with a table that can adjust the column width of the table. However, after porting the function, colleagues found that all resources exist, but the row and column width are not adjusted, after some research, I found that this table was used

Style = "behavior: URL (JS/grid. HTC);">

After studying this file, I found that the HTML component is an old Microsoft technology, basically similar to JS, and the problem is that it does not work. Very depressed, I thought it was a garbled problem, but after verification, I found that WebLogic did not parse garbled code. In the end, I did not return without success, so this was put on hold.

Later, when I accidentally checked the Web. XML, I found that the HTC format was set in the normal execution. Crash ..

<Mime-mapping> <extension> HTC </extension> <mime-type> text/X-component </mime-type> </mime-mapping>

You can immediately set the Web. xml of a project that cannot be run and use it immediately.

Close-up records of this Article for future queries, and those who encounter this problem can reduce the chance of detours.

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.