我的意圖是將靜態html文件上傳到Google應用引擎。 沒有servlet,沒有JSP。僅向Google App Engine上傳靜態文件
我有以下目錄結構
C:\Users\yccheok\Desktop\sandbox\index.html
C:\Users\yccheok\Desktop\sandbox\WEB-INF\appengine-web.xml
C:\Users\yccheok\Desktop\sandbox\WEB-INF\web.xml
的AppEngine-web.xml中的內容
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>xiang-qi</application>
<version>1</version>
</appengine-web-app>
web.xml文件的內容是
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5">
</web-app>
我用以下命令:
C:\Users\yccheok\Desktop\sandbox>c:\appengine-java-sdk-1.2.2\bin\appcfg.cmd upda
te .
,但它只是掛在那裏:
Reading application configuration data...
2009-09-30 13:43:51.061::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
Beginning server interaction for xiang-qi...
0% Creating staging directory
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Initiating update.
Email: [email protected]
Password for [email protected]:
Email: [email protected]
Password for [email protected]:
這似乎是我的網絡緩慢問題。我嘗試使用更好的網絡速度。它的作品。 – 2009-10-02 08:25:33