我在这里继例如:无法设置JSP作为GAE留言例如欢迎文件
https://developers.google.com/appengine/docs/java/gettingstarted/usingjsps
,所以我创建了一个非常基本的JSP文件:
<html>
<body>
testing
</body>
</html>
和我试图让这个欢迎页面,就像在教程说:
<welcome-file-list>
<welcome-file>guestbook.jsp</welcome-file>
</welcome-file-list>
但不会被调用。当我去http://localhost:8888
它就好像它缺少一个文件(我改名为index.html。当有index.html - 它显示它)。
当我访问http://localhost:8888/guestbook.jsp
我可以看到JSP文件没有问题
UPDATE:发生这种情况只是我的开发服务器上。当我部署到谷歌应用程序引擎,它按预期工作:
http://test-ishener.appspot.com/
您在本地系统中使用了哪个Web服务器?谷歌应用程序引擎启动器或任何其他服务器? – 2012-08-03 17:09:54
我认为这是Google应用程序引擎启动器。我没有安装任何其他的东西 – 2012-08-07 10:06:08