リソース (test.html など) にアクセスできるのは、リソースが Eclipse の WebContent の直下にある場合のみです。リソースを WEB-INF または WEB-INF/jsp に配置すると、IDE はエラー 404-requested resource is not available を示します。
http://localhost:8080/MyApp/test.html (This works when test.html is under WebContent and not any of it's subdirectory)
WebContent/WEB-INF にある場合、右クリックで実行すると、404-resource not available を示す以下の URL が表示されます
http://localhost:8080/MyApp/WEB-INF/test.html
「test.html」を WEB-INF または WEB-INF/jsp に配置してアクセスするにはどうすればよいですか?
すべての構成はデフォルトであり、web.xml で制限が指定されておらず、Tomcat 7 を Web サーバーとして使用しています。