在GWT/GXT的項目中。GWT項目的HTML頁面
in project.html。
我加了favicon並改變了身體的顏色,並且還放了一張圖片。
但是,當我運行的Web項目。我不能看到身體顏色,圖標和圖像的變化。
我的web項目從登錄頁面開始,位於RootPanel的中心。
我想在HTML
添加圖像和Fevicon在我的測試頁面test.html的我可以顯示圖標和圖像。
GWT project.html
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>My Page</title>
<link rel="icon" type="image/png" href="fevicon.png" />
<link rel="stylesheet" type="text/css" href="gxt/css/gxt-all.css" />
<link rel="stylesheet" type="text/css" href="project.css" />
</head>
<body style="background-color:d8d8d8;>
<img class="normal" src="main.png" width="700" height="80" />
<script language='javascript' src='project/project.nocache.js'></script>
<iframe src="javascript:''" id="__gwt_historyFrame" style="position:absolute;width:0;height:0;border:0"></iframe>
</body>
</html
>