Search code examples
tomcatwelcome-file

Tomcat returns some unknown welcome page


I am deploying a web app. I have no welcome files defined in web.xml (in both conf/web.xml and application web.xml). I do not have an index.html/index.htm/index.jsp in root of application. Still when I access http://localhost:8080 it shows some page.

I have enabled access logs, but I do not see any request for / in access logs.

Any idea what might have been happening? From where it would be getting the welcome page? Is there a way I can log the path of file being send as response?


Solution

  • Found the root cause, it was due to browser. I am getting expected page after clearing browser cookies/cache. I was using FireFox. The browser was showing some old cached page.