Java EE

Servlet mapping for web root

Suppose, you don’t want to put an index.jsp file in the web root and give access to that directly when people go to “http://example.com/”, rather you want to have a HomeController (or whatever) Servlet which will handle the request that comes to the web root. And here comes the problem, there’s no url-pattern for that […]