【发布时间】:2011-08-13 23:02:40
【问题描述】:
我的项目是这样组织的:
我的主 html 页面 (shuttle_website_2.html) 中有一个 gwt 框架
war文件夹中有一个文件夹....path war/Assets/Animation/airport_shuttle_animation.html
所以我在 gwt-frame url 中输入了这个Assets/Animation/airport shuttle animation.html,它在托管模式下运行良好。
当我将它部署到 appengine 时,它会说:
Error: Not Found
The requested URL /Assets/Animation/airport%20shuttle%20animation.html was not found on this server.
html页面部署到appengine后如何在frame中显示?
这里是 appengine-web.xml 文件:
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>reservationtransport1</application>
<version>1</version>
<!-- Configure serving/caching of GWT files -->
<static-files>
<include path="**" />
<!-- The following line requires App Engine 1.3.2 SDK -->
<include path="**.nocache.*" expiration="0s" />
<include path="**.cache.*" expiration="365d" />
<exclude path="**.gwt.rpc" />
</static-files>
<!-- Configure java.util.logging -->
<system-properties>
<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
</system-properties>
</appengine-web-app>
【问题讨论】:
标签: java google-app-engine gwt