WEB开发网
开发学院软件开发Java Google App Engine for Java: 第 1 部分:运转起来... 阅读

Google App Engine for Java: 第 1 部分:运转起来!

 2009-09-17 00:00:00 来源:WEB开发网   
核心提示: 项目创建还提供了一个 index.html 文件,包含了连接新 servlet 的链接,Google App Engine for Java: 第 1 部分:运转起来!(6),如清单 3 所示: 清单 3. 项目创建向导生成的 index.html<!DOCTYPEHTMLPUBLIC&q

项目创建还提供了一个 index.html 文件,包含了连接新 servlet 的链接,如清单 3 所示:

清单 3. 项目创建向导生成的 index.html

   
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<!-- The HTML 4.01 Transitional DOCTYPE declaration--> 
<!-- above set at the top of the file will set   --> 
<!-- the browser's rendering engine into      --> 
<!-- "Quirks Mode". Replacing this declaration   --> 
<!-- with a "Standards Mode" doctype is supported, --> 
<!-- but may lead to some differences in layout.  --> 
 
<html> 
 <head> 
  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
   
  <!--                      --> 
  <!-- Any title is fine             --> 
  <!--                      --> 
  <title>Hello App Engine</title> 
 </head> 
 
 <!--                      --> 
 <!-- The body can have arbitrary html, or   --> 
 <!-- you can leave the body empty if you want --> 
 <!-- to create a completely dynamic UI.    --> 
 <!--                      --> 
 <body> 
  <h1>Hello App Engine!</h1> 
   
  <table> 
   <tr> 
    <td colspan="2" style="font-weight:bold;">Available Servlets:</td>     
   </tr> 
   <tr> 
    <td><a href="simpleservletapp"/>SimpleServletAppServlet</td> 
   </tr> 
  </table> 
 </body> 
</html> 

上一页  1 2 3 4 5 6 7 8 9 10  下一页

Tags:Google App Engine

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接