Should the welcome file mentioned in welcome file list tag always be physically present? i.e. jsp, html etc. Or can it be a URL pattern?
I defined a welcome file list in the web.xml as:
<welcome-file-list>
<welcome-file>/home</welcome-file>
</welcome-file-list>
/home
downloads a JSON file from the server to display on the browser. But whenever I start the application, it does not take me to the following page: http://localhost:8080/myapp/home
. Instead it always goes to http://localhost:8080/myapp/
only. Please advise what am I doing wrong.