开发者

Tomcat always gives 404

I'm trying to deploy a Google-Web-Toolkit web application on my tomcat. It works in Eclipse Hosted mode,开发者_如何学运维 it works on XAMPP without the rpc calls but on tomcat it doesn't even find the HTML.

Before anything happens I always gets

localhost:8080/test.html

the requested resource (/test.html) is not available.

Even when I just put a HelloWorld.html in the webapps folder I can't display it. What am I missing?


You should put your webapp inside another folder inside the 'webapps' folder, then navigate to http://localhost:8080/foldername/test.html.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜