Got it

What is Compatibility View

287 0 7 0 0

1.1 What is Compatibility View


Compatibility view is a practical function added by Microsoft for IE8 in order to be compatible with websites based on other webpage standards and to ensure that the vast number of Internet users do not suffer from confusion when browsing webpages. When IE8 detects that a website is incompatible, the compatibility View button appears on the right side of the address bar. With a little click, most pages will display normally. IE9 and above also have this function.


1.2 Description of Content-Type in REST Interface Background Response


The current environment is set up in support MediaTypes in om-context.xml


We use Spring MVC, so even if you set the response header information using the response object in the controller layer, it's useless, because if you identify the @Responsebody annotation, Spring automatically determines whether you want to convert the return value to a view object based on the type of your return value (depending on the configuration of your Spring MVC, generally json).


Content-type is used to define how the user's browser or related device displays the data to be loaded, or how to process the data to be loaded. The value of this property can see the MIME type. MIME (Multipurpose Internet Mail Extensions, Multipurpose Internet Mail Extensions) is an Internet standard for describing the type of message content. MIME messages can contain text, images, audio, video and other application-specific data.


Some of the most frequently used MIME types are:


Text/html (HTML document)


Text/plain (plain text)


Text/css (CSS Style Sheet)


Image/gif (GIF image)


Image/jpeg (JPG image)


Application/x-javascript (JavaScript script)


Application/x-shockwave-flash (Flash)


Application/x-www-form-urlencoded (forms submitted using the POST method of HTTP)


Multipartition/form-data (ibid., but mainly used in the case of file upload accompanied by form submission)

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.