How to define and in servlet 3.0’s web.xml-less?
In Servlets 3.0 you don’t need a web.xml for many cases, however, sometimes it’s required or just useful. Your case is just one of them – there is no special annotations to define welcome-file list or error-pages. Another thing is – would you really like to have them hardcoded? There are some valid use-cases for … Read more