1. 程式人生 > >網頁圖示/images/favicon.ico" type="image/x-icon" />

網頁圖示/images/favicon.ico" type="image/x-icon" />

<%@ page language="java" pageEncoding="GBK"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>   
    <title>測試網頁圖示</title>
 <link rel="icon" href="<%=path %>/images/favicon.ico"  type="image/x-icon" />
 <link rel="shortcut icon" href="<%=path %>/images/favicon.ico"  type="image/x-icon" />
  </head>
  <body>
    網頁圖示
  </body>
</html>