0

I'm new to GWT. I created sample application in eclipse. I removed <h1>Web Application Starter Project</h1> from HTML file in war but when I debug that application its shows that text on web page. I cleaned project and also compiled it but its not working. Will you guys please tell me what I'm doing wrong. Part of HTML page

<!--     <h1>Web Application Starter Project</h1> -->

    <table align="center">
      <tr>
        <td colspan="2" style="font-weight:bold;">Please give your name:</td>        
      </tr>
      <tr>
        <td id="nameFieldContainer"></td>
      </tr>
      <tr>
        <td id="sendButtonContainer"></td>
      </tr>
      <tr>
        <td colspan="2" style="color:red;" id="errorLabelContainer"></td>
      </tr>
    </table>
4

1 回答 1

1

如果您使用 Eclipse 和 Jetty,您应该停止您的应用程序。然后清理您的 GWT 项目,构建它并重新启动您的应用程序。最后刷新浏览器。每次编辑静态资源(例如 HTML 文件)时,您都必须这样做。

于 2013-10-14T08:13:21.157 回答