Servlet welcome-file-list
welcome-file-list: The welcome-file-list attribute of the web.xml file is used to define the list of welcome files. Sample code of welcome-file-list attribute in web.xml: <web-app> //other attributes <welcome-file-list> <welcome-file>home.html</welcome-file> <welcome-file>welcome.html</welcome-file> </welcome-file-list> //other attributes </web-app> How it works: The first web server looks for the welcome-file-list if it exists then it looks for the file … Read more