1) 在Eclipse下,新建项目firstSmartGWT,包名:com.mycompany.app
可以看到它已经给你生成了一个helloworld的例子。
2) 导入两个jar到lib目录下。
3) firstSmartGWT.html <link type="text/css" rel="stylesheet" href="FirstSmartGWT.css"> 加 <SPAN style="COLOR: #ff0000"> <script> var isomorphicDir = "firstsmartgwt/sc/"; </script></SPAN>
4) 删除html中的<h1>Web Application Starter Project</h1>内容
5) Web.Xml下删除所有<servlet>内容
6) 修改FirstSmartGWT.gwt.xml,添加<inherits name="com.smartgwt.SmartGwt"/>