开发者

Tomcat always gives 404

开发者 https://www.devze.com 2022-12-26 18:01 出处:网络
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 t

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

精彩评论

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