문제

I'm not sure why, but accessing my webapp at http://localhost:8080/MyApp is giving me a redirect loop.

I have no servlets or servlet mappings, and my welcome page is at Tomcat/webapps/MyApp/index.html, which is a simple "hello world" html page.

Any ideas? Why would Tomcat be redirecting? Maybe something is configured wrong in eclipse?

도움이 되었습니까?

해결책

Assuming that you have indeed no servlets or filters mapped on /* or /, then this can only happen if the first match as defined in a <welcome-file> of webapp's web.xml is basically referring to /.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top