在jsp页头中常常看到下面部分:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html><head>
<title>无标题文档</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<script src="js/style.js"></script>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
对其中的<!-- -->部分,在html下是当做注释部分,在jsp页面中在服务器端是可以运行的部分。没明白为什么非要设计成这样呢?